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

x/windmill/windmill-api/services/MetricsService.ts>MetricsService.getJobMetrics

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method MetricsService.getJobMetrics
import { MetricsService } from "https://deno.land/x/windmill@v1.396.1/windmill-api/services/MetricsService.ts";

get job metrics

Parameters

unnamed 0: { workspace: string; id: string; requestBody: { timeseries_max_datapoints?: number; from_timestamp?: string; to_timestamp?: string; }; }

Returns

CancelablePromise<{ metrics_metadata?: Array<MetricMetadata>; scalar_metrics?: Array<ScalarMetric>; timeseries_metrics?: Array<TimeseriesMetric>; }>

any job details