SDK Initialization Config
You can initialize the SDK with configuration settings.
from hackle import hackle
from hackle.config import HackleConfig
config = HackleConfig.builder() \
.sdk_url(YOUR_SERVER_SDK_URL) \
.event_url(YOUR_SERVER_EVENT_URL) \
.monitoring_url(YOUR_SERVER_MONITORING_URL) \
.build()
client = hackle.Client(sdk_key=YOUR_SERVER_SDK_KEY, config=config)All Configuration Options
Setting
Description
Default
Supported Version
sdk_url
Modifies the config URL.
hackle url
3.8.0 +
event_url
Modifies the event URL.
hackle url
3.8.0 +
monitoring_url
Modifies the metric URL.
hackle url
3.8.0 +
monitoring_enabled
Enables metric collection.
True
3.9.0 +
Last updated