Skip to main content

forgesight-prometheus

The Prometheus exporter for ForgeSight. Bridges ForgeSight's product metrics + GenAI histograms onto a Prometheus registry with a pull /metrics endpoint (and an optional Pushgateway for short-lived runs).

pip install forgesight-prometheus
import forgesight
from forgesight_prometheus import PrometheusExporter

forgesight.configure(exporters=[PrometheusExporter(port=9464, prefix="forgesight")])
# Prometheus scrapes http://<host>:9464/metrics

Or by name via config: exporters: [{name: prometheus, config: {port: 9464}}].

  • Labels are cardinality-bounded (agent name / provider / model / status / …); run_id/trace_id are never labels.
  • push_gateway: http://pushgateway:9091 pushes on shutdown for CI / batch runs.

License

Apache-2.0

Metadata

Release files for forgesight-prometheus 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for forgesight-prometheus 0.1.1
File Size Uploaded
forgesight_prometheus-0.1.1.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for forgesight-prometheus 0.1.1
File Interpreter ABI Platform
forgesight_prometheus-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / forgesight_prometheus-0.1.1.tar.gz

Download URL forgesight_prometheus-0.1.1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ad5203764b2d1de5737206934c1b2789e2d0db5e0fbc48dbcc069910d197f0a1
BLAKE2b-256 checksum
How to use checksums
45fb79a7b65402a1e3bbc19d075f87190e860fd9f1f5d124b827a6fcd4abf050
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / forgesight_prometheus-0.1.1-py3-none-any.whl

Download URL forgesight_prometheus-0.1.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d13648ab96deebba1ea1dd2fb2c9db0fbdb9a2cf02c7603a83a55c5c11f18f4
BLAKE2b-256 checksum
How to use checksums
ff4c1b09459375f31bf5fdf53255bb5eccf5c357135f285b7d5a71a20303caea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release 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