You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
imc dispatcher shows duplicate metrics for inmemorychannel_dispatcher_event_count , once with event_scheme="http" and once with event_scheme="" . IIUC, the event_scheme should always be either "http" or "https", so the empty values are always incorrect.
This causes prometheus queries like sum(rate(inmemorychannel_dispatcher_event_count{namespace_name="foobar"}[1m])) to show double of the actual expected event counts.
Expected behavior
There should not be metrics with event_scheme="", if they have already been reported as event_scheme="http"
Describe the bug
imc dispatcher shows duplicate metrics for inmemorychannel_dispatcher_event_count , once with
event_scheme="http"
and once withevent_scheme=""
. IIUC, the event_scheme should always be either "http" or "https", so the empty values are always incorrect.This causes prometheus queries like
sum(rate(inmemorychannel_dispatcher_event_count{namespace_name="foobar"}[1m]))
to show double of the actual expected event counts.Expected behavior
There should not be metrics with event_scheme="", if they have already been reported as
event_scheme="http"
To Reproduce
deploy a heartbeats example container with a known event rate to an InMemoryChannel (see
https://gist.github.com/maschmid/5ddc22d7703f05e7d656dda7309132af for an example) , watch the imc dispatcher metrics.
Knative release version
1.12
Additional context
Deployed on OpenShift via Serverless Operator CI builds of 1.33 version from https://github.com/openshift-knative/serverless-operator current
main
branchThe text was updated successfully, but these errors were encountered: