GithubHelp home page GithubHelp logo

Comments (3)

mblaschke avatar mblaschke commented on June 8, 2024

The MSI is lacking the permission to connect to Azure AD graph API.

If you don't need/want metrics from the application (secret expiry time) you can disable it via SCRAPE_TIME_GRAPH=0 as env var.
Have you also set AZURE_TENANT_ID.. hm, the check is also missing here, have to add that.

from azure-resourcemanager-exporter.

gek0 avatar gek0 commented on June 8, 2024

Noted.
Looks like adding AZURE_TENANT_ID resolves the issue - would be nice to have it mentioned in the docs (Configuration table) since the error is a bit ambiguous and to avoid it altogether
Added SCRAPE_TIME_GRAPH=0 and that part helped as well
"Shutting down" som other unused features due to my limitations on subscription level but looks like I'm getting there

from azure-resourcemanager-exporter.

gek0 avatar gek0 commented on June 8, 2024

README.md should definitely get a read-proof and one more check since it's not consistent and provides a bit of a headache when finding the real env args 🙂

ResourceGroupTags []string `long:"azure-resourcegroup-tag" env:"AZURE_RESOURCEGROUP_TAG" env-delim:" " description:"Azure ResourceGroup tags" default:"owner"`

so the real arg is AZURE_RESOURCEGROUP_TAG while README mentions AZURE_RESOURCE_GROUP_TAG

from azure-resourcemanager-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.