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

Remove label mapping for service.instance.id #3497

Merged
merged 14 commits into from
Dec 10, 2024

Conversation

zeitlinger
Copy link
Member

Testing: updated existing

Documentation: updated existing

…ce.id`, because multiple containers

  should never share the same `service.instance.id`
@zeitlinger zeitlinger requested a review from a team as a code owner November 27, 2024 11:40
…ce.id`, because multiple containers

  should never share the same `service.instance.id`
…ce.id`, because multiple containers

  should never share the same `service.instance.id`
…ce.id`, because multiple containers

  should never share the same `service.instance.id`
…ce.id`, because multiple containers

  should never share the same `service.instance.id`
# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
Copy link
Contributor

Choose a reason for hiding this comment

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

@zeitlinger could you call out that this is a bug fix and also technically a breaking change? Include some of the details here about why this is a bug fix specifically and not a breaking change

Copy link
Member Author

Choose a reason for hiding this comment

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

done

…ce.id`, because multiple containers

      should never share the same `service.instance.id`
zeitlinger and others added 3 commits November 28, 2024 09:21
Co-authored-by: Jacob Aronoff <jaronoff97@users.noreply.github.com>
Co-authored-by: Jacob Aronoff <jaronoff97@users.noreply.github.com>
README.md Show resolved Hide resolved
@zeitlinger
Copy link
Member Author

@jaronoff97 please check again

@swiatekm swiatekm requested a review from jaronoff97 December 2, 2024 11:07
@jaronoff97
Copy link
Contributor

@zeitlinger i want to think a bit more about this after some of the user feedback in the thread in slack. Maybe we should discuss this at our SIG meeting this week?

@zeitlinger
Copy link
Member Author

@jaronoff97 as discussed in the meeting last week, this should be good to merge.

See https://docs.google.com/document/d/1Unbs2qp_j5kp8FfL_lRH-ld7i5EOQpsq0I4djkOOSL4/edit?tab=t.0#bookmark=id.bqi399f3q1ef

Copy link
Member

@cyrille-leclerc cyrille-leclerc left a comment

Choose a reason for hiding this comment

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

I added proposal to document with pseudo code the naming strategy as it's quite complex

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
zeitlinger and others added 4 commits December 10, 2024 15:06
Co-authored-by: Cyrille Le Clerc <cyrille@cyrilleleclerc.com>
Co-authored-by: Cyrille Le Clerc <cyrille@cyrilleleclerc.com>
Copy link
Contributor

@swiatekm swiatekm left a comment

Choose a reason for hiding this comment

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

👍 Thank you for the updated documentation, it really helps.

@jaronoff97
Copy link
Contributor

@zeitlinger @cyrille-leclerc Thank you for your contributions here! 🙇

@jaronoff97 jaronoff97 merged commit 0590057 into open-telemetry:main Dec 10, 2024
38 checks passed
@zeitlinger zeitlinger deleted the service-instanc-id-mapping branch December 10, 2024 17:25


- `pod.annotation[resource.opentelemetry.io/service.instance.id]`
- `if (config[useLabelsForResourceAttributes]) pod.label[app.kubernetes.io/instance]`
Copy link
Member

Choose a reason for hiding this comment

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

@zeitlinger shouldn't we remove this line from the docs?

Copy link
Member Author

Choose a reason for hiding this comment

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

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.

multi-container-pods can cause problems with useLabelsForResourceAttributes
4 participants