-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
api: drop legacy API #1761
api: drop legacy API #1761
Conversation
Isn't the Prometheus CLI using the legacy format? See also #1601 , the previous attempt to do this. |
Okay, can we merge this into master regardless? |
My impression was we do not want to break the Prometheus CLI before we have a replacement in promtool and ported the Nagios plugin to promtool. |
It's in master and will be completed before the next release. Master is our development branch, breaking there is totally okay. |
It's having many things in the air. Who knows how far, I made comments and am waiting for a response. Might be better to migrate prometheus_cli to APIv1 and keep it around for a bit. |
I'll look into that today. |
Fniday is already over (in my timezone), but I'll try my best on Saturday... |
prometheus/nagios_plugins#8 is my attempt. I'll run it by @matthiasr to see if the escaping is right. (Worked for a number of cases I tried, but with shell, you never know for sure...) |
In any case, we know now the nagios plugin is totally doable with curl and jq, so I believe this can be merged now (assuming you got confirmation from @stuartnelson3 by now). |
PromDash no longer uses the legacy API. 👍 to this PR. |
Fixes #1593
Waiting for confirmation from @stuartnelson3 there.