refactor: remove OpenTelemetry Collector and integrate telemetry service

- Deleted the otel-collector job from GitHub workflows and related deployment configurations.
- Updated Helm charts to remove references to the OpenTelemetry Collector, including its deployment and service definitions.
- Added gRPC server functionality directly in the telemetry service to handle telemetry ingestion.
- Updated environment variables and Docker configurations to reflect the removal of the OpenTelemetry Collector.
- Adjusted telemetry service to support both HTTP and gRPC protocols for telemetry data.
This commit is contained in:
Nawaz Dhandala
2026-03-05 09:36:11 +00:00
parent 88a280031b
commit f9c90d7143
19 changed files with 412 additions and 448 deletions

View File

@@ -96,14 +96,12 @@ TELEMETRY_HOSTNAME=telemetry:3403
SERVER_APP_HOSTNAME=app
SERVER_TELEMETRY_HOSTNAME=telemetry
SERVER_OTEL_COLLECTOR_HOSTNAME=otel-collector
SERVER_WORKER_HOSTNAME=worker
#Ports. Usually they don't need to change.
APP_PORT=3002
TELEMETRY_PORT=3403
TEST_SERVER_PORT=3800
OTEL_COLLECTOR_HTTP_PORT=4318
HOME_PORT=1444
WORKER_PORT=1445
# Plans
@@ -193,7 +191,7 @@ DISABLE_AUTOMATIC_ALERT_CREATION=false
# If you're using an extrenal open telemetry collector, you can set the endpoint here - both server and client endpoint can be the same in this case.
# You can set the env var to http://otel-collector:4318 if you want instrumentation to be sent to otel collector.
# You can set the env var to an OTLP endpoint if you want instrumentation to be exported.
OPENTELEMETRY_EXPORTER_OTLP_ENDPOINT=
# You can set the env var to "x-oneuptime-token=<YOUR_ONEUPTIME_TELEMETRY_INGEST_TOKEN>"
@@ -295,19 +293,12 @@ DISABLE_TELEMETRY_FOR_STATUS_PAGE=true
DISABLE_TELEMETRY_FOR_DASHBOARD=true
DISABLE_TELEMETRY_FOR_PROBE=true
DISABLE_TELEMETRY_FOR_ADMIN_DASHBOARD=true
DISABLE_TELEMETRY_FOR_OTEL_COLLECTOR=true
DISABLE_TELEMETRY_FOR_INGRESS=true
DISABLE_TELEMETRY_FOR_WORKER=true
DISABLE_TELEMETRY_FOR_AI_AGENT=true
# OPENTELEMETRY_COLLECTOR env vars
OPENTELEMETRY_COLLECTOR_SENDING_QUEUE_ENABLED=true
OPENTELEMETRY_COLLECTOR_SENDING_QUEUE_SIZE=1000
OPENTELEMETRY_COLLECTOR_SENDING_QUEUE_NUM_CONSUMERS=3
# Connect OneUptime with Slack App
SLACK_APP_CLIENT_ID=
SLACK_APP_CLIENT_SECRET=