clapper / src /services /metrics /getDefaultMetricsState.ts
jbilcke-hf's picture
jbilcke-hf HF staff
add linter and prettifier
c1f12bf
raw
history blame
323 Bytes
import { getDefaultMetricsPerProvider } from './getDefaultMetricsPerProvider'
import { MetricsState } from './types'
export function getDefaultMetricsState(): MetricsState {
const defaults: MetricsState = {
metricsPerProvider: getDefaultMetricsPerProvider(),
totalCostSinceAppStarted: 0,
}
return defaults
}