Skip to content

Commit 4b6b09b

Browse files
committed
Add changelog
Signed-off-by: Janario Oliveira <[email protected]>
1 parent 7fb7c7a commit 4b6b09b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: bug_fix
3+
4+
# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action)
5+
component: auto-instrumentation
6+
7+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8+
note: Add attribute `service.instance.id` while pod is mutated.
9+
10+
# One or more tracking issues related to the change
11+
issues: [2679]
12+
13+
# (Optional) One or more lines of additional information to render under the primary note.
14+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15+
# Use pipe (|) for multiline entries.
16+
subtext: |
17+
`service.instance.id` is expected to be `<namespace>.<podName>.<containerName>`
18+
19+
But while pod is created it may not have the `podName` yet at the podMutator webhooks.
20+
21+
This changed to use the env var `OTEL_RESOURCE_ATTRIBUTES_POD_NAME` which will be present at runtime.
22+
`<namespace>.$(OTEL_RESOURCE_ATTRIBUTES_POD_NAME).<containerName>`
23+
24+
Making a valid and complete value for `service.instance.id` to be added.
25+
26+

0 commit comments

Comments
 (0)