X-Ray Config Reference

incendiary.xray.config

INCENDIARY_XRAY_ENABLED: bool = True

Determines if tracing should be enabled for this application.

INCENDIARY_XRAY_DAEMON_HOST: str = '127.0.0.1'

The host of the running X-Ray Daemon

INCENDIARY_XRAY_DAEMON_PORT: int = 2000

The port of the running X-Ray Daemon

INCENDIARY_XRAY_CONTEXT_MISSING_STRATEGY: str = 'LOG_ERROR'

Behavior when context is missing in X-Ray. Values can be LOG_ERROR or RUNTIME_ERROR.

INCENDIARY_XRAY_PATCH_MODULES: Tuple[str] = ('aiobotocore',)

Modules to auto patch on initialization.

INCENDIARY_XRAY_DEFAULT_SAMPLING_FIXED_TARGET: int = 600

The default sampling value for fixed target.

INCENDIARY_XRAY_DEFAULT_SAMPLING_RATE: float = 0.01

The default sampling rate.

INCENDIARY_XRAY_SAMPLING_RULES: dict = {'default': {'fixed_target': 600, 'rate': 0.01}, 'rules': [], 'version': 1}

The local sampling rules for the recorder.