Skip to content
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

duration (s) #12

Closed
cukal opened this issue May 3, 2019 · 2 comments
Closed

duration (s) #12

cukal opened this issue May 3, 2019 · 2 comments

Comments

@cukal
Copy link

cukal commented May 3, 2019

I'm on 0.3.0-SNAPSHOT & using a query metric that returns a value that can be used with time-duration(s) and a numerical threshold:

probe_ssl_earliest_cert_expiry{instance="<hostname>",job="<jobname>"}-time()

image

To use the numerical threshold the unit needs to be time/duration(s) but it's impossible to select it in the dropdown, it can however be changed in the json:

"unit": "dtdurations",

After that it works like a regular panel: changing color to red as the expiration date comes closer.

Thx!

@algenty
Copy link
Owner

algenty commented May 4, 2019

I'll try to reproduce it and i come back.

@algenty
Copy link
Owner

algenty commented May 6, 2019

Fixed
Download last snapshot and test it.
https://algenty.github.io/flowcharting-repository/ARCHIVES.html

@algenty algenty closed this as completed May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants