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
Currently the ServiceMonitor is not scoped to the discovery service, since in the default configuration the public service and the discovery service both have exactly the same labels.
This creates the problem that prometheus scrapes the exact same pods twice.
Proposed Solution:
I suggest adding a label differentiating the public and the discovery service and fixing the ServiceMonitor to also match this additional label.
The text was updated successfully, but these errors were encountered:
jmueller42
changed the title
ServiceMonitor producingdouble scrapes
ServiceMonitor producing double scrapes
Nov 22, 2021
Hi,
thank you for supplying a helm template.
Problem:
Currently the ServiceMonitor is not scoped to the discovery service, since in the default configuration the public service and the discovery service both have exactly the same labels.
This creates the problem that prometheus scrapes the exact same pods twice.
Proposed Solution:
I suggest adding a label differentiating the public and the discovery service and fixing the ServiceMonitor to also match this additional label.
The text was updated successfully, but these errors were encountered: