- targets:
   site01.localhost
   labels:
     group: slack01

That's invalid.  "targets" is a list, so you need to mark the list items:

- targets:
    - site01.localhost
  labels:
    group: slack01

Also "labels" and "targets" must line up exactly.  In your post you had two 
characters before "targets" (dash and space) but you had three spaces 
before "labels".

-- 
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/94509249-9412-48b4-9cd0-19d8c6a14b97n%40googlegroups.com.

Reply via email to