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

Allow different subscriptions per metric #934

Closed
stigok opened this issue Mar 31, 2020 · 4 comments
Closed

Allow different subscriptions per metric #934

stigok opened this issue Mar 31, 2020 · 4 comments
Labels

Comments

@stigok
Copy link

stigok commented Mar 31, 2020

Allow different subscriptions per metric. I don't know if subscriptionId is the way to go, or if it would work with subscriptionName?

- name: azure_postgre_sql_memory_percent
  description: Server memory usage percentage
  resourceType: PostgreSql
  azureMetricConfiguration:
    metricName: memory_percent
    aggregation:
      type: Average
      interval: 00:05:00
  resources:
  - serverName: foobar
    resourceGroupName: barfoo
    subscriptionId: <sub id>
@stigok
Copy link
Author

stigok commented Mar 31, 2020

The documentation already hints to this being possible, with the statment

azureMetadata.subscriptionId - The id of the default subscription to query.

@tomkerkhove
Copy link
Owner

This is coming and being tracked via #761

@tomkerkhove
Copy link
Owner

Ok for you if I close it in favor of #761?

@stigok
Copy link
Author

stigok commented Mar 31, 2020

Absolutely!

@stigok stigok closed this as completed Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants