Skip to content

Commit

Permalink
feat!(metrics): move extra processors after sumologic_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
aboguszewski-sumo committed Sep 26, 2023
1 parent 7d7f2e2 commit 7fb0a46
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .changelog/3306.changed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feat!(metrics): move extra processors after sumologic_schema
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/conf/metrics/otelcol/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ processors:
- resource
- k8s_tagger
- source
- sumologic_schema
{{- if .Values.sumologic.metrics.otelcol.extraProcessors }}
{{- range $processor := .Values.sumologic.metrics.otelcol.extraProcessors }}
{{ printf "- %s" ( $processor | keys | first ) | indent 2 }}
{{- end }}
{{- end }}
- resource/remove_k8s_pod_pod_name
- resource/delete_source_metadata
- sumologic_schema
- transform/set_name
- groupbyattrs/group_by_name
- transform/remove_name
Expand Down
2 changes: 1 addition & 1 deletion tests/helm/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ func TestMetadataMetricsOtelConfigExtraProcessors(t *testing.T) {
"resource",
"k8s_tagger",
"source",
"sumologic_schema",
"filter/1",
"transform/rename_metric",
"transform/rename_metadata",
"resource/remove_k8s_pod_pod_name",
"resource/delete_source_metadata",
"sumologic_schema",
"transform/set_name",
"groupbyattrs/group_by_name",
"transform/remove_name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ data:
- resource
- k8s_tagger
- source
- sumologic_schema
- resource/remove_k8s_pod_pod_name
- resource/delete_source_metadata
- sumologic_schema
- transform/set_name
- groupbyattrs/group_by_name
- transform/remove_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ data:
- resource
- k8s_tagger
- source
- sumologic_schema
- resource/remove_k8s_pod_pod_name
- resource/delete_source_metadata
- sumologic_schema
- transform/set_name
- groupbyattrs/group_by_name
- transform/remove_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ data:
- resource
- k8s_tagger
- source
- sumologic_schema
- resource/remove_k8s_pod_pod_name
- resource/delete_source_metadata
- sumologic_schema
- transform/set_name
- groupbyattrs/group_by_name
- transform/remove_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ data:
- resource
- k8s_tagger
- source
- sumologic_schema
- resource/remove_k8s_pod_pod_name
- resource/delete_source_metadata
- sumologic_schema
- transform/set_name
- groupbyattrs/group_by_name
- transform/remove_name
Expand Down

0 comments on commit 7fb0a46

Please sign in to comment.