@@ -189,6 +189,45 @@ global:
189189 scrapeTimeout : 10s
190190 labels : {}
191191 config : {}
192+
193+ anchors :
194+ common-envs :
195+ # -- Telemetry configuration
196+ - &otel-config
197+ # -- Base endpoint URL for all OpenTelemetry signals.
198+ # Ref: https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/
199+ OTEL_EXPORTER_OTLP_ENDPOINT : ' http://localhost:4317'
200+ # -- Specifies the OTLP transport protocol to be used for all telemetry data.
201+ # Ref: https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/
202+ OTEL_EXPORTER_OTLP_PROTOCOL : ' grpc'
203+ # -- Specifies the compression algorithm to be used for all telemetry data.
204+ # Ref: https://opentelemetry.io/docs/specs/otel/protocol/exporter/
205+ OTEL_EXPORTER_OTLP_COMPRESSION : ' gzip'
206+ # -- OTel Logs exporter to be used.
207+ # Ref: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
208+ OTEL_LOGS_EXPORTER : ' none'
209+ # -- OTel traces exporter to be used.
210+ # Ref: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
211+ OTEL_TRACES_EXPORTER : ' none'
212+ # -- OTel sampler to be used for traces.
213+ # Ref: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
214+ OTEL_TRACES_SAMPLER : ' parentbased_always_on'
215+ # -- OTel metrics exporter to be used. Set to "prometheus" to export metrics in Prometheus format. If set to "prometheus", it's recommended to set METRICS_SCRAPE_TIMEOUT_MS=4×scrape_interval.
216+ # Ref: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
217+ OTEL_METRICS_EXPORTER : ' none'
218+ # -- The time interval (in milliseconds) between the start of two export attempts for push metric exporters, such as "otlp".
219+ # Ref: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
220+ OTEL_METRIC_EXPORT_INTERVAL : ' 10000'
221+ # -- Maximum allowed time (in milliseconds) to export data for push metric exporters, such as "otlp".
222+ # Ref: https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
223+ OTEL_METRIC_EXPORT_TIMEOUT : ' 5000'
224+ # -- Host used by the Prometheus OTel metrics exporter if OTEL_METRICS_EXPORTER=prometheus
225+ OTEL_EXPORTER_PROMETHEUS_HOST : ' 0.0.0.0'
226+ # -- Port used by the Prometheus OTel metrics exporter if OTEL_METRICS_EXPORTER=prometheus
227+ OTEL_EXPORTER_PROMETHEUS_PORT : ' 9464'
228+ # -- Emit the stable HTTP and networking OTel conventions if CF_TELEMETRY_OTEL_ALLOW_HTTP_INSTRUMENTATION=true.
229+ OTEL_SEMCONV_STABILITY_OPT_IN : ' http'
230+
192231# -------------------------------------------------------------------------------------------------------------------------
193232# Installer
194233# -------------------------------------------------------------------------------------------------------------------------
@@ -530,7 +569,30 @@ app-proxy:
530569 clusterChunkSize : 50
531570 # -- Cors settings for app-proxy. This is the list of allowed domains for platform (comma separated).
532571 cors : " https://g.codefresh.io"
533- env : {}
572+ env :
573+ << :
574+ - *otel-config
575+ # -- Level of logging for app-proxy
576+ CF_TELEMETRY_LOGS_LEVEL : ' info'
577+ # -- Level for logging HTTP requests
578+ CF_TELEMETRY_LOGS_LEVEL_HTTP : ' debug'
579+ # -- Enable OpenTelemetry signals (logs, metrics, traces)
580+ CF_TELEMETRY_OTEL_ENABLE : ' false'
581+ # -- Enable OTel HTTP instrumentation.
582+ # Make sure to sanitize `url.full` and `url.query` span attributes on collector before enabling this flag, as it may contain sensitive information.
583+ CF_TELEMETRY_OTEL_ALLOW_HTTP_INSTRUMENTATION : ' false'
584+ # -- Enable Prometheus server
585+ CF_TELEMETRY_PROMETHEUS_ENABLE : ' false'
586+ # -- Enable collecting process metrics
587+ CF_TELEMETRY_PROMETHEUS_ENABLE_PROCESS_METRICS : ' false'
588+ # -- Host for Prometheus metrics server
589+ CF_TELEMETRY_PROMETHEUS_HOST : ' 0.0.0.0'
590+ # -- Port for Prometheus metrics server
591+ CF_TELEMETRY_PROMETHEUS_PORT : ' 9100'
592+ # -- Enable Pyroscope profiling. If enabled, the Pyroscope server address must be set in PYROSCOPE_SERVER_ADDRESS.
593+ CF_TELEMETRY_PYROSCOPE_ENABLE : ' false'
594+ # -- Pyroscope server address
595+ PYROSCOPE_SERVER_ADDRESS : ' '
534596 serviceAccount :
535597 create : true
536598 annotations : {}
@@ -628,6 +690,8 @@ gitops-operator:
628690 repository : codefresh/codefresh-gitops-operator
629691 tag : " 293f24f"
630692 env :
693+ << :
694+ - *otel-config
631695 GITOPS_OPERATOR_VERSION : 0.11.1
632696 serviceAccount :
633697 create : true
@@ -793,8 +857,14 @@ redis:
793857 name : " "
794858 annotations : {}
795859event-reporters :
796- cluster-event-reporter : {}
797- runtime-event-reporter : {}
860+ cluster-event-reporter :
861+ env :
862+ << :
863+ - *otel-config
864+ runtime-event-reporter :
865+ env :
866+ << :
867+ - *otel-config
798868# -- Redis-HA subchart replaces custom redis deployment when `redis-ha.enabled=true`
799869# Ref: https://github.com/DandyDeveloper/charts/blob/master/charts/redis-ha/values.yaml
800870redis-ha :
0 commit comments