chore(nginx): rename open-telemetry-ingest upstream to telemetry and update proxy_pass targets (/telemetry, fluentd and syslog endpoints)

This commit is contained in:
Nawaz Dhandala
2025-11-07 21:42:26 +00:00
parent f49b1995df
commit ea9a245b82

View File

@@ -15,11 +15,10 @@ upstream probe-ingest {
server ${SERVER_PROBE_INGEST_HOSTNAME}:${PROBE_INGEST_PORT} weight=10 max_fails=3 fail_timeout=30s;
}
upstream open-telemetry-ingest {
server ${SERVER_OPEN_TELEMETRY_INGEST_HOSTNAME}:${OPEN_TELEMETRY_INGEST_PORT} weight=10 max_fails=3 fail_timeout=30s;
upstream telemetry {
server ${SERVER_TELEMETRY_HOSTNAME}:${TELEMETRY_PORT} weight=10 max_fails=3 fail_timeout=30s;
}
upstream server-monitor-ingest {
server ${SERVER_SERVER_MONITOR_INGEST_HOSTNAME}:${SERVER_MONITOR_INGEST_PORT} weight=10 max_fails=3 fail_timeout=30s;
}
@@ -522,7 +521,7 @@ ${PROVISION_SSL_CERTIFICATE_KEY_DIRECTIVE}
}
location /open-telemetry-ingest {
location /telemetry {
# This is for nginx not to crash when service is not available.
resolver 127.0.0.1 valid=30s;
@@ -531,7 +530,7 @@ ${PROVISION_SSL_CERTIFICATE_KEY_DIRECTIVE}
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://open-telemetry-ingest;
proxy_pass http://telemetry;
}
location /incoming-request-ingest {
@@ -599,7 +598,7 @@ ${PROVISION_SSL_CERTIFICATE_KEY_DIRECTIVE}
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://open-telemetry-ingest/fluentd/v1/logs;
proxy_pass http://telemetry/fluentd/v1/logs;
}
location /syslog/v1/logs {
@@ -614,7 +613,7 @@ ${PROVISION_SSL_CERTIFICATE_KEY_DIRECTIVE}
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://open-telemetry-ingest/syslog/v1/logs;
proxy_pass http://telemetry/syslog/v1/logs;
}
location /probe-ingest {