Coder Social home page Coder Social logo

Comments (3)

mblaschke avatar mblaschke commented on June 1, 2024

These metrics are only published once and cleaned up after /metrics url was access.

reason for this is that these metrics are only valid for a short period of time. 5 minutes later the values would be not valid anymore (eg ratelimit).

azure-loganalytics-exporter doesn't access the Azure RM API that often as it's cached so you might not see these metrics that often.

If you disable autoreset the metrics should stay and are not cleaned up but be aware that this can be misleading.

from azure-loganalytics-exporter.

manvitha9347 avatar manvitha9347 commented on June 1, 2024

Hi @mblaschke
Thankyou for the reply
So the first step I tried was with disabling autoreset.As hitting /metrics endpoint often did not give any data for rate limit,i just tried setting autoreset enabled.
But either way,hitting it frequently did not give the data

from azure-loganalytics-exporter.

mblaschke avatar mblaschke commented on June 1, 2024

There is only a ratelimit detection for Azure ResoruceManager API, not one for Azure Monitor/Insights API.
You will only see ratelimits if exporter is using ServiceDiscovery to find workspaces in eg subscriptions every 30 minutes (see AZURE_SERVICEDISCOVERY_CACHE).

If you pass workspaces directly it will not use any ServiceDiscovery and so no API calls are trigged (and so no ratelimits are detected)

If Azure publishes the workspace ratelimits via HTTP header i will add them.

from azure-loganalytics-exporter.

Related Issues (8)

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.