Commit d83d5e0
authored
fix(spectre): remove duplicate metrics service causing double scrape (#275)
* fix(spectre): remove duplicate metrics service causing double scrape
The chart created two Services (spectre and spectre-metrics) both
exposing port 9090 with the same selector labels. The ServiceMonitor
matched both, producing two identical scrape jobs (spectre and
spectre-metrics) with ~38.7K duplicate series.
- Remove service-metrics.yaml (duplicate metrics-only service)
- Add metrics port (9090) to default service.ports in values.yaml
- Add metricRelabelings support to ServiceMonitor template
- Bump chart version 0.3.4 → 0.3.5
* fix(spectre): skip metrics port in test-connection
Metrics port 9090 is not available in CI kind cluster since spectre
requires valid config/keys to start its metrics server. Only test
the listen port for connectivity.1 parent ec9888c commit d83d5e0
File tree
5 files changed
+12
-20
lines changed- charts/spectre
- templates
- tests
5 files changed
+12
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| 190 | + | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
0 commit comments