GetServerErrorCountsResponse GetServerErrorCounts(ctx, optional)
Get server error counts in a time-range
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| optional | *GetServerErrorCountsOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a GetServerErrorCountsOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
| startTime | optional.Int64 | The unix timestamp, describing the start time for the stats | |
| endTime | optional.Int64 | The unix timestamp, describing the end time for the stats | |
| chartType | optional.Interface of ServerErrorChartTypeEnum | It will help API to kmow the response should return | |
| service | optional.String | Filter data by service name. | |
| interval | optional.Int64 | Interval in seconds for output time ranges | |
Return type
GetServerErrorCountsResponse
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json