In both distributed, and complex systems, tracing events is crucial for understanding the flow of requests and identifying performance bottlenecks.
Products like Honeycomb, Datadog, Sentry and Grafana Tempo are popular choices for visualising and analysing traces.
OpenTelemetry, or OTEL, is a standard for instrumenting applications to generate telemetry data.
It provides a set of SDKs across multiple languages for producing telemetry data consumable by various observability tools.
Events sent over Sailhouse can be traced using OpenTelemetry, utilising their propogation API.
Although the examples below can be used in every invocation, setting up a global package/module which handles common orchestration logic like this will make it easier to modify this behaviour in the future.
Events on Sailhouse have an optional metadata object that can be used to add additional context to the event.
When processing an event, you can extract the trace information from the metadata object and use it to continue the trace.
In both distributed, and complex systems, tracing events is crucial for understanding the flow of requests and identifying performance bottlenecks.
Products like Honeycomb, Datadog, Sentry and Grafana Tempo are popular choices for visualising and analysing traces.
OpenTelemetry, or OTEL, is a standard for instrumenting applications to generate telemetry data.
It provides a set of SDKs across multiple languages for producing telemetry data consumable by various observability tools.
Events sent over Sailhouse can be traced using OpenTelemetry, utilising their propogation API.
Although the examples below can be used in every invocation, setting up a global package/module which handles common orchestration logic like this will make it easier to modify this behaviour in the future.
Events on Sailhouse have an optional metadata object that can be used to add additional context to the event.
When processing an event, you can extract the trace information from the metadata object and use it to continue the trace.