InfluxDB PHP Client
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
InfluxDB2\Service\MetricsService Class Reference

Public Member Functions

 __construct (DefaultApi $defaultApi)
 
 getMetrics ($zap_trace_span=null)
 
 getMetricsWithHttpInfo ($zap_trace_span=null)
 

Protected Member Functions

 getMetricsRequest ($zap_trace_span=null)
 

Protected Attributes

 $defaultApi
 
 $headerSelector
 

Constructor & Destructor Documentation

◆ __construct()

InfluxDB2\Service\MetricsService::__construct ( DefaultApi $defaultApi)
Parameters
DefaultApi$defaultApi
HeaderSelector$selector

Member Function Documentation

◆ getMetrics()

InfluxDB2\Service\MetricsService::getMetrics ( $zap_trace_span = null)

Operation getMetrics

Retrieve workload performance metrics

Parameters
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
string|string

◆ getMetricsRequest()

InfluxDB2\Service\MetricsService::getMetricsRequest ( $zap_trace_span = null)
protected

Create request for operation 'getMetrics'

Parameters
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\Psr\Http\Message\RequestInterface

◆ getMetricsWithHttpInfo()

InfluxDB2\Service\MetricsService::getMetricsWithHttpInfo ( $zap_trace_span = null)

Operation getMetricsWithHttpInfo

Retrieve workload performance metrics

Parameters
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of string|string, HTTP status code, HTTP response headers (array of strings)

The documentation for this class was generated from the following file: