Creates MetricsAPI
an instance that knows how to communicate with InfluxDB server
Retrieve workload performance metrics. See https://docs.influxdata.com/influxdb/v2.4/api/#operation/GetMetrics
Optionalrequest: GetMetricsRequestrequest parameters and body (if supported)
OptionalrequestOptions: RequestOptionsoptional transport options
promise of response
Metrics API