From 503917644c55266e99da086be3c4c987ef0d07d9 Mon Sep 17 00:00:00 2001 From: Raj Nishtala Date: Wed, 9 Oct 2024 17:27:05 -0400 Subject: [PATCH] fix: the otel collector is now strict about type checking --- .../instrumentation/otelcol.instrumentation.conf.yaml | 2 +- .../conf/instrumentation/traces.gateway.conf.yaml | 2 +- .../helm/sumologic/conf/metrics/otelcol/processors.yaml | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deploy/helm/sumologic/conf/instrumentation/otelcol.instrumentation.conf.yaml b/deploy/helm/sumologic/conf/instrumentation/otelcol.instrumentation.conf.yaml index 25a2e6ee4..5223be817 100644 --- a/deploy/helm/sumologic/conf/instrumentation/otelcol.instrumentation.conf.yaml +++ b/deploy/helm/sumologic/conf/instrumentation/otelcol.instrumentation.conf.yaml @@ -56,7 +56,7 @@ exporters: resolver: dns: hostname: '{{ include "tracesgateway.exporter.loadbalancing.endpoint" . }}' - port: 4317 + port: '4317' {{- end }} receivers: jaeger: diff --git a/deploy/helm/sumologic/conf/instrumentation/traces.gateway.conf.yaml b/deploy/helm/sumologic/conf/instrumentation/traces.gateway.conf.yaml index 928743485..f708c7e4a 100644 --- a/deploy/helm/sumologic/conf/instrumentation/traces.gateway.conf.yaml +++ b/deploy/helm/sumologic/conf/instrumentation/traces.gateway.conf.yaml @@ -18,7 +18,7 @@ exporters: resolver: dns: hostname: '{{ include "tracesgateway.exporter.loadbalancing.endpoint" . }}' - port: 4317 + port: '4317' receivers: otlp: diff --git a/deploy/helm/sumologic/conf/metrics/otelcol/processors.yaml b/deploy/helm/sumologic/conf/metrics/otelcol/processors.yaml index 50e49bf51..85de55897 100644 --- a/deploy/helm/sumologic/conf/metrics/otelcol/processors.yaml +++ b/deploy/helm/sumologic/conf/metrics/otelcol/processors.yaml @@ -70,10 +70,10 @@ memory_limiter: metricstransform: transforms: ## rename all prometheus_remote_write_$name metrics to $name - action: update - include: ^prometheus_remote_write_(.*)$$ - match_type: regexp - new_name: $$1 + - action: update + include: ^prometheus_remote_write_(.*)$$ + match_type: regexp + new_name: $$1 ## Configuration for Resource Processor resource: