k8spin / k8spin/prometheus-multi-tenant-proxy

Extend configuration for exported labels or metrics without labels

Open
#117 5 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Go
Stars
77
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hello,

would it be possible to implement extended configuration so that some of metrics are not subject of label injections? Such as `kube_node_labels` do not use namespaces. So such metrics could be whitelisted in configuration.

Or there are some metrics that use `exported_namespace` instead of `namespace`. Could be such metrics listed so that label injector injects the `exported_namespace` instead of the `namespace`? Thanks.

Contributor guide

Open the contributing guide

Research direction

Start by locating the label injector and existing configuration for namespace labels, then inspect handling of kube_node_labels and metrics using exported_namespace. Done means configuration can whitelist metrics without namespace injection and select exported_namespace where required, with tests covering both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes, prometheus
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.