Skip to content

Scraping a virtual machine with promitor helm chart #2107

Answered by tomkerkhove
deggja asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

This exception typically means that the configuration is invalid and there's a bug open for this, but I thin the problem is here:

## Metric Declaration YAML
azureMetadata:
  tenantId: redacted
  subscriptionId: redacted
  resourceGroupName: redacted
  cloud: "Global"
metricDefaults:
  aggregation:
    interval: 00:05:00
  scraping:
    schedule: "*/5 * * * *"
metrics:
  # Get cpu percent metric from sql database
  - name: azure_sql_database_cpu_percent_discovery
    description: "The CPU percentage used by an Azure SQL Database."
    resourceType: SqlDatabase
    labels:
      app: promitor
      customer: customer
      resource: sql
    azureMetricConfiguration:
      metricName: cp…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@tomkerkhove
Comment options

@deggja
Comment options

@tomkerkhove
Comment options

@deggja
Comment options

@tomkerkhove
Comment options

Answer selected by tomkerkhove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants