-
Notifications
You must be signed in to change notification settings - Fork 211
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
[prometheus.operator.probes] Add namespace label with the namespace of the probe object #1058
[prometheus.operator.probes] Add namespace label with the namespace of the probe object #1058
Conversation
@thampiotr Thanks for running the tests, I adapted the code a little according to the results. Can you try again? |
@thampiotr Thanks for running the tests again, for the failing results on this one, I'm not sure what the issues are or how to solve them. |
@thampiotr Noticed that the probe config tests are not successful, so added the expectation of a label with name namespace and value default. |
@thampiotr I changed the labelset from an array of sets to one object. |
@thampiotr, Is there something else for the moment I can do? (not sure how the full PR flow works) |
@thampiotr Adapted the test to have one list instead of a list in a list |
@ToonTijtgat2 you should be able to run most of the tests locally with |
@thampiotr it seems that all tests passed now, what do we have to do now to complete this PR? I saw that by accident I did one of the commits with an unknown user. I don't know if this is a problem about the cla? Thanks for checking. FYI, I try to run the tests locally but for a reason I get the following all the time. |
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
* otelcol.receiver.datadog: new component * update authorship list * docs: update task page --------- Co-authored-by: Robert Fratto <robertfratto@gmail.com>
* Update version file with v1.3.0 * Update changelog * Update docs version
Signed-off-by: Paschalis Tsilias <paschalist0@gmail.com>
* add rsa config options, docs * update exporter, tests * reword auth requirement info * field doc tweaks * add var replace notes * fix placeholder values * rebase main, fix conflicts * style example config replacements * move require * tidy * revert Changelog formatting * remove *
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@v5...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rafana#1026) Bumps [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go) from 1.5.1 to 1.6.0. - [Release notes](https://github.com/Azure/azure-sdk-for-go/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md) - [Commits](Azure/azure-sdk-for-go@sdk/internal/v1.5.1...sdk/azcore/v1.6.0) --- updated-dependencies: - dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* remove explicit chown step that made docker image bigger * remove chmod
…rafana#1093) Bumps [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go) from 1.5.1 to 1.7.0. - [Release notes](https://github.com/Azure/azure-sdk-for-go/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md) - [Commits](Azure/azure-sdk-for-go@sdk/internal/v1.5.1...sdk/azcore/v1.7.0) --- updated-dependencies: - dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…vements (grafana#1081) * add severity and description to alerts * fix alert lib * reset config change * job not multi template, including filter on metric queries * revert config change * changing running instances count query to alloy_component_controller_running_components * group by instance * fallback to use by() * refrain from using instance label
…afana#1069) Bumps [go.opentelemetry.io/collector/config/confighttp](https://github.com/open-telemetry/opentelemetry-collector) from 0.100.1-0.20240509190532-c555005fcc80 to 0.102.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](https://github.com/open-telemetry/opentelemetry-collector/commits/v0.102.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/collector/config/confighttp dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…afana#1111) Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.22.0 to 0.23.0. - [Release notes](https://github.com/aquasecurity/trivy-action/releases) - [Commits](aquasecurity/trivy-action@595be6a...7c2007b) --- updated-dependencies: - dependency-name: aquasecurity/trivy-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#1018) * Docs: add 'Tuning max_shards' section in Prometheus remote write doc Signed-off-by: Marco Pracucci <marco@pracucci.com> * Link section Signed-off-by: Marco Pracucci <marco@pracucci.com> * Link section Signed-off-by: Marco Pracucci <marco@pracucci.com> * Remove test label selector from query Signed-off-by: Marco Pracucci <marco@pracucci.com> * Apply suggestions from code review Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> Co-authored-by: Jennifer Villa <jvilla2013@gmail.com> * Re-iterate based on feedback Signed-off-by: Marco Pracucci <marco@pracucci.com> * Renamed 'replica' to 'instance' Signed-off-by: Marco Pracucci <marco@pracucci.com> * Explain why there's a max_shards cap Signed-off-by: Marco Pracucci <marco@pracucci.com> * Apply suggestions from code review Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> --------- Signed-off-by: Marco Pracucci <marco@pracucci.com> Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> Co-authored-by: Jennifer Villa <jvilla2013@gmail.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.4 to 0.7.7. - [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md) - [Commits](hashicorp/go-retryablehttp@v0.7.4...v0.7.7) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-retryablehttp dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ckit v0.0.0-20240624165704-36f3407a8eaa uses the atomic Uint64 wrappers which align better in 32b systems, like armv7hf. Tested to work on a armv7hf instance, when compiled from source. Co-authored-by: Robert Fratto <robertfratto@gmail.com>
Co-authored-by: Mischa Thompson <mischabear@gmail.com> Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
…1150) Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
…ometheus metrics task (grafana#1152)
84e7bcc
to
d801051
Compare
Opened a new PR since this one is going all wrong. #1186 |
PR Description
Add namespace label with the namespace of the probe object in the static config to align with prometheus setup.
Prometheus automatically adds the namespace label, and since this is standard practice and we rely on this label for some dashboards and rules, we'd like to align the prometheus setup and alloy setup.
Which issue(s) this PR fixes
Fixes #1049
Notes to the Reviewer
PR Checklist