ForgeSight Prometheus exporter — pull /metrics + push-gateway for agent telemetry.
Project description
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_idare never labels. push_gateway: http://pushgateway:9091pushes on shutdown for CI / batch runs.
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_prometheus-0.1.1.tar.gz.
File metadata
- Download URL: forgesight_prometheus-0.1.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad5203764b2d1de5737206934c1b2789e2d0db5e0fbc48dbcc069910d197f0a1
|
|
| MD5 |
c37dc97ff9cab08d2128446c131b9976
|
|
| BLAKE2b-256 |
45fb79a7b65402a1e3bbc19d075f87190e860fd9f1f5d124b827a6fcd4abf050
|
File details
Details for the file forgesight_prometheus-0.1.1-py3-none-any.whl.
File metadata
- Download URL: forgesight_prometheus-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.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 |
7d13648ab96deebba1ea1dd2fb2c9db0fbdb9a2cf02c7603a83a55c5c11f18f4
|
|
| MD5 |
0900a61ef02eb57a6da2e257a3f601d4
|
|
| BLAKE2b-256 |
ff4c1b09459375f31bf5fdf53255bb5eccf5c357135f285b7d5a71a20303caea
|