Appearance
To send OpenTelemetry traces generated by ARMS from your AI Application to Murnitur.ai, follow the below steps.
1. Get your Credentials
- Visit Murnitur.ai: Go to Murnitur.ai to create your account
- Generate API Key: Navigate to your dashboard and generate your API key
- Save your credentials:
- API Key: Your Murnitur trace token for authentication
- Endpoint:
https://middleware.murnitur.ai
INFO
Murnitur.ai is optimized for trace data. The integration automatically disables metrics to focus on trace observability.
2. Instrument your application
SDK
For direct integration into your Python applications:
Function Arguments
python
import elsai_arms
elsai_arms.init(
otlp_endpoint="https://middleware.murnitur.ai",
otlp_headers="x-murnix-trace-token=YOUR_MURNITUR_API_KEY",
disable_metrics=True # Murnitur focuses on trace data
)Replace:
YOUR_MURNITUR_API_KEYwith your Murnitur API key from Step 1.
Environment Variables
python
import elsai_arms
elsai_arms.init()Set these environment variables:
shell
export OTEL_EXPORTER_OTLP_ENDPOINT="https://middleware.murnitur.ai"
export OTEL_EXPORTER_OTLP_HEADERS="x-murnix-trace-token=YOUR_MURNITUR_API_KEY"
export OTEL_SERVICE_NAME="my-ai-service"
export OTEL_DEPLOYMENT_ENVIRONMENT="production"
export ELSAI_ARMS_DISABLE_METRICS="true"Replace:
YOUR_MURNITUR_API_KEYwith your Murnitur API key from Step 1.
See the ARMS SDK configuration docs for more advanced options.
CLI
For zero-code auto-instrumentation via command line:
CLI Arguments
shell
# Using CLI arguments
elsai-arms-instrument \
--otlp-endpoint "https://middleware.murnitur.ai" \
--otlp-headers "x-murnix-trace-token=YOUR_MURNITUR_API_KEY" \
--service-name "my-ai-service" \
--deployment-environment "production" \
--disable-metrics \
python app.pyReplace:
YOUR_MURNITUR_API_KEYwith your Murnitur API key from Step 1.
Environment Variables
shell
# Set environment variables (takes precedence over CLI args)
export OTEL_EXPORTER_OTLP_ENDPOINT="https://middleware.murnitur.ai"
export OTEL_EXPORTER_OTLP_HEADERS="x-murnix-trace-token=YOUR_MURNITUR_API_KEY"
export OTEL_SERVICE_NAME="my-ai-service"
export OTEL_DEPLOYMENT_ENVIRONMENT="production"
export ELSAI_ARMS_DISABLE_METRICS="true"
# Run your application
elsai-arms-instrument python app.pyReplace:
YOUR_MURNITUR_API_KEYwith your Murnitur API key from Step 1.
See the ARMS SDK configuration docs for more advanced options.
3. Visualize in Murnitur.ai
Once your LLM application is instrumented, you can explore the telemetry data in Murnitur.ai:
- Navigate to Murnitur.ai: Go to your Murnitur.ai Dashboard
- Explore Traces: View your AI application traces including:
- LLM request traces with detailed timing and execution flow
- Model performance analytics and latency metrics
- Request/response data for debugging and optimization
- Token usage and cost tracking information
- Complete trace hierarchy showing the full request lifecycle
- Trace Analytics: Analyze patterns, performance bottlenecks, and usage trends
- Performance Monitoring: Monitor latency, throughput, and error rates
- Debugging Tools: Use detailed trace data to debug and optimize your AI applications
Your ARMS-instrumented AI applications will appear automatically in Murnitur.ai with comprehensive trace observability focused on LLM performance, execution flow, and detailed debugging capabilities optimized for AI workloads.