SigNoz


To directly send OpenTelemetry metrics and traces generated by Shield360 from your AI Application to SigNoz, follow the below steps.
1. Get your Credentials
SigNoz configuration requires two values:
-
SigNoz Endpoint: Your SigNoz instance endpoint URL
- SigNoz Cloud:
https://ingest.{region}.signoz.cloud:443 - Self-Hosted:
http://your-signoz-host:4318(or your custom endpoint)
- SigNoz Cloud:
-
Ingestion Key: Your SigNoz access token for authentication
- SigNoz Cloud: Available in your SigNoz Cloud settings → Ingestion Keys
- Self-Hosted: Set up according to your SigNoz deployment configuration
2. Instrument your application
For direct integration into your Python applications:
import shield360
shield360.init( otlp_endpoint="SIGNOZ_ENDPOINT", otlp_headers="signoz-access-token=SIGNOZ_INGESTION_KEY")Replace:
SIGNOZ_ENDPOINTwith your SigNoz endpoint URL.- Example:
https://ingest.{region}.signoz.cloud:443
- Example:
SIGNOZ_INGESTION_KEYwith the access token provided by SigNoz.- Example:
896cc137-xxxx-xxxx-b8a0-a6d7ab65f274
- Example:
import shield360
shield360.init()Set these environment variables:
export OTEL_EXPORTER_OTLP_ENDPOINT="SIGNOZ_ENDPOINT"export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token=SIGNOZ_INGESTION_KEY"Replace:
SIGNOZ_ENDPOINTwith your SigNoz endpoint URL.- Example:
https://ingest.{region}.signoz.cloud:443
- Example:
SIGNOZ_INGESTION_KEYwith the access token provided by SigNoz.- Example:
896cc137-xxxx-xxxx-b8a0-a6d7ab65f274
- Example:
Refer to the Shield360 SDK configuration reference for more advanced configurations and use cases.
For zero-code auto-instrumentation via command line:
# Using CLI argumentsshield360-instrument \ --otlp-endpoint "SIGNOZ_ENDPOINT" \ --otlp-headers "signoz-access-token=SIGNOZ_INGESTION_KEY" \ --service-name "my-ai-service" \ --deployment-environment "production" \ python app.pyReplace:
SIGNOZ_ENDPOINTwith your SigNoz endpoint URL.- Example:
https://ingest.{region}.signoz.cloud:443
- Example:
SIGNOZ_INGESTION_KEYwith the access token provided by SigNoz.- Example:
896cc137-xxxx-xxxx-b8a0-a6d7ab65f274
- Example:
# Set environment variables (takes precedence over CLI args)export OTEL_EXPORTER_OTLP_ENDPOINT="SIGNOZ_ENDPOINT"export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token=SIGNOZ_INGESTION_KEY"export OTEL_SERVICE_NAME="my-ai-service"export OTEL_DEPLOYMENT_ENVIRONMENT="production"
# Run your applicationshield360-instrument python app.pyReplace:
SIGNOZ_ENDPOINTwith your SigNoz endpoint URL.- Example:
https://ingest.{region}.signoz.cloud:443
- Example:
SIGNOZ_INGESTION_KEYwith the access token provided by SigNoz.- Example:
896cc137-xxxx-xxxx-b8a0-a6d7ab65f274
- Example:
Refer to the Shield360 SDK configuration reference for more advanced configurations and use cases.
3. Explore your telemetry
After telemetry arrives, use SigNoz’s query builder and dashboard tools to create views that fit your application and deployment.