Hi,
We have a microservice that invokes Ory Keto to check if a specific request is allowed. According to the documentation, you can then use the following configuration:
-
Under CORS configuration, I added
allowed_headers: - x-b3-spanid - x-b3-traceid - x-b3-sampled - x-b3-parentspanid
-
Under jaeger configuration:
jaeger: local_agent_address: <jaeger-agent>l:6831 propagation: b3 sampling: server_url: http:/<jaeger-agent>:5778/sampling type: const value: 1 service_name: ORY Keto
-
In my client, I add the following http headers, and the below is a dump of the http request:
"POST /engines/acp/ory/glob/allowed HTTP/1.1\r\nHost: <host>:4456\r\nUser-Agent: Go-http-client/1.1\r\nContent-Length: 84\r\nAccept: application/json\r\nContent-Type: application/json\r\nX-B3-Sampled: 1\r\nX-B3-Spanid: 53a25bd3c253a200\r\nX-B3-Traceid: 61fcfc22185e56ed329a86f6fc233516\r\nx-b3-parentspanid: 53a25bd3c253a200\r\nAccept-Encoding: gzip\r\n\r\n{\"action\":\"read\",\"resource\":\"devicemgmt:instruments\",\"subject\":\"[email protected]\"}
But, looking in the Jaeger UI, I do get a span for /engines/acp/ory/glob/allowed, but it’s not a child span of the span propagated as http headers. What could be the issue here?
Regards
Lars