...
Folder | The Folder of the Desktop Browser that will contain the Prometheus filter. |
Name | Name of the saved the Prometheus filter. |
Enabled | Whether this Prometheus Filter is enabled or not. |
Metric Name Filter | A filter that is applied to the metric name. |
Label Filter(s) | A filter that applies to a label that exists on the metric(s) that passes the corresponding metric name filter. |
Label name, Label value filter | Optional, the label name and the value of the label. Both must be set. Example: Label name = "workflow" and Label value filter = "Default.myWorkflow.*" |
To Add a Metric Filter
The basic menu to add a metric filter, the pictures to the right, shows examples of filled in values and how it will be presented in the Desktop's Browser.
To add a metric filter, do the following steps:
- Click the Add New Filter button.
- In the dialog that is displayed, enter name and the folder to store the configuration in file system. See the example above where, Folder
Prometheus_Test
and Nameprometheus_1
are used.
- In the dialog that is displayed, enter a Metric Name Filter in the form of a regular expression.
Optionally, specify one or many label filter(s) by ckicking on Add label filter. Enter the Label along with a corresponding Label Value Filter, entered in the form of a regular expression.
Example of a Label Filter.- Optionally, you can add more label filters and metric filters until you have defined what you need.
- Click Save when done.
...