prometheus-community / helm-charts

Prometheus community Helm charts
Apache License 2.0
5.11k stars 5.02k forks source link

[kube-prometheus-stack] http_requests_total #4314

Open NeerajST opened 8 months ago

NeerajST commented 8 months ago

Describe the bug a clear and concise description of what the bug is.

image

i m trying to get the total HTTP request with status code 500 or more in a day. every where i searched they said to use this metric. but i m not getting this metric. I have attached the proof also. How do i add this metric so i can use it.

Or someone knows how to get all the https request having code 500 or above in a day. like on 28 feb these apis were having 500 error and on 29 feb theses apis were having 500.

What's your helm version?

version.BuildInfo{Version:"v3.14.2", GitCommit:"c309b6f0ff63856811846ce18f3bdc93d2b4d54b", GitTreeState:"clean", GoVersion:"go1.21.7"}

What's your kubectl version?

Client Version: v1.28.7 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.29.0-eks-c417bb3

Which chart?

prometheus-kub-stack

What's the chart version?

45.30.0

What happened?

No response

What you expected to happen?

No response

How to reproduce it?

No response

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

https_requests_total

Anything else we need to know?

No response

divyanjali1 commented 4 months ago

Hi @NeerajST I am facing the same issue , anything worked for you ?

NeerajST commented 4 months ago

hey @divyanjali1, no i didnt got any solution, so instead i used the load balancer logs to get the 500 or more.

mrBlackhat commented 2 months ago

hi i am too facing same problem, http_requests_total is missing, did you find any metric showing similar info, can it be changed with any different metric?