You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently `SAP Passport` is only updated when `prepare` and `exec` are
called, but it is required to update every time the database is called.
Therefor this PR shifts the `SAP Passport` criteria to using `prom`.
Which is the re use function `@cap-js/hana` uses inside its generic
driver wrappers to promisify the native driver functions. Therefor by
tracing the `prom` function it traces _all_* driver calls and ensures
that the `SAP Passport` contains an unique trace ID which open telemetry
can anchor itself onto. As without the round trip specific parent trace
ID the open telemetry service provider will see the child trace
timestamps outside of the parent trace window and try to adjust the
timestamp into the parent trace time frame. Which gets especially
confusing when the parent time frame is smaller then the child time
frame.

It still has to be investigated how well the `prom` wrapping approach
works for the `resultset streaming`
(cap-js/cds-dbs#702) feature.
---------
Co-authored-by: D050513 <[email protected]>
0 commit comments