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
[processor/k8s_attributes] Share processor across signal types (#47686)
#### Description
Allow sharing of k8sattributes processor instances between pipelines.
The implementation uses sharedcomponent and is hidden behind a feature
gate.
#### Link to tracking issue
Partially fixes#36234.
#### Testing
Added a e2e test that:
- Enabled the feature gate
- Creates two processors with different configuration, one of which is
shared between two pipelines
- Verifies that data emitted by both is correct
- Verifies that the shared processor is actually shared by looking at
logs
#### Documentation
Autogenerated feature gate documentation.
Copy file name to clipboardExpand all lines: processor/k8sattributesprocessor/documentation.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -320,6 +320,7 @@ This component has the following feature gates:
320
320
|`k8sattr.labelsAnnotationsSingular.allow`| deprecated | When enabled, default k8s label and annotation resource attribute keys will be singular, instead of plural | v0.125.0 | v0.145.0 |[Link](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/39774)|
321
321
|`processor.k8sattributes.DontEmitV0K8sConventions`| alpha | When enabled, semconv legacy attributes are disabled. | v0.145.0 | N/A |[Link](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/44589)|
322
322
|`processor.k8sattributes.EmitV1K8sConventions`| alpha | When enabled, semconv stable attributes are enabled. | v0.145.0 | N/A |[Link](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/44589)|
323
+
|`processor.k8sattributes.ShareProcessorBetweenPipelines`| alpha | When enabled, processor instances with identical configuration are shared across different signal type pipelines, reducing duplicate Kubernetes API watchers. | v0.150.0 | N/A |[Link](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/2450)|
323
324
|`processor.k8sattributes.telemetry.disableOldFormatMetrics`| alpha | When enabled, old formatted internal telemetry metrics are disabled. | v0.146.0 | N/A |[Link](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/45871)|
324
325
|`processor.k8sattributes.telemetry.enableNewFormatMetrics`| alpha | When enabled, new formatted internal telemetry metrics are enabled. | v0.146.0 | N/A |[Link](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/45871)|
0 commit comments