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

Sync with upstream #616

Merged
merged 8 commits into from
Apr 30, 2024
Merged

Sync with upstream #616

merged 8 commits into from
Apr 30, 2024

Conversation

ArthurSens and others added 7 commits April 24, 2024 17:02
Up until this point, if a scrape was done with the protobuf format Prometheus would always try to ingest native histograms even with the feature flag disabled. This causes problems with other feature-flags that depend on the protobuf format, like 'created-timestamp-zero-ingestion'. This commit decouples native histogram parsing from ingestion, making sure ingestion only happens when the 'native-histogram' feature-flag is enabled.

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Signed-off-by: George Robinson <george.robinson@grafana.com>
bugfix: Decouple native histogram ingestions and protobuf parsing
Previously the metrics adapters for client-go were registered in an init function.
This resulted in clobbering default metrics providers when these packages are imported
into an application that leverages the default client-go metrics registry.

Instead, let's only register these adapters when requested.

Signed-off-by: Stephen Heckler <sheckler@cloudflare.com>
* fix(scaleway-sd): use public IPs if no private IP present
* tests(scaleway-sd): add instance  with routed public ip and no private ip

---------

Signed-off-by: Heyoxe <32708033+Heyoxe@users.noreply.github.com>
Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
discovery(k8s): Only register client-go metrics adapters when needed
@CLAassistant
Copy link

CLAassistant commented Apr 29, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 7 committers have signed the CLA.

✅ roidelapluie
✅ grobinson-grafana
✅ aknuds1
❌ Stephen Heckler
❌ ArthurSens
❌ NeerajGartia21
❌ Heyoxe


Stephen Heckler seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@aknuds1 aknuds1 marked this pull request as ready for review April 29, 2024 17:33
@aknuds1 aknuds1 merged commit ed1e69f into main Apr 30, 2024
5 of 6 checks passed
@aknuds1 aknuds1 deleted the arve/sync-with-upstream branch April 30, 2024 07:13
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

Successfully merging this pull request may close these issues.

None yet

8 participants