-
Notifications
You must be signed in to change notification settings - Fork 17
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
Provide earliest and latest expiry date for graph apps #14
Comments
Hello @mblaschke, Thanks for all the awesome exporters. I'm an avid user of the Log Analytics exporter that you guys created. I'm testing the Resource manager exporter now. It is working but I am having some trouble understanding what kind of data I am actually exporting. My goal: to be able to extract the expiry date of service principals in Azure Active Directory. I am targeting Graph data by disabling all other scraping and running it with --scrape.time.graph to remove all the unnecessary data. I get the values outputted to localhost:8080 on the /metrics endpoint, but in the following format (redacted credentials from output):
Is there any way to extract the actual date for the expiry with this exporter or am I expecting too much? |
what about using the startDate/endDate is provided as unix timestamp, you can convert it easily in Grafana to datetime but when i remember correcly Grafana uses milliseconds where Prometheus is normally using seconds you have to convert ( if you want a relative time (eg "expiring in") you have use |
Perfect - that works. Thanks @mblaschke ! |
Would make queries easier to check when an app secret/cert is expiring
The text was updated successfully, but these errors were encountered: