Alejandro Decchi
10/26/2022, 2:08 PMmax(sum(rate(signoz_calls_total{service_name = "my-service", status_code="STATUS_CODE_ERROR"}[5m]) OR rate(signoz_calls_total{service_name="my-service", http_status_code =~"5.." }[5m]))*100/sum(rate(signoz_calls_total{service_name="my-service"}[5m]))) < 1000 OR vector(0)
I do not understand why the metrics use:
• or
with different status_code
in place of and
to summarise both, in case of both status_code
means different things
• what is the difference between status_code="STATUS_CODE_ERROR"
and http_status_code =~"5..,4..,3.."
• why it says < 1000 OR vector(0)
• what the operation
filter exclude, that signoz add each path.
I hope someone can give some lightsSrikanth Chekuri
10/27/2022, 3:43 AM•One iswith differentor
in place ofstatus_code
to summarise both, in case of bothand
means different thingsstatus_code
status_code
and other is http_status_code
. I hope you are not confused by that.
• what is the difference betweenThe difference is that latter is explicitly tied to HTTP client/server libraries but there can various kinds of spans emitting from different systems (queues, jobs, gRPC servers etc..) which are not necessarily the http related.andstatus_code="STATUS_CODE_ERROR"
http_status_code =~"5..,4..,3.."
• why it saysNot totally sure. This needs some commit revision.< 1000 OR vector(0)
• what theI am not sure I understood the question. Maybe rephrase it?filter exclude, that signoz add each path.operation
Mariano Mirabelli
10/27/2022, 4:55 PMAlejandro Decchi
10/27/2022, 5:13 PMSrikanth Chekuri
10/27/2022, 5:15 PMMariano Mirabelli
10/27/2022, 7:14 PMSrikanth Chekuri
10/27/2022, 8:12 PMMariano Mirabelli
10/27/2022, 9:02 PMSrikanth Chekuri
10/28/2022, 6:11 AMMariano Mirabelli
10/28/2022, 11:38 AM