Skip to main content

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_id are never labels.
  • push_gateway: http://pushgateway:9091 pushes on shutdown for CI / batch runs.

License

Apache-2.0

Project details


Download files

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

Source Distribution

forgesight_prometheus-0.1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

forgesight_prometheus-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

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

Hashes for forgesight_prometheus-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ad5203764b2d1de5737206934c1b2789e2d0db5e0fbc48dbcc069910d197f0a1
MD5 c37dc97ff9cab08d2128446c131b9976
BLAKE2b-256 45fb79a7b65402a1e3bbc19d075f87190e860fd9f1f5d124b827a6fcd4abf050

See more details on using hashes here.

File details

Details for the file forgesight_prometheus-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for forgesight_prometheus-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d13648ab96deebba1ea1dd2fb2c9db0fbdb9a2cf02c7603a83a55c5c11f18f4
MD5 0900a61ef02eb57a6da2e257a3f601d4
BLAKE2b-256 ff4c1b09459375f31bf5fdf53255bb5eccf5c357135f285b7d5a71a20303caea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page