mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
chore(nginx): rename open-telemetry-ingest upstream to telemetry and update proxy_pass targets (/telemetry, fluentd and syslog endpoints)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user