Skip to content

[doc]: AttachMetadata and relabeling requirements in Prometheus Operator#7247

Closed
Dharma-09 wants to merge 0 commit intoprometheus-operator:mainfrom
Dharma-09:doc/attachmetadata
Closed

[doc]: AttachMetadata and relabeling requirements in Prometheus Operator#7247
Dharma-09 wants to merge 0 commit intoprometheus-operator:mainfrom
Dharma-09:doc/attachmetadata

Conversation

@Dharma-09
Copy link
Contributor

@Dharma-09 Dharma-09 commented Jan 2, 2025

Description

Clarify that enabling attachMetadata.node=true will only expose node metadata labels during service discovery. Explicit relabeling is required to add them to the metrics.

Issue

#7166

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Verification

Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.

Changelog entry

Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.

NONE

@Dharma-09 Dharma-09 requested a review from a team as a code owner January 2, 2025 01:29
Copy link
Contributor

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that you have unrelated changes in your PR.

simonpasquier
simonpasquier previously approved these changes Feb 3, 2025
Copy link
Contributor

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!
cc @slashpai

@slashpai
Copy link
Contributor

slashpai commented Feb 3, 2025

@Dharma-09 PR needs to be rebased to fix merge conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants