[Azure] [compute_vm_scaleset] List exposed metrics; add dimension and metric_type metadata#7177
Conversation
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
…amespace; add virtual_machine dimension; add changelog record Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
🌐 Coverage report
|
| type: float | ||
| metric_type: gauge | ||
| description: Bytes/Sec read from a single disk during monitoring period for OS disk | ||
| - name: memory_commit_limit.avg |
zmoog
left a comment
There was a problem hiding this comment.
The changes look good.
Did you get a chance to collect the missing metric in your tests? I'm not an expert here, but I'm available if you wan to try to get it before merging.
no, I wasn't able to get this one metric Also I wasn't able to find the full list of metrics, that are supposed to be available in the azure documentation, maybe you know about such documentation? |
| - name: dimensions | ||
| type: group | ||
| fields: | ||
| - name: "vmname" |
There was a problem hiding this comment.
Referring to https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-compute-virtualmachinescalesets-metrics, which field holds LUN value?
There was a problem hiding this comment.
there is no such field exposed, list of dimensions is defined in configuration - https://github.com/elastic/integrations/blob/main/packages/azure_metrics/data_stream/compute_vm_scaleset/agent/stream/stream.yml.hbs#L71-L73
from my understanding - in this case metric should be grouped by vmname only, if only this dimension is defined
There was a problem hiding this comment.
I've added lun azure dimension in this PR - #7314
coult you please have another look on this PR?
I can't find this metric either. I suppose you already checked at https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/metrics-index; I remember this page in your browser's tabs. |
yes, I've seen it, but it does not contain the guest VM metrics there |
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
|
Package azure_metrics - 1.0.23 containing this change is available at https://epr.elastic.co/search?package=azure_metrics |

What does this PR do?
vmname) - https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-compute-virtualmachinescalesets-metricscloud.regionazure.resource.id- this field includesazure.subscription_id,azure.resource.group,azure.resource.name, format:azure.dimensions.vmnameazure.dimensions.virtual_machineazure.timegrainChecklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots