k8s-prom-hpa icon indicating copy to clipboard operation
k8s-prom-hpa copied to clipboard

Where dose the podinfo app expose a custom metric named http_requests_total?

Open hechuan73 opened this issue 6 years ago • 4 comments

@stefanprodan Hi, In the README.md, you say "The podinfo app exposes a custom metric named http_requests_total. The Prometheus adapter removes the _total suffix and marks the metric as a counter metric."

While I can't find where it is. So could you please help me to point them out:

  1. Where dose the "podinfo" app expose the custom metrics named "http_request_total"?
  2. Where dose the Prometheus adapter remove the _total suffix and mark the metric as a counter metric?

Thanks!

hechuan73 avatar Aug 28 '18 07:08 hechuan73

@stefanprodan I can see cpu, fs_usage_bytes and various other metrics for my app but not able to see http_requests. How can I get the http_requests_total for my podapp?

arjunprasad2143 avatar Sep 18 '18 13:09 arjunprasad2143

@stefanprodan ditto as above

humayunjamal avatar Jan 07 '19 14:01 humayunjamal

if we need change the custom adapter config to add the http_requests metric or need configure the prometheus job?

jeffcai avatar Mar 26 '19 03:03 jeffcai

http://pod_ip:9898/metrics

Erically avatar Jul 02 '19 08:07 Erically