admin管理员组

文章数量:1123157

hello… I’m trying to setup prometheus.exporter.azure and whilst it all looks happy and healthy I’m not getting anything coming through to my mimir instance.

I’ve added a relabel to be able to debug what is coming out of the block and all I see is this:

{__name__="up", instance="xxx", job="integrations/azure"} => {__name__="up", instance="xxx", job="integrations/azure"}
{__name__="scrape_duration_seconds", instance="xxx", job="integrations/azure"} => {}
{__name__="scrape_samples_scraped", instance="xxx", job="integrations/azure"} => {}
{__name__="scrape_samples_post_metric_relabeling", instance="xxx", job="integrations/azure"} => {}
{__name__="scrape_series_added", instance="xxx", job="integrations/azure"} => {}

This is my config:

    prometheus.exporter.azure "saas" {

      subscriptions    = [
        "xxx",
      ]
      resource_type    = "Microsoft.Storage/storageAccounts"
      regions          = [
        "northeurope",
        "westeurope",
        "eastus2",
        "centralus",
      ]
      metrics          = [
        "Transactions",
      ]
      timespan         = "PT1M"
    }

    prometheus.relabel "saas" {
      forward_to = [prometheus.remote_write.mimir.receiver]
    }

    prometheus.scrape "saas" {
      targets    = prometheus.exporter.azure.saas.targets
      forward_to = [prometheus.relabel.saas.receiver]
    }

I’m wondering if its an authentication problem, all the docs have is here: .exporter.azure/#authentication and just says its needed, but there aren’t any examples on how to provide the details - what am I missing? Is there an example anywhere?

The only way I can provoke any sort of output is if I ask for a metric doesn’t exist, I don’t know if that happens if authenticated or not.

本文标签: grafanaAlloy prometheusexporterazure finds nothingStack Overflow