Open 5imun opened 1 year ago
have forbidden characters like slashes
Similar to metric names, needs to replace slashes with |
to make it work. This is not implemented yet. Contributions to this repo are welcomed.
are longer than 63 characters
Haven't found an existing solution yet. I think one possibility is to use GMP front-end + prometheus adapter.
Some metrics labels (like
resource.labels.instance_id
in my case) are longer than 63 characters and have forbidden characters like slashes which makes filtering by those labels impossible and thus wholev1beta1.external.metrics.k8s.io
service unusable for big number of external metrics.If I run this with simpler labels like
resource.labels.region
I will get external metrics for all redis instances in the region as expected:Problem is if I want to select metric for specific redis instance using
resource.labels.instance_id
label that is not in allowed format then I get error:This makes horizontal pod autoscaling based on external metric impossible if you want to scale pods based on metrics from specific redis instance in the google cloud project.