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="agentforge")])
# 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.0.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.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file forgesight_prometheus-0.1.0.tar.gz.

File metadata

  • Download URL: forgesight_prometheus-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 1cf766fad67ad21a6de92307ffb275170bdd1cb0b1daca04e46956f55c5d0be1
MD5 e38053fb09a1c8ad599af9a05add5189
BLAKE2b-256 1d0735600d11cbfbbb6a8f6d9c6986ab4febb5877e5ebf07d81c02f3c366035e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for forgesight_prometheus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 273728b834f3b200f95ea2e10103d3ab891d5bc089731c3ebb7a95c2644ab75d
MD5 756320fb11712c905665dbb0521dd172
BLAKE2b-256 c2c9fa70fd38206edf331733eba01cb67bd23f0be2c15295658d4c7f996aea7b

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