@midwayjs/prometheusClassesDataServiceVersion: NextSur cette pageDataService Index ConstructorsconstructorPropertiesbInitmetricsprometheusConfigresponseHistogramresponseSummaryuserDefinedMetricsMethodsdefinegetDatagetUserincinitobservesetsetDiffConstructors constructornew DataService(): DataServiceProperties bInitbInit: boolean = falsemetricsmetrics: anyprometheusConfigprometheusConfig: anyresponseHistogramresponseHistogram: Histogram<any>responseSummaryresponseSummary: Summary<any>userDefinedMetricsuserDefinedMetrics: any = {}Methods definedefine(name: any, type: any, options: any): voidgetDatagetData(): Promise<string>getUsergetUser(method: any, status: any, path: any, time: any): Promise<void>incinc(name: any, labels: any, value?: number): Promise<void>initinit(): Promise<void>observeobserve(name: any, labels: any, value: any): Promise<void>setset(name: any, value: any): Promise<void>setDiffsetDiff(name: any, diff: any): Promise<void>