Skip to main content

Progress Observability Instrumentation (Python)

Zero-intrusion telemetry for AI agents and LLM apps. Built on Traceloop SDK and OpenTelemetry with a simple one-line init and optional decorators.

Installation

pip install progress-observability

Or from wheel file:

pip install progress_observability-x.y.z-py3-none-any.whl

Quick Start

from progress.observability import Observability, ObservabilityInstruments

# Initialize once at process start
Observability.instrument(
    app_name="my-app",
    api_key="<your-api-key>",
    # endpoint="https://collector.observability.progress.com:443"  # Optional: has default
)

Configuration

Common options (for Observability.instrument):

  • app_name - Application name for telemetry
  • endpoint - OpenTelemetry collector endpoint
  • api_key - Authentication key
  • debug - Enable debug logging
  • instruments / block_instruments - Control what gets traced via ObservabilityInstruments
  • trace_content - when set to False will stop sending LLM prompt/responses as part of the telemetry data
  • additional_tags - custom tags (see below)

Environment overrides (optional):

  • OBSERVABILITY_APP_NAME sets the application name (e.g. "my-app")
  • OBSERVABILITY_ENDPOINT sets a custom endpoint for collecting data (e.g. "https://collector.observability.progress.com:443")
  • OBSERVABILITY_API_KEY sets the authentication key to use when sending data
  • OBSERVABILITY_TRACE_CONTENT when set to false will stop sending LLM prompt/responses as part of the telemetry data

Auth headers are added automatically for HTTP(S) endpoints when api_key is provided.

Custom Tags

Tags are user-defined strings (max 200 characters each) attached to observations for filtering and grouping.

Global tags — applied to every span:

Observability.instrument(
    app_name="my-app",
    api_key="<your-api-key>",
    additional_tags=["production", "release:2.4.1"],
)

Scoped tags — applied to spans within a specific block via propagate_attributes:

from progress.observability import propagate_attributes

with propagate_attributes(tags=["tenant:acme", "experiment-v2"]):
    # All spans created here inherit these tags
    my_agent_function()

Nesting is supported — tags accumulate from outer to inner scopes.

Decorator tags — applied to a single decorated function:

from progress.observability import task

@task(tags=["cohort-a"])
def my_task():
    ...

Package Structure

src/progress/observability/
├── __init__.py                 # Package entry point
├── sdk.py                      # Main Observability SDK
├── decorators.py               # @task, @workflow, @agent, @tool decorators
├── constants.py                # Environment variables and constants
├── enums.py                    # ObservabilityInstruments enum
├── exceptions.py               # Custom exception types
├── genai_message_processor.py  # LLM span content normalization
├── helpers.py                  # Helper functions
├── model_fix_processor.py      # LLM span attribute repair
├── tags.py                     # Tag propagation span processor

Download files

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

Source Distribution

progress_observability-1.4.6.tar.gz (162.6 kB view details)

Uploaded Source

Built Distribution

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

progress_observability-1.4.6-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file progress_observability-1.4.6.tar.gz.

File metadata

  • Download URL: progress_observability-1.4.6.tar.gz
  • Upload date:
  • Size: 162.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for progress_observability-1.4.6.tar.gz
Algorithm Hash digest
SHA256 b8a6be9312995de99cbb555bacc1a7f1532174ca92f938ca91ef72ad051bc002
MD5 56b66a86eef69d5aaf476115abe36ee6
BLAKE2b-256 3beb66caf23bc2676b272912ef875a1384f684ea334ef23a8356407369ce27c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for progress_observability-1.4.6.tar.gz:

Publisher: publish-instrumentation-python.yaml on telerik/AgentClarity

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

File details

Details for the file progress_observability-1.4.6-py3-none-any.whl.

File metadata

File hashes

Hashes for progress_observability-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ef1c4c2bf53eee33ad2ec1fd9146c0a882d2b9dc3b992ff620859968a0e60876
MD5 2d1e51d7851cd80717b0e6fa4f640ea7
BLAKE2b-256 3adb90ecaaf2f0e0e4f9d9931a7a79e3925218ae7aabbcaf990d40aeacbe2a3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for progress_observability-1.4.6-py3-none-any.whl:

Publisher: publish-instrumentation-python.yaml on telerik/AgentClarity

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

Release history Release notifications | RSS feed

This release

1.4.6 This release

2 files

1.4.3

2 files

1.4.1

2 files

1.2.0

2 files

1.1.4

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page