feat: improve event tracking and SDK robustness
- Add specific error tracking for rate-limited and oversized events in API response - Ensure runtime settings are applied on initial access in settings manager - Exclude /api/health from middleware protection - Update Python SDK to v2.2.0 with unified standalone implementation - Add auto_prune_days setting to database schema retrieval
This commit is contained in:
1 parent
0c2e49cd47
commit
043123dc21
12 files changed
+1018
-128
No files matched your search
@@ -1,10 +1,43 @@
|
||||
"""
|
||||
DataStack Python SDK
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
High-performance real-time data collection client for python applications.
|
||||
DataStack Python SDK (`datastack_sdk`)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Official Python client library for DataStack — Self-Hosted Real-Time Telemetry & Event Logging Platform.
|
||||
"""
|
||||
|
||||
from .client import DataStackClient
|
||||
from .client import (
|
||||
ConnectionState,
|
||||
DataStack,
|
||||
DataStackAuthError,
|
||||
DataStackClient,
|
||||
DataStackConfig,
|
||||
DataStackConfigError,
|
||||
DataStackConnectionError,
|
||||
DataStackError,
|
||||
DataStackFileError,
|
||||
DataStackOfflineSpoolError,
|
||||
DataStackPayloadTooLargeError,
|
||||
DataStackRateLimitError,
|
||||
DiskSpooler,
|
||||
HeartbeatMonitor,
|
||||
load_config,
|
||||
)
|
||||
|
||||
__version__ = "1.0.0"
|
||||
__all__ = ["DataStackClient"]
|
||||
__version__ = "2.2.0"
|
||||
|
||||
__all__ = [
|
||||
"DataStack",
|
||||
"DataStackClient",
|
||||
"DataStackConfig",
|
||||
"load_config",
|
||||
"ConnectionState",
|
||||
"HeartbeatMonitor",
|
||||
"DiskSpooler",
|
||||
"DataStackError",
|
||||
"DataStackConfigError",
|
||||
"DataStackAuthError",
|
||||
"DataStackConnectionError",
|
||||
"DataStackRateLimitError",
|
||||
"DataStackPayloadTooLargeError",
|
||||
"DataStackFileError",
|
||||
"DataStackOfflineSpoolError",
|
||||
]
|
||||
Reference in new issue
Block a user