Skip to content

Commit

Permalink
Remove move statement for run id (#206)
Browse files Browse the repository at this point in the history
* remove move statement for run id

* generate examples, bump chart version
  • Loading branch information
lamebear authored May 13, 2022
1 parent dea7c76 commit ce2098b
Show file tree
Hide file tree
Showing 28 changed files with 35 additions and 41 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-collector
version: 0.16.3
version: 0.16.4
description: OpenTelemetry Collector Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ConfigMap
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ConfigMap
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: DaemonSet
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand All @@ -19,7 +19,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 91d8c0d82b69f4af104baff9418c98cfc26706c7ce634e71a66ef9b8eba9f9ec
checksum/config: 956c07dde4e5f7cefbd96562ed29f969daeb61521f46807148a716ae53b7e64c

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Deployment
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand All @@ -21,7 +21,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 864fe2170744b429e9293922f25ff4ca20c84eed944742522aded9d56f468d44
checksum/config: 29bb48fe5726fb826db919b6bf74d49a3639b248d658a6a407187801df5ff5fa

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Service
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ServiceAccount
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ConfigMap
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down Expand Up @@ -81,9 +81,6 @@ data:
- from: attributes.restart_count
to: attributes["k8s.container.restart_count"]
type: move
- from: attributes.run_id
to: attributes["run_id"]
type: move
- from: attributes.uid
to: attributes["k8s.pod.uid"]
type: move
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: DaemonSet
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand All @@ -19,7 +19,7 @@ spec:
template:
metadata:
annotations:
checksum/config: cb4828a4e1a70b98392e7a8d38429846aaf89f1610f5e320d7ea3885dd638f96
checksum/config: 303d734c472e9156243c3e6b93529222bc8e366f9d7ab731053cd23b4ebdad44

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ServiceAccount
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ConfigMap
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: DaemonSet
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand All @@ -19,7 +19,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 74bc76574772128b5c7746a66fa55ee5da85cc8c43243ce3c604f6901b19fc19
checksum/config: 118f366afd5d044f72490610cd0ee085b6a293772b29d0e1603b19f4410dddee

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ServiceAccount
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ConfigMap
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: DaemonSet
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand All @@ -19,7 +19,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 625c48df2514bf474c6032ad1006b1a5d12d50fd602c04b333b09171ac3fb5bb
checksum/config: b5586ce5838c3659be9a0277d956196eceb06ce34a6565626bdb30fc81618b11

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ServiceAccount
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ConfigMap
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: DaemonSet
metadata:
name: example-opentelemetry-collector-agent
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand All @@ -19,7 +19,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 4b419410faefb00fcd00cce3a6a804a25d8d269a95bd61278d9f50508d09544b
checksum/config: 209819cc7f8d740224dbdddea8eaa2c885d5125af295eb55b0f47a05df6cfb14

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ServiceAccount
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ConfigMap
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Deployment
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand All @@ -21,7 +21,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 88ea4f7925f8c5580959115941557a7a89b52a4d086b418064cc3017d34a3406
checksum/config: 80efd5470734f47bcb9d57b80f79cf5f4e4041a5b7104bc718515c4b4eb5d403

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Service
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ServiceAccount
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ConfigMap
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Deployment
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand All @@ -21,7 +21,7 @@ spec:
template:
metadata:
annotations:
checksum/config: 9f3e339a03d87775aab083888814cd3c3abca7e45411fd045a76502519a2008e
checksum/config: 09f0d49afab86ac12b77d4a5e85059efa6ad25bae704531f2af035d191a66806

labels:
app.kubernetes.io/name: opentelemetry-collector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Service
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: ServiceAccount
metadata:
name: example-opentelemetry-collector
labels:
helm.sh/chart: opentelemetry-collector-0.16.3
helm.sh/chart: opentelemetry-collector-0.16.4
app.kubernetes.io/name: opentelemetry-collector
app.kubernetes.io/instance: example
app.kubernetes.io/version: "0.50.0"
Expand Down
3 changes: 0 additions & 3 deletions charts/opentelemetry-collector/templates/_config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,6 @@ receivers:
- type: move
from: attributes.restart_count
to: attributes["k8s.container.restart_count"]
- type: move
from: attributes.run_id
to: attributes["run_id"]
- type: move
from: attributes.uid
to: attributes["k8s.pod.uid"]
Expand Down

0 comments on commit ce2098b

Please sign in to comment.