ForgeSight OpenTelemetry exporter — maps records to OTLP spans via the GenAI semantic conventions.
Project description
forgesight-otel
The OpenTelemetry exporter for ForgeSight.
Maps ForgeSight Records onto OTLP spans using the OpenTelemetry GenAI semantic
conventions — so anything that ingests OTLP (Datadog, Honeycomb, Jaeger, Grafana
Tempo, SigNoz, New Relic, Arize Phoenix) works with no additional package.
pip install forgesight-otel
import forgesight
from forgesight_otel import OTelExporter
forgesight.configure(exporters=[OTelExporter(endpoint="http://otel-collector:4318")])
Or enable by name via config (exporters: [{name: otel, config: {...}}]) — it
registers under the forgesight.exporters entry point.
- Provider discriminator:
gen_ai.provider.name(legacygen_ai.systemopt-in). - Cost: emitted as the extension attribute
forgesight.usage.cost_usd(OTel defines no cost attribute). - Prompt/response content is off by default (
capture_content=Trueto opt in). - gRPC transport:
pip install forgesight-otel[grpc]+protocol="grpc".
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forgesight_otel-0.1.0.tar.gz.
File metadata
- Download URL: forgesight_otel-0.1.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
649d8eae38225067a25c29632cffeaa5de1da89ac2d183f0efe5f8dd482db4e0
|
|
| MD5 |
c6d12c5bfeafd1c0962208f3a118c5eb
|
|
| BLAKE2b-256 |
8d6156ff614c1977948cf0c67ab8e4c45c90559862c17712ae5bb1c412af4ed9
|
File details
Details for the file forgesight_otel-0.1.0-py3-none-any.whl.
File metadata
- Download URL: forgesight_otel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38831bebdee727fdc1433b2c0a590c84e3ab9ef1661dc246aeba0b7056d0439f
|
|
| MD5 |
f3965c87a29ed67425ce570f332c8d14
|
|
| BLAKE2b-256 |
4ad25c3ad7f4d9dbdb87cd5880d4263a1eb93b856cf660f9a0204f36bfc42d49
|