Hey guys,

Currently I have Prometheus deployed on kube with auto discovery enabled 
and working as expected, but I'm wondering if it's at all possible for 
Prometheus to scrap metadata/labels from Kube objects? For example

apiVersion: apps/v1
kind: Deployment
metadata:
  name: alertmanager
  namespace: monitoring
spec:
  replicas: 1
  selector:
    matchLabels:
      app: alertmanager
  template:
    metadata:
      name: alertmanager
      labels:
        app: alertmanager
        customer: test_customer


Is Prometheus able to scrap the customer label and 'tag' the metrics 
collected from this Deployment with it?

Thanks,
Ryan

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/7da8c934-cb0b-4591-b6f3-92e26daed76e%40googlegroups.com.

Reply via email to