Skip to main content

Reference

OTLP setup and the observability wrapper

Configure an approved telemetry path, then check the resulting source and measurements.

Get exporter settings

  1. Install the Telara CLI, sign in and select the intended tenant and configuration. Review the connector’s source, availability and access requirements.
  2. Run telara otlp to mint a scoped MCP key and print the OTLP endpoint and authorization settings. telara provision otlp is an alias. The output contains a credential and must be handled as a secret.
  3. To use an existing key, supply --api-key; --print-only requires an existing key. Configure only the exporter settings supported by the chosen client or organization-managed deployment.
  4. The printed snippet selects OTLP HTTP protobuf and contains the endpoint and bearer authorization header. Claude Code telemetry also requires its client-specific enable setting. Do not assume another vendor accepts the same switches.

Review CLI commands and flags and the relevant connector’s Status and limits before use.

Python observability wrapper

The telara-observability package configures supported frameworks’ native OpenTelemetry instrumentation for the receiver. It catches and logs instrumentation failures, so application success alone is not proof that telemetry was collected. Verify package distribution and each provider path before depending on it.

The source declares these framework identifiers for instrument(framework, api_key=..., endpoint=..., user=..., service_name=...). Optional arguments may be supplied explicitly. Credentials belong in an approved secret store.

  • langchain
  • langgraph
  • crewai
  • autogen
  • llamaindex
  • openai_agents
  • openai_direct
  • anthropic_direct
  • azure_openai_direct

Package extras declared by the source

Choose an extra that matches the installed framework and verify its instrumentation package and compatibility. An extra name is not a promise of vendor-specific setup.

  • langchain opentelemetry-instrumentation-langchain>=0.40.0
  • langgraph opentelemetry-instrumentation-langchain>=0.40.0
  • crewai opentelemetry-instrumentation-crewai>=0.40.0
  • autogen No additional package declared
  • llamaindex opentelemetry-instrumentation-llamaindex>=0.40.0
  • openai-agents opentelemetry-instrumentation-openai-agents>=0.1.0
  • openai opentelemetry-instrumentation-openai>=0.40.0
  • anthropic opentelemetry-instrumentation-anthropic>=0.40.0
  • azure-openai opentelemetry-instrumentation-openai>=0.40.0

The wrapper groups spans with a run ID. If both a framework adapter and direct provider instrumentation are active, provider spans are tagged separately to avoid counting the same call twice in the described rollup path.

Review vendor exporter and package qualifications

Verify collection

  1. Make a permitted test call with test-owned data and inspect the application’s telemetry logs for exporter errors.
  2. Review the connector health, source timestamp and resulting spend or usage record. Compare the recorded units and attribution with the source.
  3. If no record appears, check client-specific exporter support, endpoint, authorization and policy. An empty view does not prove zero usage.