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

Provide capability to deserialize different types of metrics declarations #129

Closed
tomkerkhove opened this issue Aug 5, 2018 · 2 comments
Assignees
Labels
configuration All issues related to configuration scraper-source All issues related to new scraper sources from Azure Monitor
Milestone

Comments

@tomkerkhove
Copy link
Owner

Provide capability to deserialize different types of metrics declarations.

Currently blocks from adding more scraper sources.

Related aaubry/YamlDotNet#341, alternative will be to use YamlStream.

Example

azureMetadata:
  tenantId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  subscriptionId: yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
  resourceGroupName: promitor
metrics: 
  - name: demo_queue_size
    description: "Amount of active messages of the 'myqueue' queue"
    resourceType: ServiceBusQueue
    namespace: promitor-messaging
    queueName: orders
    azureMetricConfiguration:
      metricName: ActiveMessages
      aggregation: Total 
  - name: demo_generic_metric
    description: "Generic metric information"
    resourceType: Generic
    resourceId: "providers/Microsoft.ServiceBus/namespaces/promitor-messaging"
    oDataFilter: EntityName eq 'orders'
    azureMetricConfiguration:
      metricName: ActiveMessages
      aggregation: Total
@tomkerkhove tomkerkhove added configuration All issues related to configuration scraper-source All issues related to new scraper sources from Azure Monitor labels Aug 5, 2018
@tomkerkhove tomkerkhove added this to the v0.2 milestone Aug 5, 2018
@tomkerkhove tomkerkhove self-assigned this Aug 10, 2018
@tomkerkhove
Copy link
Owner Author

Currently POCed here - https://github.com/tomkerkhove/yaml-generics and waiting on aaubry/YamlDotNet#341 for clarification

@tomkerkhove
Copy link
Owner Author

Closed in #149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration All issues related to configuration scraper-source All issues related to new scraper sources from Azure Monitor
Projects
None yet
Development

No branches or pull requests

1 participant