Package com.seeq.api
Class MonitorsApi
java.lang.Object
com.seeq.api.MonitorsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMonitor
(String monitorPath) Retrieve the current value of the specified monitor.Retrieve the documentation for all available monitorsgetMonitorDocumentationWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Retrieve the documentation for all available monitorsRetrieve the documentation for all available monitorsRetrieve the paths of all available monitorsgetMonitorsWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Retrieve the paths of all available monitorsRetrieve the paths of all available monitorsgetMonitorWithHeadersAndHttpInfo
(String monitorPath, Map<String, String> customHeaders) Retrieve the current value of the specified monitor.getMonitorWithHttpInfo
(String monitorPath) Retrieve the current value of the specified monitor.long
postGaugeData
(GaugeDatumV1 body) Update a gaugepostGaugeDataWithHeadersAndHttpInfo
(GaugeDatumV1 body, Map<String, String> customHeaders) Update a gaugeUpdate a gaugepostMeterData
(MeterDatumV1 body) Increment a meterpostMeterDataWithHeadersAndHttpInfo
(MeterDatumV1 body, Map<String, String> customHeaders) Increment a meterIncrement a meterPost monitor datapostMonitorDataWithHeadersAndHttpInfo
(MonitorInputV1 body, Map<String, String> customHeaders) Post monitor dataPost monitor datapostTimerData
(TimerDatumV1 body) Update a timerpostTimerDataWithHeadersAndHttpInfo
(TimerDatumV1 body, Map<String, String> customHeaders) Update a timerUpdate a timervoid
setApiClient
(ApiClient apiClient) void
setRetryTimeout
(long retryTimeout)
-
Constructor Details
-
MonitorsApi
public MonitorsApi() -
MonitorsApi
-
-
Method Details
-
setRetryTimeout
public void setRetryTimeout(long retryTimeout) -
getRetryTimeout
public long getRetryTimeout() -
getApiClient
-
setApiClient
-
getMonitor
Retrieve the current value of the specified monitor. All times are in milliseconds- Parameters:
monitorPath
- Path of the monitor to read (required)- Returns:
- MonitorOutputV1
- Throws:
ApiException
- if fails to make API call
-
getMonitorWithHttpInfo
public ApiClient.ApiResponse<MonitorOutputV1> getMonitorWithHttpInfo(String monitorPath) throws ApiException Retrieve the current value of the specified monitor. All times are in milliseconds- Parameters:
monitorPath
- Path of the monitor to read (required)- Throws:
ApiException
- if fails to make API call
-
getMonitorWithHeadersAndHttpInfo
public ApiClient.ApiResponse<MonitorOutputV1> getMonitorWithHeadersAndHttpInfo(String monitorPath, Map<String, String> customHeaders) throws ApiExceptionRetrieve the current value of the specified monitor. All times are in milliseconds- Parameters:
monitorPath
- Path of the monitor to read (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getMonitorDocumentation
Retrieve the documentation for all available monitors- Returns:
- MonitorDefinitionsOutputV1
- Throws:
ApiException
- if fails to make API call
-
getMonitorDocumentationWithHttpInfo
public ApiClient.ApiResponse<MonitorDefinitionsOutputV1> getMonitorDocumentationWithHttpInfo() throws ApiExceptionRetrieve the documentation for all available monitors- Throws:
ApiException
- if fails to make API call
-
getMonitorDocumentationWithHeadersAndHttpInfo
public ApiClient.ApiResponse<MonitorDefinitionsOutputV1> getMonitorDocumentationWithHeadersAndHttpInfo(Map<String, String> customHeaders) throws ApiExceptionRetrieve the documentation for all available monitors- Parameters:
customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getMonitors
Retrieve the paths of all available monitors- Returns:
- MonitorsOutputV1
- Throws:
ApiException
- if fails to make API call
-
getMonitorsWithHttpInfo
Retrieve the paths of all available monitors- Throws:
ApiException
- if fails to make API call
-
getMonitorsWithHeadersAndHttpInfo
public ApiClient.ApiResponse<MonitorsOutputV1> getMonitorsWithHeadersAndHttpInfo(Map<String, String> customHeaders) throws ApiExceptionRetrieve the paths of all available monitors- Parameters:
customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
postGaugeData
Update a gauge- Parameters:
body
- current value of the gauge (optional)- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
postGaugeDataWithHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> postGaugeDataWithHttpInfo(GaugeDatumV1 body) throws ApiException Update a gauge- Parameters:
body
- current value of the gauge (optional)- Throws:
ApiException
- if fails to make API call
-
postGaugeDataWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> postGaugeDataWithHeadersAndHttpInfo(GaugeDatumV1 body, Map<String, String> customHeaders) throws ApiExceptionUpdate a gauge- Parameters:
body
- current value of the gauge (optional)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
postMeterData
Increment a meter- Parameters:
body
- monitor name and arguments (optional)- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
postMeterDataWithHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> postMeterDataWithHttpInfo(MeterDatumV1 body) throws ApiException Increment a meter- Parameters:
body
- monitor name and arguments (optional)- Throws:
ApiException
- if fails to make API call
-
postMeterDataWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> postMeterDataWithHeadersAndHttpInfo(MeterDatumV1 body, Map<String, String> customHeaders) throws ApiExceptionIncrement a meter- Parameters:
body
- monitor name and arguments (optional)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
postMonitorData
Post monitor data- Parameters:
body
- Dump of current monitor statistics (required)- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
postMonitorDataWithHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> postMonitorDataWithHttpInfo(MonitorInputV1 body) throws ApiException Post monitor data- Parameters:
body
- Dump of current monitor statistics (required)- Throws:
ApiException
- if fails to make API call
-
postMonitorDataWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> postMonitorDataWithHeadersAndHttpInfo(MonitorInputV1 body, Map<String, String> customHeaders) throws ApiExceptionPost monitor data- Parameters:
body
- Dump of current monitor statistics (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
postTimerData
Update a timer- Parameters:
body
- name of this timer (required)- Returns:
- StatusMessageBase
- Throws:
ApiException
- if fails to make API call
-
postTimerDataWithHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> postTimerDataWithHttpInfo(TimerDatumV1 body) throws ApiException Update a timer- Parameters:
body
- name of this timer (required)- Throws:
ApiException
- if fails to make API call
-
postTimerDataWithHeadersAndHttpInfo
public ApiClient.ApiResponse<StatusMessageBase> postTimerDataWithHeadersAndHttpInfo(TimerDatumV1 body, Map<String, String> customHeaders) throws ApiExceptionUpdate a timer- Parameters:
body
- name of this timer (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-