Firstly, the top level of the targets file must be a list, which means 
"bullet points" required at the top:

- targets: ...
  labels: ...

- targets: ...
  labels: ...

Secondly, the labels themselves can only be strings, not lists.

- targets:
    - "localhost:9100/metrics"

  labels:
    - ensemble: "127.0.0.1:2181"
    - service_code: "test"
    - node: "127.0.0.1:11211"

You can't have two values for the label "node".

-- 
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/fe47943c-0733-4f92-a7b4-48c947a467bc%40googlegroups.com.

Reply via email to