Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 318 Bytes

README.rst

File metadata and controls

16 lines (11 loc) · 318 Bytes

Usage

from aws_xray_sdk.core import xray_recorder
from apistar_aws_xray.event_hooks import AWSXrayEventHook

xray_recorder.configure(service='my-service')

event_hooks = [AWSXrayEventHook(xray_recorder)]

app = App(
    ...
    event_hooks = event_hooks
)