[Azure][database_account] Add missing region dimension, remove ourdated azure metrics - #7502
[Azure][database_account] Add missing region dimension, remove ourdated azure metrics#7502tetianakravchenko merged 5 commits into
Conversation
…atabase_account datastream Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
Yeah, I also tried to search for these metrics in the Metrics section of a test MongoDB instance, I could not find these metrics. However, I have found something similar by enabling the "classic" metrics: The metric name is not quite the same, and we have multiple metrics for each insert/delete/query/etc operation. These metrics use a different namespace, "Microsoft.DocumentDb/databaseAccounts/classic". Since these metrics are not available in our target namespace, I believe it's okay to remove them from the configuration. |
@zmoog thank you for the close review! I really missed this part. strange that I can't find It would be more correct to say that those metrics were replaced: note: that the possible valued for the
|
🌐 Coverage report
|
I am not surprised, sometimes the Azure Docs are hard to navigate. There's a ton of docs, but the noise / signal ration is not great.
This |
|
Package azure_metrics - 1.0.33 containing this change is available at https://epr.elastic.co/search?package=azure_metrics |
…ed azure metrics (elastic#7502) * Add missing region dimension, remove ourdated azure metrics for the database_account datastream Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co> * Update changelog.yml --------- Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>


What does this PR do?
Regiondimension"MongoRequestsCount", "MongoRequestsInsert", "MongoRequestsDelete", "MongoRequestsQuery", "MongoRequestsUpdate"metrics - there are no such metrics according to documentation - https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-documentdb-databaseaccounts-metricsFYI: used databaseaccounts metrics contain much more dimensions than I've added in this PR - https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-documentdb-databaseaccounts-metrics
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots