diff --git a/charts/opentelemetry-collector/Chart.yaml b/charts/opentelemetry-collector/Chart.yaml index 679287e04..08a0b2ccd 100644 --- a/charts/opentelemetry-collector/Chart.yaml +++ b/charts/opentelemetry-collector/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: opentelemetry-collector -version: 0.16.1 +version: 0.16.2 description: OpenTelemetry Collector Helm chart for Kubernetes type: application home: https://opentelemetry.io/ diff --git a/charts/opentelemetry-collector/README.md b/charts/opentelemetry-collector/README.md index a176cf0e9..6b4c38de0 100644 --- a/charts/opentelemetry-collector/README.md +++ b/charts/opentelemetry-collector/README.md @@ -128,6 +128,14 @@ mode: daemonset containerLogs: enabled: true +config: + service: + pipelines: + logs: + receivers: + - otlp + - filelog + image: repository: otel/opentelemetry-collector-contrib @@ -172,6 +180,9 @@ config: service: pipelines: logs: + receivers: + - otlp + - filelog exporters: - otlphttp diff --git a/charts/opentelemetry-collector/ci/daemonset-conatiner-logs-values.yaml b/charts/opentelemetry-collector/ci/daemonset-container-logs-values.yaml similarity index 61% rename from charts/opentelemetry-collector/ci/daemonset-conatiner-logs-values.yaml rename to charts/opentelemetry-collector/ci/daemonset-container-logs-values.yaml index 7b77f50df..c4d37e2f9 100644 --- a/charts/opentelemetry-collector/ci/daemonset-conatiner-logs-values.yaml +++ b/charts/opentelemetry-collector/ci/daemonset-container-logs-values.yaml @@ -7,6 +7,12 @@ config: receivers: filelog: exclude: [] + service: + pipelines: + logs: + receivers: + - otlp + - filelog resources: limits: cpu: 100m diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap-agent.yaml index 1eb379580..49855b811 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap-agent.yaml @@ -5,7 +5,7 @@ kind: ConfigMap metadata: name: example-opentelemetry-collector-agent labels: - helm.sh/chart: opentelemetry-collector-0.16.1 + helm.sh/chart: opentelemetry-collector-0.16.2 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.50.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap.yaml index 6a9751bdb..768405aef 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/configmap.yaml @@ -5,7 +5,7 @@ kind: ConfigMap metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.16.1 + helm.sh/chart: opentelemetry-collector-0.16.2 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.50.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/daemonset.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/daemonset.yaml index 19c17ace1..8bf4515c5 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/daemonset.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/daemonset.yaml @@ -5,7 +5,7 @@ kind: DaemonSet metadata: name: example-opentelemetry-collector-agent labels: - helm.sh/chart: opentelemetry-collector-0.16.1 + helm.sh/chart: opentelemetry-collector-0.16.2 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.50.0" @@ -19,7 +19,7 @@ spec: template: metadata: annotations: - checksum/config: 713577fe11046c2deec7b1952bfefd7d86ca5379431c1dfd431339bf0d8d0551 + checksum/config: f992878f8497ab2f75d1e8cc3e4ce4b3bbf6a7aaaaeff8b849e510fac83e24fd labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/deployment.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/deployment.yaml index 3b06293d5..cf89f52a5 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/deployment.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/deployment.yaml @@ -5,7 +5,7 @@ kind: Deployment metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.16.1 + helm.sh/chart: opentelemetry-collector-0.16.2 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.50.0" @@ -21,7 +21,7 @@ spec: template: metadata: annotations: - checksum/config: 8eb401829f097268e521bdff92eb4ccacbdb9cc3a7cc7c8cab7c381592bdbeb7 + checksum/config: bf8937afccd9c99f0c18c953701b053814d8198793b256c0256312f4bb239ecf labels: app.kubernetes.io/name: opentelemetry-collector diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service.yaml index 441138f09..5aa745a98 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/service.yaml @@ -5,7 +5,7 @@ kind: Service metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.16.1 + helm.sh/chart: opentelemetry-collector-0.16.2 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.50.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/serviceaccount.yaml b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/serviceaccount.yaml index 28f0adf70..0c562adc3 100644 --- a/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/serviceaccount.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-and-deployment/rendered/serviceaccount.yaml @@ -5,7 +5,7 @@ kind: ServiceAccount metadata: name: example-opentelemetry-collector labels: - helm.sh/chart: opentelemetry-collector-0.16.1 + helm.sh/chart: opentelemetry-collector-0.16.2 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.50.0" diff --git a/charts/opentelemetry-collector/examples/daemonset-collector-logs/rendered/configmap-agent.yaml b/charts/opentelemetry-collector/examples/daemonset-collector-logs/rendered/configmap-agent.yaml index 3bb799664..e7bb3bc20 100644 --- a/charts/opentelemetry-collector/examples/daemonset-collector-logs/rendered/configmap-agent.yaml +++ b/charts/opentelemetry-collector/examples/daemonset-collector-logs/rendered/configmap-agent.yaml @@ -5,7 +5,7 @@ kind: ConfigMap metadata: name: example-opentelemetry-collector-agent labels: - helm.sh/chart: opentelemetry-collector-0.16.1 + helm.sh/chart: opentelemetry-collector-0.16.2 app.kubernetes.io/name: opentelemetry-collector app.kubernetes.io/instance: example app.kubernetes.io/version: "0.50.0" @@ -34,52 +34,62 @@ data: operators: - id: get-format routes: - - expr: $$body matches "^\\{" + - expr: body matches "^\\{" output: parser-docker - - expr: $$body matches "^[^ Z]+ " + - expr: body matches "^[^ Z]+ " output: parser-crio - - expr: $$body matches "^[^ Z]+Z" + - expr: body matches "^[^ Z]+Z" output: parser-containerd type: router - id: parser-crio output: extract_metadata_from_filepath - regex: ^(?P