cockroachdb / cockroachdb/helm-charts

ServiceMonitor producing double scrapes

Open
#207 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
105
Forks
152
Avg merge
4d 23h
Merged PRs (30d)
5

Description

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.

Jira issue: HELM-30

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.