# setGlobalSpanAttributes

Set global attributes to be included in all Honeycomb web traces.

# Reference

setGlobalSpanAttributes(attributes: {})

# Parameters

  • attributes: The attributes to include in every trace.

# Returns

Nothing

# Usage

import { setGlobalSpanAttributes } from "@workleap/honeycomb";

setGlobalSpanAttributes({
    "app.user_id": "123"
});