GoogleCloudPlatform / GoogleCloudPlatform/k8s-stackdriver

Stackdriver metrics are not supported by HorizontalPodAutoscaler

Open
#489 2 comments 0 reactions 0 assignees View on GitHub
custom-metrics-stackdriver-adapter
Dominant language
Go
Stars
409
Forks
236
Avg merge
2h 34m
Merged PRs (30d)
9

Description

Following best practices I created my custom SD metric named this: `"custom/custom.googleapis.com/mymetric"` https://cloud.google.com/monitoring/api/v3/naming-conventions

I tried to use it in HorizontalPodAutoscaler.autoscaling.

That generated this error: `spec.metrics[0].pods.metric.name: Invalid value: "custom/custom.googleapis.com/srfw_ready_count": may not contain '/'`

Am I doing something wrong?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.