Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource consumer is not exposing /metrics but /Metrics #72403

Closed
aespejel opened this issue Dec 28, 2018 · 1 comment · Fixed by #72407
Closed

Resource consumer is not exposing /metrics but /Metrics #72403

aespejel opened this issue Dec 28, 2018 · 1 comment · Fixed by #72407
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/testing Categorizes an issue or PR as relevant to SIG Testing.

Comments

@aespejel
Copy link
Contributor

aespejel commented Dec 28, 2018

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:

curl --data "metric=awesome.fake.metric&delta=9001&durationSec=600" http://\<EXTERNAL-IP\>:8080/BumpMetric
curl http://\<EXTERNAL-IP\>:8080/metrics

Anything else we need to know?:
Looks like 967a7c9 introduced this by mistake.
Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

/kind bug

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Dec 28, 2018
@Shnatsel
Copy link

/sig testing

@k8s-ci-robot k8s-ci-robot added sig/testing Categorizes an issue or PR as relevant to SIG Testing. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/testing Categorizes an issue or PR as relevant to SIG Testing.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants