mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
12 lines
505 B
TypeScript
12 lines
505 B
TypeScript
import MetricHistogram from 'Model/AnalyticsModels/MetricHistogram';
|
|
import AnalyticsDatabaseService from './AnalyticsDatabaseService';
|
|
import ClickhouseDatabase from '../Infrastructure/ClickhouseDatabase';
|
|
|
|
export class MetricHistogramService extends AnalyticsDatabaseService<MetricHistogram> {
|
|
public constructor(clickhouseDatabase?: ClickhouseDatabase | undefined) {
|
|
super({ modelType: MetricHistogram, database: clickhouseDatabase });
|
|
}
|
|
}
|
|
|
|
export default new MetricHistogramService();
|