From a80cb81a3ea5c6f245d6a4fe655934e48daf81b4 Mon Sep 17 00:00:00 2001 From: royalcat <k.adamovich20@gmail.com> Date: Mon, 6 May 2024 09:54:28 +0300 Subject: [PATCH] remove grafana cloud --- otel-collector/config.yaml | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/otel-collector/config.yaml b/otel-collector/config.yaml index c74fd30..3afd0a4 100644 --- a/otel-collector/config.yaml +++ b/otel-collector/config.yaml @@ -2,19 +2,6 @@ extensions: health_check: # pprof: zpages: - basicauth/grafana_cloud_tempo: - # https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/basicauthextension - client_auth: - username: "853044" - password: "glc_eyJvIjoiMTA5NTM0MyIsIm4iOiJzdGFjay05MDA5NDctaW50ZWdyYXRpb24tZ3VydS1jb2xsZWN0b3IiLCJrIjoiNFJGWFo4bWRVWDI3WjkyZTRQNFJiMzB2IiwibSI6eyJyIjoicHJvZC1ldS13ZXN0LTIifX0=" - basicauth/grafana_cloud_prometheus: - client_auth: - username: "1515927" - password: "glc_eyJvIjoiMTA5NTM0MyIsIm4iOiJzdGFjay05MDA5NDctaW50ZWdyYXRpb24tZ3VydS1jb2xsZWN0b3IiLCJrIjoiNFJGWFo4bWRVWDI3WjkyZTRQNFJiMzB2IiwibSI6eyJyIjoicHJvZC1ldS13ZXN0LTIifX0=" - basicauth/grafana_cloud_loki: - client_auth: - username: "858728" - password: "glc_eyJvIjoiMTA5NTM0MyIsIm4iOiJzdGFjay05MDA5NDctaW50ZWdyYXRpb24tZ3VydS1jb2xsZWN0b3IiLCJrIjoiNFJGWFo4bWRVWDI3WjkyZTRQNFJiMzB2IiwibSI6eyJyIjoicHJvZC1ldS13ZXN0LTIifX0=" receivers: otlp: @@ -25,7 +12,7 @@ receivers: endpoint: 0.0.0.0:4318 processors: - batch: # https://github.com/open-telemetry/opentelemetry-collector/tree/main/processor/batchprocessor + batch: exporters: otlp/tempo: @@ -36,30 +23,11 @@ exporters: endpoint: http://prometheus.example.com:9411/api/prom/push otlphttp/loki: endpoint: http://loki:3100/otlp - otlp/grafana_cloud_traces: - # https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/otlpexporter - endpoint: "tempo-prod-10-prod-eu-west-2.grafana.net:443" - auth: - authenticator: basicauth/grafana_cloud_tempo - otlphttp/grafana_cloud_logs: - # https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/lokiexporter - endpoint: "https://logs-prod-012.grafana.net/otlp" - auth: - authenticator: basicauth/grafana_cloud_loki - prometheusremotewrite/grafana_cloud_metrics: - # https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/prometheusremotewriteexporter - endpoint: "https://prometheus-prod-24-prod-eu-west-2.grafana.net/api/prom/push" - add_metric_suffixes: false - auth: - authenticator: basicauth/grafana_cloud_prometheus service: extensions: - health_check - zpages - - basicauth/grafana_cloud_tempo - - basicauth/grafana_cloud_prometheus - - basicauth/grafana_cloud_loki pipelines: traces: @@ -67,16 +35,13 @@ service: processors: [batch] exporters: - otlp/tempo - - otlp/grafana_cloud_traces metrics: receivers: [otlp] processors: [batch] exporters: - prometheusremotewrite - - prometheusremotewrite/grafana_cloud_metrics logs: receivers: [otlp] processors: [batch] exporters: - otlphttp/loki - - otlphttp/grafana_cloud_logs