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
Metadata
Release files for forgesight-otel 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| forgesight_otel-0.1.1.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| forgesight_otel-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.2 kB
Release files / forgesight_otel-0.1.1.tar.gz
| Download URL | forgesight_otel-0.1.1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac91a803d8ac8124a3f4b91c12c3e6f38780b75fcf07e74a84b5a64b39bcc8b9
|
|
BLAKE2b-256 checksum How to use checksums |
39386533a7c57fde3a67d38f498e12fc4caa1359411a3e664bcb32c256f6ab00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / forgesight_otel-0.1.1-py3-none-any.whl
| Download URL | forgesight_otel-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
985c83fd1693e8d8c99a0435aaa2e30d84fd06978e0fa62b1bff5d7cd750c95a
|
|
BLAKE2b-256 checksum How to use checksums |
098842e352dff415c7e2e8fd863bacead1c7152ce98578ccf921d7bdf801438a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|