Comments (3)
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.
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.
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)
- implement static background fetching HOT 1
- Feature Request: Passing header with requests to azure. HOT 4
- How to define timespan 'Set in query' HOT 3
- Switch to new azure-sdk-for-go HOT 2
- Values not showing up at /metrics endpoint HOT 11
- Print error message when metrics doesn't have values
- Using Azure service discovery in K8s containers HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-loganalytics-exporter.