Skip to content

five-on-it / apps/api/src/metrics / createApiMetrics

Function: createApiMetrics() ​

createApiMetrics(fleet?, creator?): ApiMetrics

Defined in: apps/api/src/metrics.ts:74

The API's metrics, the fleet's read from its registry when it has one, the creations' gauges from creator when creation is on (declared all the same, without a value).

Parameters ​

fleet? ​

FleetRegistry

creator? ​

CreatorSource

Returns ​

ApiMetrics