Hello all

In Promethues alert rules file,  I am trying to understand what variables
are available to use:
In the screenshot below, I see *$value *, *$labels*, *$labels.instance*
How do I know what variables are available to access within labels? Are
these the keys(instance, job etc.) associated with a metric?


annotations:
      summary: "Host out of disk space (instance {{ $labels.instance }})"
      description: "Disk is almost full (< 10% left)\n  VALUE = {{
$value }}\n  LABELS: {{ $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/CAOnWYZWus9x9G-4M6Ujpc433%3DhHxUTPNdD9DeKY01SZvQgRRgA%40mail.gmail.com.

Reply via email to