put
https://{app-url}{}/api/v2/metrics/tags/add-metrics-to-tags
Add Metrics to Existing Tags
This method works similarly to Assign Metrics to Tags. However, instead of replacing the metrics currently assigned to the specified tags, it adds the new metrics to the existing tag assignments.
If a specified tag does not exist, a new tag is created and the matching metrics are assigned to it.
Note: Tagging changes may take up to 20 minutes to be applied to the relevant metrics.
| Argument | Description |
|---|---|
| tag key | Tag key name. |
| tag value | Tag value. |
| expressions | Array of search expressions defining the metrics to which the tag will be assigned. Each expression can contain multiple metric queries. |
| type | Type of search expression. Supported values: search or property. |
| key | Metric property key. |
| value | Metric property value. |
