import { MetricsService } from "https://deno.land/x/windmill@v1.415.2/windmill-api/services/MetricsService.ts";
Static Methods
getJobMetrics(unnamed 0: { workspace: string; id: string; requestBody: { timeseries_max_datapoints?: number; from_timestamp?: string; to_timestamp?: string; }; }): CancelablePromise<{ metrics_metadata?: Array<MetricMetadata>; scalar_metrics?: Array<ScalarMetric>; timeseries_metrics?: Array<TimeseriesMetric>; }>
get job metrics
getJobProgress(unnamed 0: { workspace: string; id: string; }): CancelablePromise<number>
get job progress
setJobProgress(unnamed 0: { workspace: string; id: string; requestBody: { percent?: number; flow_job_id?: string; }; }): CancelablePromise<any>
set job metrics