-
Notifications
You must be signed in to change notification settings - Fork 253
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
Update to Prometheus v2.54.1 #1574
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
61de1dc
to
5549f2a
Compare
docs/sources/reference/components/discovery/discovery.linode.md
Outdated
Show resolved
Hide resolved
5549f2a
to
be17248
Compare
💻 Deploy preview available: https://deploy-preview-alloy-1574-zb444pucvq-vp.a.run.app/docs/alloy/latest/ |
933b511
to
2558a85
Compare
docs/sources/reference/components/discovery/discovery.linode.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/discovery/discovery.linode.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/discovery/discovery.linode.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/discovery/discovery.linode.md
Outdated
Show resolved
Hide resolved
docs/sources/reference/components/discovery/discovery.linode.md
Outdated
Show resolved
Hide resolved
551a3f6
to
5e9daee
Compare
5e9daee
to
2818d1e
Compare
Co-authored-by: Clayton Cornell <[email protected]>
@@ -69,6 +69,8 @@ type Arguments struct { | |||
Params url.Values `alloy:"params,attr,optional"` | |||
// Whether to scrape a classic histogram that is also exposed as a native histogram. | |||
ScrapeClassicHistograms bool `alloy:"scrape_classic_histograms,attr,optional"` | |||
// Whether to scrape native histograms. | |||
ScrapeNativeHistograms bool `alloy:"scrape_native_histograms,attr,optional"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to this Prometheus change: prometheus/prometheus#13987
We don't have to have the new scrape_native_histograms
argument in order to maintain backwards compatibility with older Alloy versions. However, the Prometheus docs mention that much of this functionality is experimental, so I thought it'd be good to be able to disable it.
By default scrape_native_histograms
is set to true
to maintain backwards compatibility.
Duration: s.metrics.requestDuration, | ||
RequestBodySize: s.metrics.rxMessageSize, | ||
ResponseBodySize: s.metrics.txMessageSize, | ||
InflightRequests: s.metrics.inflightRequests, | ||
} | ||
|
||
ri := middleware.RouteInjector{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this? Is this part of the upgrade?
@@ -242,6 +243,9 @@ func convertConfigs(cfg Arguments) (*config.Config, error) { | |||
SendExemplars: rw.SendExemplars, | |||
SendNativeHistograms: rw.SendNativeHistograms, | |||
|
|||
//TODO: Make this configurable? | |||
ProtobufMessage: config.RemoteWriteProtoMsgV1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels like we would need this when we upgrade to prom 3.0, so maybe add that to the todo?
} | ||
|
||
var err error | ||
_, err = uuid.Parse(a.OAuth.ClientID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this specific to Azure? Not sure in generic oauth this is true.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small clarifications but overall LGTM
PR Description
Upgrading to the latest Prometheus version - v0.54.1.
I didn't add bugfixes to the changelog, because I'm not too sure which ones exactly affect Alloy.
PR Checklist