File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -815,15 +815,17 @@ Choose the first value found:
815
815
816
816
# ### How `service.version` is calculated
817
817
818
+ Choose the first value found :
819
+
818
820
- ` pod.annotation[resource.opentelemetry.io/service.version]`
819
821
- ` if (cfg[useLabelsForResourceAttributes]) pod.label[app.kubernetes.io/version]`
820
822
- ` if (contains(container docker image tag, '/') == false) container docker image tag`
821
823
822
824
# ### How `service.instance.id` is calculated
823
-
824
825
826
+ Choose the first value found :
827
+
825
828
- ` pod.annotation[resource.opentelemetry.io/service.instance.id]`
826
- - ` if (config[useLabelsForResourceAttributes]) pod.label[app.kubernetes.io/instance]`
827
829
- ` concat([k8s.namespace.name, k8s.pod.name, k8s.container.name], '.')`
828
830
829
831
# # Contributing and Developing
You can’t perform that action at this time.
0 commit comments