Closed lukashornych closed 4 months ago
New version of evitaDB uses clientId
and traceId
and OpenTelemetry.
evitaLab now sends X-EvitaDB-ClientID
header with clientId with server name for both GraphQL and REST calls. There is no traceId/requestId being sent because there is currently no concept of requesting multiple request under single group (like when rendering single webpage).
In evitaDB we have functionality to monitor client requests by assigning them ids. Specifically
clientId
andrequestId
as documented in the Monitor section of evitaDB docs.In evitaLab, the
clientId
would be consisted of staticevitaLab
prefix and value ofevitalab_servername
cookie (orstandalone
if omitted). TherequestId
would be dynamically generateduuid
for every call of evitaLab to evitaDB instance. Because in evitaLab the requests are not logically joined together like on website where the single page load is the joining element, we will not share request ids between requests right now (this can change in future).cc @novoj