influxdata / influxdata/telegraf
Prometheus plugin: expose Kubernetes annotations as tags
- Dominant language
- Go
- Stars
- 17.8k
- Forks
- 5.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 161
Description
## Feature Request
It would be nice to have the option to also import and expose the Kubernetes annotations for discovered containers as tags.
### Proposal:
Expose annotations as tags
### Current behavior:
-
### Desired behavior:
Expose annotations as tags
### Use case:
This would enable us to tag containers with our Terraform deploys and filter the data in Elastic based on the annotations.
Contributor guide
Research direction
Start by locating the Prometheus plugin's Kubernetes container discovery and existing tag construction. Trace how discovered metadata is selected for tags, then define the option and behavior needed to expose annotations and verify that annotation-derived tags can filter the resulting data in Elastic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes, prometheus
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100