concourse / hush-house

Concourse k8s-based environment
https://hush-house.pivotal.io
30 stars 23 forks source link

metrics: correlate Concourse worker metrics to k8s worker node #16

Closed cirocosta closed 5 years ago

cirocosta commented 5 years ago

Hey,

Right now it's fairly easy to correlate the metrics that we get from cadvisor with a given node. This makes the process of jumping from one dashboard to the other fairly easy.

That's not true for metrics scraped by kubernetes-pods though - any node-specific information gets dropped during relabelling. As a result, we can't easily filter information by node.

Some possible actions:

Thanks!

cirocosta commented 5 years ago

Regarding labeling - fixed it here: b0377e98621dcad335405d3db4d42a1317dae143.

This way we can go more align to what the prometheus-operator does, which is, using endpoints from a Service to determine targets.

Given that "by default", kubernetes_node gets dropped, having the relabelling rules controlled by us end up allowing us to have it.