kubernetes-sigs / prometheus-adapter

An implementation of the custom.metrics.k8s.io API using Prometheus
Apache License 2.0
1.9k stars 551 forks source link

Documentation on how to directly query the adapter #634

Open data-dude opened 7 months ago

data-dude commented 7 months ago

It'd be great if there was documentation on how to directly query the adapter. If the horizontal pod autoscaler can't call the external endpoint and the external endpoint can't call the adapter it can be tricky to debug. It'd be nice to have docs describing how to directly query the prometheus adapter for testing.

Specifically how to query external metrics directly from the adapter

dashpole commented 7 months ago

/kind documentation /remove-kind bug

dashpole commented 7 months ago

/assign @rexagod /triage accepted