-
Notifications
You must be signed in to change notification settings - Fork 105
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
Fixes missing labels from the generated metrics and adds a test for it #115
Closed
prateeknayak
wants to merge
117
commits into
prometheus-community:main
from
prateeknayak:fix-missing-labels
Closed
Fixes missing labels from the generated metrics and adds a test for it #115
prateeknayak
wants to merge
117
commits into
prometheus-community:main
from
prateeknayak:fix-missing-labels
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adding in the DCO Licensing
avalanche's k8s deployment yaml file
…ity#4) Create our own registry so we don't include any other metrics that Prometheus client_golang adds by default.
Add option to send via remote_write API; update to Go 1.12.1
…us-community#8) * Use go modules and implement remote write samples count flag. * concurent send * added continious profiling. * fix dockerfile * fix remotePprof wait * fix the series update lock race * total samples count * nits * update ts for each request * improve the cache for docker build * nits
…ite API (prometheus-community#11) * Mention that Avalanche supports load testing via Prometheus remote_write API * README.md: move Thanos to remote_write section
* Fix time interval handling * Change to NewTicker from Ticker Keep ticker reference to avoid "leaking" * Update write.go
…nant-id Allow the tenant ID to be specified for remote_write [Rebase]
Co-authored-by: Andre Branchizio <[email protected]>
Co-authored-by: Hammond95 <[email protected]>
Happy to help in maintaining!
…nity#83) * Update common Prometheus files * Added format command. --------- Co-authored-by: bwplotka <[email protected]>
…theus-community#95) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.3 to 1.20.4. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.20.3...v1.20.4) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ommunity#94) Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.57.0 to 0.60.0. - [Release notes](https://github.com/prometheus/common/releases) - [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md) - [Commits](prometheus/common@v0.57.0...v0.60.0) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-type: direct:production update-type: version-update:semver-minor ... Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… well; improved flag docs and tests for complex type series calculation. (prometheus-community#93)
…ibutions. (prometheus-community#97) Initially added in bwplotka/prombenchy#12, but it might belong here more.
…heus-community#99) See related discussion: prometheus-community#97 (comment) > I think we should move this default to zero. Essentially I don't see real case of changing metric names in any application. Metric names are generally stable AFAIK, do you know any cases where that's not true? Are they often? cc @jmichalek132
Prior to this commit, unbounded number of write would have been trigged from avalanche based on number of samples and batch size. Adding a new flag to limit the concurrency will be useful to simulate prometheus remote write sharding.
…munity#111) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…theus-community#107) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.4 to 1.20.5. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.20.4...v1.20.5) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ommunity#105) Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.60.0 to 0.60.1. - [Release notes](https://github.com/prometheus/common/releases) - [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md) - [Commits](prometheus/common@v0.60.0...v0.60.1) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-type: direct:production update-type: version-update:semver-patch ... Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Refactor remote write flags into init method * Fix lint * Implement suggestions * Address comments ---------
prateeknayak
force-pushed
the
fix-missing-labels
branch
from
January 2, 2025 00:04
28b96a5
to
dc5e076
Compare
prateeknayak
changed the title
Fixes missing labesl from the generated metrics and adds a test for it
Fixes missing labels from the generated metrics and adds a test for it
Jan 2, 2025
prateeknayak
force-pushed
the
fix-missing-labels
branch
2 times, most recently
from
January 2, 2025 00:22
73ff744
to
ee3865e
Compare
Signed-off-by: Prateek <[email protected]>
Signed-off-by: Prateek <[email protected]>
Signed-off-by: Prateek <[email protected]>
prateeknayak
force-pushed
the
fix-missing-labels
branch
from
January 2, 2025 00:26
ee3865e
to
83ef83c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We have been using avalanche to test out remote write capability in our distributed metrics architecture, we noticed that avalanche wasn't adding any labels let alone the
--const-labels
to the metrics. The solution in the PR should hopefully fix it.Following are the changes in the PR