You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2
+
change_type: 'breaking'
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: Enable multi instrumentation by default.
9
+
10
+
# One or more tracking issues related to the change
11
+
issues: [3090]
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
+
Starting with this release, the OpenTelemetry Operator now enables multi-instrumentation by default.
18
+
This enhancement allows instrumentation of multiple containers in a pod with language-specific configurations.|
19
+
Key Changes:
20
+
- Single Instrumentation (Default Behavior): If no container names are specified using the
21
+
`instrumentation.opentelemetry.io/container-names` annotation, instrumentation will be applied to the first container in
22
+
the pod spec by default. This only applies when single instrumentation injection is configured.
23
+
- Multi-Container Pods: In scenarios where different containers in a pod use distinct technologies, users must specify the
24
+
container(s) for instrumentation using language-specific annotations. Without this specification, the default behavior may
25
+
not work as expected for multi-container environments.
26
+
Compatibility:
27
+
- Users already utilizing the `instrumentation.opentelemetry.io/container-names` annotation do not need to take any action.
28
+
Their existing setup will continue to function as before.
29
+
- Important: Users who attempt to configure both `instrumentation.opentelemetry.io/container-names` and language-specific annotations
30
+
(for multi-instrumentation) simultaneously will encounter an error, as this configuration is not supported.
# 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: Fix ApacheHttpd, Nginx and SDK injectors to honour their container-names annotations.
9
+
10
+
# One or more tracking issues related to the change
11
+
issues: [3313]
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: This is a breaking change if anyone is accidentally using the enablement flag with container names for these 3 injectors.
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2
+
change_type: enhancement
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: collector
6
+
7
+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8
+
note: Improves healthcheck parsing capabilities, allowing for future extensions to configure a healthcheck other than the v1 healthcheck extension.
9
+
10
+
# One or more tracking issues related to the change
11
+
issues: [3184]
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.
Copy file name to clipboardexpand all lines: README.md
+56-2
Original file line number
Diff line number
Diff line change
@@ -717,7 +717,9 @@ spec:
717
717
EOF
718
718
```
719
719
720
-
### Setting instrumentation resource attributes via namespace annotations
720
+
## Configure resource attributes
721
+
722
+
### Configure resource attributes with annotations
721
723
722
724
This example shows a pod configuration with OpenTelemetry annotations using the `resource.opentelemetry.io/` prefix. These annotations can be used to add resource attributes to data produced by OpenTelemetry instrumentation.
723
725
@@ -734,7 +736,59 @@ spec:
734
736
containers:
735
737
- name: main-container
736
738
image: your-image:tag
737
-
```
739
+
```
740
+
741
+
### Configure resource attributes with labels
742
+
743
+
You can also use common labels to set resource attributes.
0 commit comments