这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ridwanmsharif
Copy link
Contributor

Description

This change sanitizes the metadata values so strings of the form ${...:...} are not expanded in the OTel configs.

Related issue

b/311724243
Resolves #1517.

How has this been tested?

Checklist:

  • Unit tests
    • Unit tests do not apply.
    • Unit tests have been added/modified and passed for this PR.
  • Integration tests
    • Integration tests do not apply.
    • Integration tests have been added/modified and passed for this PR.
  • Documentation
    • This PR introduces no user visible changes.
    • This PR introduces user visible changes and the corresponding documentation change has been made.
  • Minor version bump
    • This PR introduces no new features.
    • This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
    • This PR bumps the version.

@ridwanmsharif ridwanmsharif force-pushed the ridwanmsharif/sanitize branch 2 times, most recently from 14b07fc to 7804d26 Compare January 2, 2024 20:12
Copy link
Contributor

@LujieDuan LujieDuan left a comment

Choose a reason for hiding this comment

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

LGTM!

@ridwanmsharif ridwanmsharif force-pushed the ridwanmsharif/sanitize branch from 70ad38e to 9555178 Compare January 3, 2024 20:53
This change sanitizes the metadata values so strings of the form
`${...:...}` are not expanded in the OTel configs.

Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
@ridwanmsharif ridwanmsharif force-pushed the ridwanmsharif/sanitize branch from 9555178 to 3c75cbe Compare January 4, 2024 06:35
@ridwanmsharif ridwanmsharif merged commit 68111d6 into master Jan 4, 2024
@ridwanmsharif ridwanmsharif deleted the ridwanmsharif/sanitize branch July 22, 2024 16:36
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.

Prometheus Config Generation Can Build Invalid Config Due To Inability To Skip Specific GCE Metadata Tags

3 participants