mirror of https://github.com/linkerd/linkerd2.git
The inject code detects the object it is being injected into, and writes self-identifying information into the CONDUIT_PROMETHEUS_LABELS environment variable, so that conduit-proxy may read this information and report it to Prometheus at collection time. This change puts the self-identifying information directly into Kubernetes labels, which Prometheus already collects, removing the need for conduit-proxy to be aware of this information. The resulting label in Prometheus is recorded in the form `k8s_deployment`. Signed-off-by: Andrew Seigner <siggy@buoyant.io> |
||
|---|---|---|
| .. | ||
| testdata | ||
| api.go | ||
| api_test.go | ||
| k8s.go | ||
| k8s_test.go | ||
| labels.go | ||
| proxy.go | ||
| proxy_test.go | ||
| test_helper.go | ||
| version.go | ||
| version_test.go | ||