labels property

Input<Map<String, String>>? labels
final

Optional. Labels to add to or overwrite in the PromQL query result. Label names must be valid (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). Label values can be templatized by using variables (https://cloud.google.com/monitoring/alerts/doc-variables). The only available variable names are the names of the labels in the PromQL result, including "name" and "value". "labels" may be empty.

Implementation

final pulumi.Input<Map<String, String>>? labels;