Skip to main content

Sentinel AI Python SDK

Official Python SDK for Sentinel AI — Autonomous AI Observability & Root Cause Analysis Platform.

Installation

pip install sentinelai-telemetry-sdk

Quickstart

from backend.sdk.client import SentinelAISDKClient

# 1. Initialize client with your Sentinel AI project API Key
client = SentinelAISDKClient(
    api_key="stl_live_your_api_key_here",
    service_name="checkout-service",
    environment="production"
)

# 2. Capture logs, metrics, traces, exceptions, or deployment markers
client.capture_log("INFO", "Order processed successfully", attributes={"order_id": "9941"})
client.capture_metric("checkout_latency_ms", 124.5, metric_type="gauge")

# 3. Flush buffered telemetry batch to Sentinel AI backend
client.flush()

Supported Telemetry Signals

  • Logs: client.capture_log(level, message, attributes)
  • Exceptions: client.capture_exception(exception, handled)
  • Traces: client.capture_trace(trace_id, span_id, operation_name, duration_ms)
  • Metrics: client.capture_metric(name, value, metric_type, unit, tags)
  • Deployments: client.capture_deployment(version, commit_hash, commit_message, author)

License

MIT License

Metadata

Release files for sentinelai-telemetry-sdk 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sentinelai-telemetry-sdk 1.0.0
File Size Uploaded Provenance Actions
sentinelai_telemetry_sdk-1.0.0.tar.gz 3.6 kB Without provenance Details for sentinelai_telemetry_sdk-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sentinelai-telemetry-sdk 1.0.0
File Interpreter ABI Platform Actions
sentinelai_telemetry_sdk-1.0.0-py3-none-any.whl Python 3 none any Details for sentinelai_telemetry_sdk-1.0.0-py3-none-any.whl

Total release size: 7.3 kB

Release files / sentinelai_telemetry_sdk-1.0.0.tar.gz

Download URL sentinelai_telemetry_sdk-1.0.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b72f78f14b9647d70357b48afd3ba679c6db3960e1646591cd98a5d5afca04b5
BLAKE2b-256 checksum
How to use checksums
e0ff5bae5638ea3e4c04df0e111bcbde6409a0bd62be9e97db3e017b8490ff27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / sentinelai_telemetry_sdk-1.0.0-py3-none-any.whl

Download URL sentinelai_telemetry_sdk-1.0.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
561ef0c51baff9b271a4fa577162cda05501377a6c0dec608b8bec6eda192028
BLAKE2b-256 checksum
How to use checksums
530ef61038a39aee5064745f394f6f254ed1112cda4d9719a9ece506cf38b377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for sentinelai-telemetry-sdk 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page