services:
gateway:
environment:
OTEL_ENABLE_OBSERVABILITY: "true"
OTEL_TRACES_EXPORTER: otlp
OTEL_EXPORTER_OTLP_ENDPOINT: http://clickstack:4317
OTEL_EXPORTER_OTLP_PROTOCOL: grpc
OTEL_EXPORTER_OTLP_INSECURE: "true"
OTEL_SERVICE_NAME: cf-controlplane
OTEL_RESOURCE_ATTRIBUTES: deployment.environment=integration,service.namespace=contextforge
networks:
observability:
logging:
driver: fluentd
options:
fluentd-address: tcp://127.0.0.1:${CF_OBSERVABILITY_LOG_PORT:-24224}
fluentd-async: "true"
fluentd-sub-second-precision: "true"
tag: "{{.Name}}"
networks:
observability:
name: ${CF_OBSERVABILITY_NETWORK:-cf-observability}
external: true