oneuptime/CommonServer/Services/MetricGaugeService.ts
Simon Larsen ee54a324d7
add guage
2023-10-24 13:35:26 +01:00

12 lines
481 B
TypeScript

import MetricGauge from 'Model/AnalyticsModels/MetricGauge';
import AnalyticsDatabaseService from './AnalyticsDatabaseService';
import ClickhouseDatabase from '../Infrastructure/ClickhouseDatabase';
export class MetricGaugeService extends AnalyticsDatabaseService<MetricGauge> {
public constructor(clickhouseDatabase?: ClickhouseDatabase | undefined) {
super({ modelType: MetricGauge, database: clickhouseDatabase });
}
}
export default new MetricGaugeService();