Prerequisites
- Python 3.8+
pipfor installing packages- Access to the OneX ingestion endpoint (or a Test environment)
Installation
Note: Always review the package metadata on PyPI to confirm the latest published version and release notes.
Minimal instrumentation
Environment tagging
The OneX Observability platform supports multiple environments (e.g. sandbox, development, production). Logs and signals are tagged and stored per environment, and which environment receives your data depends on theendpoint you pass to OneXMonitor.
Each environment has its own ingestion endpoint in the OneX Observability
Dashboard. Use the endpoint
for the environment where you want your logs to appear for example, use the
development endpoint when running locally, and the production endpoint in
production. Signals posted to a given endpoint are associated with that
environment in the platform.
Verifying signals
From the platform perspective (OneX Observability Dashboard at https://dashboard.observability.getonex.ai):- Run a forward pass through your instrumented model so the SDK sends signals.
- Confirm the API host for your environment receives traffic. The host is
determined by the
endpointyou passed toOneXMonitoreach environment (sandbox, development, production) has its own ingestion URL in the dashboard. - In the dashboard (or your environment’s ingestion base URL), check the
batch route (e.g.
/api/signals/batch) to verify that signals are posted successfully and appear in your project logs.
