Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/index.ts>MetricsService

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Latest
class MetricsService
import { MetricsService } from "https://deno.land/x/windmill@v1.416.1/windmill-api/index.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