Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCleanup flags prior to 2.0 release #2634
Comments
brian-brazil
added this to the v2.x milestone
Apr 18, 2017
This comment has been minimized.
This comment has been minimized.
|
This seems mostly done. We have just a handful of flags left.
overwriting the /metrics path seems pointless. We don't allow randomly rewriting anything else, so what's the reason to do it here? The route prefix allows for all practical cases I assume. |
This comment has been minimized.
This comment has been minimized.
Many of our exporters permit it, for reasons that aren't really clear to me.
Pretty sure this isn't used in 2.0. |
This comment has been minimized.
This comment has been minimized.
|
So should we ditch /metrics flag for 2.0? Staleness delta is still used in plenty of cases as our window for how far we look back for instant queries mostly. Even with staleness solved, this needs to be specified somehow. But is the name still apropriate. |
This comment has been minimized.
This comment has been minimized.
I'd be in favour, however we'd need to get consensus on removing it from all the other components too.
We don't use the flag value in 2.0, we use the constant |
This comment has been minimized.
This comment has been minimized.
|
We do have a constant value of 5mins, but it can be updated via the flag
here
<https://github.com/prometheus/prometheus/blob/dev-2.0/cmd/prometheus/config.go#L159-L163>
Should we keep it configurable?
…On Thu, Jun 15, 2017 at 2:42 PM Brian Brazil ***@***.***> wrote:
So should we ditch /metrics flag for 2.0?
I'd be in favour, however we'd need to get consensus on removing it from
all the other components too.
Staleness delta is still used in plenty of cases as our window for how far
we look back for instant queries mostly.
We don't use the flag value in 2.0, we use the constant StalenessDelta.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2634 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHA3HzWHDNkpe4CRmJxi3zjWwTKUqYMhks5sEPWWgaJpZM4NAIIL>
.
|
This comment has been minimized.
This comment has been minimized.
@SuperQ @grobie @discordianfish you are dealing a lot with exporters doing this. Opinions? |
This comment has been minimized.
This comment has been minimized.
|
Yes, we should remove |
This comment has been minimized.
This comment has been minimized.
|
I've never changed the metrics path of an exporter. To be honest it's
mostly cargo cult that I included the flag in all exporters I wrote. I
wonder if we should reach out to prometheus-users and check whether anyone
has a good argument to keep them.
…On Thu, Jun 15, 2017 at 11:43 AM Ben Kochie ***@***.***> wrote:
Yes, we should remove /metrics flag from our components. I don't see a
need to provide an override for this in our own code. The only use case is
for reverse proxies, but these can be adjusted by users.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2634 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAANaGOhWeHf7cQvJgwKK3HG9KYyA3feks5sEPzbgaJpZM4NAIIL>
.
|
This comment has been minimized.
This comment has been minimized.
|
From the requests I've seen it seems to be users trying to be consistent with some of their applications that use a (single) non-standard path. |
This comment has been minimized.
This comment has been minimized.
|
This is done. |
fabxc
closed this
Jun 27, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
brian-brazil commentedApr 18, 2017
There's various old/deprecated flags we should get rid of (e.g. old alertmanagers flag). This issue is to remind us to do it.