prometheus/prometheus
Better support for relabeling when using multiple api servers
开放
#12,456 创建于 2023年6月15日
component/service discoverycomponent/service discovery/kuberneteshelp wantedkind/featurepriority/P3
仓库指标
- 星标
- (64,042 个星标)
- PR 合并指标
- (平均合并 11天 5小时) (30 天内合并 118 个 PR)
描述
Proposal
Scrape configs allow specifying multiple kubernetes_sd_configs, which allows service discovery across multiple api server's. However all information regarding which cluster is being accessed is lost in the relabel_configs.
Adding a new __meta_label_kubernetes_sd_config_name, to relabel configs, and an optional name value to the kubernetes_sd_config itself would allow for more powerful scraping and relabeling when accessing multiple clusters