#
setGlobalSpanAttributes
Set global attributes to be included in all Honeycomb Web traces.
This function serves as a wrapper around the @workleap/honeycomb library. Before using it, read the documentation for the setGlobalSpanAttributes function provided by @workleap/honeycomb
.
#
Reference
setGlobalSpanAttributes(attributes: {})
#
Parameters
attributes
: The attributes to include in every trace.
#
Returns
Nothing
#
Usage
import { setGlobalSpanAttributes } from "@squide/firefly-honeycomb";
setGlobalSpanAttributes({
"app.user_id": "123"
});