[Azure][Container_registry] Add dimension and metric_type metadata to the container_registry datastream#7155
Conversation
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
🌐 Coverage report
|
|
@tetianakravchenko I see #7162 it is the tracking issue for the Do you see this problem as a blocker for this PR? |
|
Which field will hold the names of the images, tags, other meta data information ? Shouldn't they be dimensions? |
There is no such information available in this datastream, here is the list of metrics - https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-containerregistry-registries-metrics as you see those metrics are on the registry level, not for each specific image |
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
|
/test |
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
|
Package azure_metrics - 1.0.22 containing this change is available at https://epr.elastic.co/search?package=azure_metrics |
| - name: agent_pool_cpu_time.total | ||
| type: float | ||
| metric_type: gauge | ||
| unis: s |
There was a problem hiding this comment.
Typo: "unis" should be "unit".

What does this PR do?
remove duplicated fields
instead of using wildcard in the field name - use predefined field names
used fields for dimensions:
cloud.regionazure.resource.id- this field includes azure.subscription_id, azure.resource.group, azure.resource.name, format:azure.timegrainmetrics - use predefined metrics - since in the configuration is defined list of metrics
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots