[Feat]: Add an AISIX AI Gateway Prometheus profile
Problem
Netdata's generic Prometheus collector can scrape AISIX, but it does not currently provide a named AISIX integration or curated charts for operating an AI gateway. Users would otherwise receive generic metric-family charts without an operator-oriented view of gateway traffic, latency, token usage, routing, policy enforcement, and telemetry health.
Description
I would like to contribute a stock aisix profile to the existing Prometheus collector for the open-source AISIX AI Gateway.
AISIX 1.2.0 exposes a dedicated Prometheus endpoint and a registered aisix_* metric catalog. The proposed profile would use the existing collector and automatic profile selection; it would not add a new collector, exporter, or runtime dependency.
Before preparing the full contribution, could you confirm that a product-specific AISIX stock profile and generated integration page are in scope?
Importance
nice to have
Value proposition
- Gives Netdata users curated AI gateway views instead of generic metric-family charts.
- Covers operational questions around request success, end-to-end latency and TTFT, token usage, routing and fallback, cache and guardrail outcomes, and exporter/configuration health.
- Reuses AISIX's existing Prometheus endpoint and Netdata's generic collector, so no new collector is required.
Proposed implementation
If this direction is accepted, I would follow the repository's current stock-profile contract:
- pin the source evidence to AISIX 1.2.0;
- add an automatically selected
aisixPrometheus profile; - define bounded chart identity and label handling for the public metric catalog;
- add the required source semantics, profile design, proof bundle, and sanitized replay fixtures;
- add Prometheus integration metadata so the generated documentation includes AISIX setup and metric coverage;
- run the profile validator, proof replay, metadata generation, and relevant Go tests.
References:
- AISIX repository: https://github.com/api7/aisix
- AISIX metrics reference: https://docs.api7.ai/ai-gateway/reference/metrics
- Netdata Prometheus profiles: https://github.com/netdata/netdata/blob/master/src/go/plugin/go.d/collector/prometheus/profile-format.md
Disclosure: I work at API7.ai, which maintains AISIX. AISIX is an Apache-2.0-licensed independent open-source project.
Source: netdata/netdata