sumologic-otel-collector
sumologic-otel-collector copied to clipboard
[k8sprocessor] Missing documentation for 'pod_association'
Missing documentation for 'pod_association' in k8sprocessor, configuration option is used for example here.
Related to this issue:
There is silent assumption that metric must have specific attributes to extract Pod ID, for example: when:
pod_association:
- from: build_hostname
metrics must come with k8s.namespace.name
and k8s.pod.name
attributes, see these lines:
- https://github.com/SumoLogic/sumologic-otel-collector/blob/83406585be84acccc8d9122b37fce1b37d9dd35c/pkg/processor/k8sprocessor/pod_association.go#L89
- https://github.com/SumoLogic/sumologic-otel-collector/blob/83406585be84acccc8d9122b37fce1b37d9dd35c/pkg/processor/k8sprocessor/pod_association.go#L94
Tested with commit: e4da82574e18de51781458dd44d9206311d7e3b5