You can add labels (like
service:myservice) to dashboards and alerts, making it
easier to find dashboards and alerts using labels you care about
and discover related dashboards ones use the same labels.
To add a label:
On a dashboard, click Details to open the details panel.
Start typing to add a
Autocomplete helps you find and select labels that have already been created.
Although you can enter just a value, best practice is to use key:value pairs for easier maintenance and governance.
Click out of the field to apply the label.
Labels are displayed on the dashboard or alert and in the list view. You can search for dashboards or alerts by label using the search box
For alerts, labels appear in the payload sent to your notification destination.
You can also add labels from the list view by clicking the information icon to open the side bar.
Keep these best practices in mind when creating labels for your projects:
env:prodwhen they mean the same thing.
Updated Jun 23, 2023