Skip to content

Commit

Permalink
Rename log 'record' to 'body' (open-telemetry#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaglowski authored Apr 14, 2021
1 parent d1b9995 commit ce64a55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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.5.3
version: 0.5.4
description: OpenTelemetry Collector Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand Down
10 changes: 5 additions & 5 deletions charts/opentelemetry-collector/templates/_config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ receivers:
id: get-format
routes:
- output: parser-docker
expr: '$$record matches "^\\{"'
expr: '$$body matches "^\\{"'
- output: parser-crio
expr: '$$record matches "^[^ Z]+ "'
expr: '$$body matches "^[^ Z]+ "'
- output: parser-containerd
expr: '$$record matches "^[^ Z]+Z"'
expr: '$$body matches "^[^ Z]+Z"'
# Parse CRI-O format
- type: regex_parser
id: parser-crio
Expand Down Expand Up @@ -185,9 +185,9 @@ receivers:
k8s.pod.name: 'EXPR($.pod_name)'
run_id: 'EXPR($.run_id)'
k8s.pod.uid: 'EXPR($.uid)'
# Clean up log record
# Clean up log body
- type: restructure
id: clean-up-log-record
id: clean-up-log-body
ops:
- move:
from: log
Expand Down

0 comments on commit ce64a55

Please sign in to comment.