Add CORS to jaeger query endpoint and make spans nested

Adds an nginx in front of the query endpoint so we can use stalk
without faffing with browser extension to bypass CORS.

Also make the spans correctly have the call membership span as parent,
which they didn't because we hadn't set the span at the point we made
the context.
This commit is contained in:
David Baker
2023-03-17 17:01:59 +00:00
parent 521b0a857a
commit f8f5d2011d
3 changed files with 35 additions and 15 deletions

View File

@@ -21,3 +21,9 @@ services:
- "55670:55679" # zpages extension
depends_on:
- jaeger-all-in-one
nginx:
image: nginxinc/nginx-unprivileged:latest
volumes:
- ./nginx_otel.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- "16687:8080"