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

怎么获取azure mysql的全部指标 #95

Open
zhou-cl opened this issue Oct 28, 2020 · 0 comments
Open

怎么获取azure mysql的全部指标 #95

zhou-cl opened this issue Oct 28, 2020 · 0 comments

Comments

@zhou-cl
Copy link

zhou-cl commented Oct 28, 2020

azure.yml配置了前面访问权限的部分,后面target部分不明白如何编写
targets:

  • resource: "azure_resource_id"
    metrics:
    • name: "BytesReceived"
    • name: "BytesSent"
  • resource: "azure_resource_id"
    aggregations:
    • Minimum
    • Maximum
    • Average
      metrics:
    • name: "Http2xx"
    • name: "Http5xx"
  • resource: "azure_resource_id"
    metric_namespace: "Azure.VM.Windows.GuestMetrics"
    metrics:
    • name: 'Process\Thread Count'

resource_groups:

  • resource_group: "webapps"
    resource_types:
    • "Microsoft.Compute/virtualMachines"
      resource_name_include_re:
    • "testvm.*"
      resource_name_exclude_re:
    • "testvm12"
      metrics:
    • name: "CPU Credits Consumed"

resource_tags:

  • resource_tag_name: "group"
    resource_tag_value: "tomonitor"
    resource_types:
    • "Microsoft.Compute/virtualMachines"
      metrics:
    • name: "CPU Credits Consumed"
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

1 participant