Skip to main content

Prisma OpenTelemetry SDK - Lightweight wrapper for Oversight Intelligence platform

Reason this release was yanked:

Released under MIT. Project relicensed to Apache 2.0 in v0.6.2 — install palqee-prisma-otel>=0.6.2.

Project description

Palqee Prisma OpenTelemetry SDK

Lightweight OpenTelemetry wrapper that ships traces and spans to the Palqee Prisma oversight intelligence platform.

PyPI version Python versions License Documentation


What is this?

palqee-prisma-otel is the transport layer for getting OpenTelemetry traces into Palqee Prisma. It configures an OTLP HTTP exporter pre-wired to authenticate against Prisma's Receiver and tag every span with the resource attributes Prisma uses to route traces to the right run and project.

Most applications should reach for palqee-prisma-ai — the high-level SDK that bundles this wrapper, attaches validators, and exposes a one-line init(). Pick palqee-prisma-otel directly when you need:

  • Tracing without the full SDK — sidecars, batch jobs, or libraries that emit spans but never call validators.
  • An existing OpenTelemetry setup — you already configure tracers, processors, and propagators yourself, and just need a Prisma-aware exporter.
  • Tight control over span emission — long-lived services that manage their own TracerProvider lifecycle.

Installation

pip install palqee-prisma-otel

Imports as palqee_prisma_otel:

from palqee_prisma_otel import configure_tracing

Requires Python 3.10+.

Quickstart

import os
from palqee_prisma_otel import configure_tracing

configure_tracing(
    api_key=os.environ["PALQEE_PRISMA_API_KEY"],
    service_name="complaints-review",
    run_id="run-abc123",         # routes spans to this run in Prisma
    project_id="proj-xyz789",    # routes spans to this project in Prisma
)

# Any OpenTelemetry span emitted from here on flows to Prisma.
from opentelemetry import trace

tracer = trace.get_tracer(__name__)
with tracer.start_as_current_span("review.case") as span:
    span.set_attribute("case.id", "CMP-2025-0001")
    ...

With PALQEE_PRISMA_API_KEY and PALQEE_PRISMA_OTEL_ENDPOINT set, the call collapses to configure_tracing(service_name="...").

What gets exported

Once configured, every span emitted by your process — from your own code or from any OpenTelemetry instrumentation library — flows to Prisma over OTLP HTTP. That includes spans from popular LLM instrumentation:

Provider / framework Instrumentation
OpenAI, Anthropic Claude, Meta Llama, Bedrock, Gemini OpenInference or OpenLLMetry
LangChain, LangGraph OpenInference / OpenLLMetry
LlamaIndex OpenInference
CrewAI, AutoGen, Haystack OpenLLMetry
Custom code opentelemetry-api spans

palqee-prisma-otel does not install instrumentation libraries — pick the ones you want and install them alongside.

Configuration

Parameter Environment variable Default Description
api_key PALQEE_PRISMA_API_KEY required Sent as x-api-key header to the Prisma Receiver
endpoint PALQEE_PRISMA_OTEL_ENDPOINT https://otel.prisma.ai:4318 OTLP HTTP endpoint of your Prisma deployment
service_name "prisma-app" OTEL service.name resource attribute
run_id None Attached as prisma.run.id for trace-to-run routing
project_id None Attached as prisma.project.id for trace-to-project routing

Full configuration reference: docs.palqee.com/docs/overview.

Features

  • Authenticated OTLP exportx-api-key header pre-wired to the Prisma Receiver.
  • HTTP transport — uses the standard opentelemetry-exporter-otlp-proto-http exporter.
  • Batch span processing — efficient buffered export, no per-call network overhead.
  • Resource attributesprisma.run.id and prisma.project.id for server-side routing.
  • Environment-first — runs in 12-factor / containerized deployments without code changes.

When to use this vs palqee-prisma-ai

Need Reach for
Instrument an app, run validators, ship to Prisma in one call palqee-prisma-ai
Send OpenTelemetry spans to Prisma from an existing OTEL setup palqee-prisma-otel (this package)
Both The SDK uses this wrapper under the hood — installing the SDK is enough

Links

License

MIT © Palqee

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

palqee_prisma_otel-0.6.1.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

palqee_prisma_otel-0.6.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file palqee_prisma_otel-0.6.1.tar.gz.

File metadata

  • Download URL: palqee_prisma_otel-0.6.1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for palqee_prisma_otel-0.6.1.tar.gz
Algorithm Hash digest
SHA256 1c93dd1361470a9dec7809e0ed2ba958bfc5c9f4b2366fd21ce3bf3e908d9b53
MD5 27be932626c3c350e3cc004016618aa6
BLAKE2b-256 67b66adc25b832f87bfe87addbc051f5038003ff046ecb3a649a958c9fc67d68

See more details on using hashes here.

Provenance

The following attestation bundles were made for palqee_prisma_otel-0.6.1.tar.gz:

Publisher: publish.yml on Palqee/prisma-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file palqee_prisma_otel-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for palqee_prisma_otel-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 136919f1e6072754d85a11621ea4ab572c382a897bbc6c3e9cec9783cf236360
MD5 a967d6e162115fe1fda7f2f18d6218cb
BLAKE2b-256 3c098bdbe4dccfa8e3c5d262367c349c5350decc594cb384f447ef877305cbab

See more details on using hashes here.

Provenance

The following attestation bundles were made for palqee_prisma_otel-0.6.1-py3-none-any.whl:

Publisher: publish.yml on Palqee/prisma-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page