Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dimensions support for metrics #85

Open
sujithms opened this issue Jul 3, 2020 · 2 comments
Open

Dimensions support for metrics #85

sujithms opened this issue Jul 3, 2020 · 2 comments

Comments

@sujithms
Copy link

sujithms commented Jul 3, 2020

Hi,

I am unable to add a dimension for Event hub namespace, say a particular event hub entity for the namespace. Is there a way to achieve this?

@gregoryfischer
Copy link

gregoryfischer commented Jan 14, 2021

In both Datadog and in the Grafana Azure Datasource, ascertaining DocumentDB(CosmosDB) throttled requests, is done by checking 429 responses using the StatusCode dimension that should be returned by the TotalRequests metric of the Microsoft.DocumentDB/databaseAccounts metric namespace.

Again, this is returned by the Grafana datasource, but no metric dimensions are being returned with the azure_metrics_exporter.

Is this yet to be implemented or is this in the current documentation and I have not understood?

    targets:
      - resource: "/resourceGroups/MyResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/MyDatabase"
        metric_namespace: "Microsoft.DocumentDB/databaseAccounts"
        metrics:
        - name: AvailableStorage
        - name: DataUsage
        - name: DocumentCount
        - name: IndexUsage
        - name: MetadataRequests
        - name: ProvisionedThroughput
        - name: ReplicationLatency
        - name: TotalRequests

@jdstone
Copy link

jdstone commented Dec 17, 2022

Since it's been over a year without a response from the dev team on PR #93, I thought I'd post this here, which you can use as an alternative.

It's too bad, because I kind of liked the way this exporter from RobustPerception does things.

However, this exporter includes the aforementioned dimension support, and more.
https://github.com/webdevops/azure-metrics-exporter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants