aws / aws/eks-charts

Add relabelings to aws-load-balancer-controller Helm Chart servicemonitor template

Open
#984 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Mustache
Stars
1.3k
Forks
1.1k
Avg merge
22m
Merged PRs (30d)
5

Description

**Is your feature request related to a problem?**
No

**Is your feature request related to a specific Helm chart, if yes mention name of the chart?**
aws-load-balancer-controller

**Describe the solution you'd like**
I'd like to enrich metrics with additional labels

In Helm Chart in metrics.yaml modify endpoints:

```
spec:
...
endpoints:
- port: metrics-server
path: /metrics
{{- with .Values.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
{{- if .Values.serviceMonitor.extraRelabelings }}
relabelings:
{{- toYaml .Values.serviceMonitor.extraRelabelings | nindent 6 }}
{{- end }}
```

**Describe alternatives you've considered**
No

Contributor guide

Open the contributing guide

Research direction

Start with the Helm chart's metrics.yaml ServiceMonitor template and inspect the existing serviceMonitor values. Render the chart with serviceMonitor.extraRelabelings configured, then verify the generated ServiceMonitor endpoint contains the requested relabelings.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes
Domain
devops, observability
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.