Skip to content

@persistent-ai/fireflow-executor / server / createFireflowMetrics

Function: createFireflowMetrics()

createFireflowMetrics(options): FireflowMetrics

Defined in: packages/fireflow-executor/server/utils/metrics.ts:97

Create the Prometheus metrics instance for a FireFlow service process. Call once per process; wire countRequest() into the HTTP request handler and serve metrics() from GET /metrics (no auth — scrape endpoint).

Parameters

options

FireflowMetricsOptions

Returns

FireflowMetrics

Licensed under BUSL-1.1