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