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

[tmpnet] Set an explicit instance label for logs and metrics #3650

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

marun
Copy link
Contributor

@marun marun commented Jan 16, 2025

Why this should be merged

Previously, the configuration for promtail and prometheus did not set an explicit instance label. This resulted in the default of ip:port being used, and since that could change on restart, it was necessary to try to ensure a stable port. Setting an explicit and unique value for instance avoids needing to ensure a stable port.

How this was tested

CI

Need to be documented in RELEASES.md?

N/a

@marun marun added the testing This primarily focuses on testing label Jan 16, 2025
@marun marun self-assigned this Jan 16, 2025
@marun marun force-pushed the tmpnet-remove-save-port branch 3 times, most recently from 3fcd680 to 0ed567b Compare January 16, 2025 05:47
Previously, the configuuration for promtail and prometheus did not set
an explicit `instance` label. This resulted in the default of `ip:port`
being used, and since that could change on restart, it was necessary
to try to ensure a stable port. Setting an explicit and unique value
for `instance` avoids needing to ensure a stable port.
@maru-ava maru-ava added this pull request to the merge queue Jan 27, 2025
Merged via the queue into master with commit e84f72e Jan 27, 2025
22 checks passed
@maru-ava maru-ava deleted the tmpnet-remove-save-port branch January 27, 2025 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing This primarily focuses on testing
Projects
Status: Done ✅
Development

Successfully merging this pull request may close these issues.

4 participants