-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle correlation IDs #96
Comments
@keithralphs or @DiamondJoseph is this issue still relevant or is there a telemetry issue to supersede it? |
I think the telemetry stuff will encompass this, though there may be some nuance as to how exactly we want to do it, so I would keep this here for now until we've fully worked that out. My plan is to get Joe to apply Otel to his newly subprocessed BlueAPI so we'll prorbably address it then. |
what is the further use of this correlation? the term implies some other related data structure but it is not clear what that is |
https://playbook.microsoft.com/code-with-engineering/observability/correlation-id/ This should be injected automatically at the gateway to the services, propagate through all involved services and be part of standard logging. The observability platform will use it for metrics, but also of use for trouble shooting. |
Isn't it better if we just always add it ourselves, at the first injection - such as the first blueapi request? why would we ever rely on the user to generate them? @callumforrester I think we get this for free with using pydantic models |
"the gateway to the services" is "us" and is the entrypoint to the system for a user request. |
Ah see what you mean.
Requests will eventually come from a service gateway that will inject the correlation id, which should then be propagated through outward requests/emitted documents. For now, since the gateway is still being created, if the request has one (e.g. it's been generated in GDA to trace/debug requests from that client) we propagate it, else we create it. |
there is blueapi, keycloak, runengine, idk |
Now done by @keithralphs tracing changes |
Requests may come in with correlation IDs. If they do not, we should generate them.
The text was updated successfully, but these errors were encountered: