Resource consumer is not exposing /metrics but /Metrics #72403
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/testing
Categorizes an issue or PR as relevant to SIG Testing.
What happened:
Used the endpoint /BumpMetric to create fake metrics for Prometheus. When I tried to curl /metrics I got the following response:
Bad request. Not a POST request
What you expected to happen:
I expected to see something like this:
# HELP awesome.fake.metric info message.
# TYPE awesome.fake.metric gauge
awesome.fake.metric 0.000000
How to reproduce it (as minimally and precisely as possible):
Following the docs, after having it running inside kubernetes:
Anything else we need to know?:
Looks like 967a7c9 introduced this by mistake.
Environment:
kubectl version
):uname -a
):/kind bug
The text was updated successfully, but these errors were encountered: