Get the current statistics for an object
Description
Get the current statistics for an object
HTTP Example
POST /webmapi/stats
Input
Pass input arguments in StatsShowInputType
Output
Reports successful result in ResponseContentType<StatsShowOutputType>
Errors
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| STATS_SHOW_OBJECT_NOT_FOUND | 21011 | Object not found. |
| STATS_SHOW_INSTANCE_NOT_FOUND | 21012 | Instances not found. |
| STATS_SHOW_COUNTER_NOT_FOUND | 21013 | Counters not found. |
| STATS_SHOW_INCORRECT_ARGUMENTS | 21014 | The arguments specified were incorrect. Possible reasons: Interval specified is greater than duration, value of interval or duration is negative, specified an interval and no duration (or vice versa). |
| STATS_SHOW_COUNTERS_NOT_SET | 21015 | Counter names were not specified in the input. |
| STATS_SHOW_INSTANCES_NOT_SET | 21016 | Instances were not specified in the input. |
| STATS_SHOW_OBJECT_NOT_SET | 21017 | Object was not specified in the input. |
| STATS_SHOW_DISK_NOT_AVAILABLE | 21022 | There are no disks. |
| STATS_SHOW_CM_NOT_INIT | 21032 | Counter manager is not initialized. |
| STATS_SHOW_CM_IN_PRESHUTDOWN | 21033 | Counter manager is in preshutdown state; cannot service request. |
| STATS_SHOW_CM_SCOPE_INSTANCE_SPECIFIED | 21035 | Scope and instances parameters are mutually exclusive. |
| STATS_SHOW_SORT_BY_COUNTER_NOT_SPECIFIED | 21036 | The top and bottom parameters must be accompanied by sort-by-counter parameter. |
| STATS_SHOW_SORT_BY_STRING_COUNTER_NOT_ALLOWED | 21037 | Unable to sort by a string type counter. |
| STATS_SHOW_SORT_BY_HISTOGRAM_COUNTER_NOT_ALLOWED | 21038 | Unable to sort by a histogram type counter. |
| STATS_SHOW_SORT_BY_COUNTER_NOT_FOUND | 21039 | Counter specified by sort-by-counter parameter not found. |
| STATS_SHOW_CM_TOP_BOTTOM_SPECIFIED | 21040 | Top and bottom parameters are mutually exclusive. |
Produces
application/json
Consumes
application/json
Since
1.0
Counter archiver history for requested counters
Description
Counter archiver history for requested counters
HTTP Example
POST /webmapi/stats/archives
Input
Pass input arguments in ArchiverShowInputType
Output
Reports successful result in ResponseContentType<ArchiverShowOutputType>
Errors
Reports errors in ResponseContentType<ErrorType>
| Error Key | Error Code | Error Description |
|---|---|---|
| ARCHIVER_SHOW_INTERNAL_ERROR | 34000 | Internal error occurred. |
| ARCHIVER_SHOW_ARCHIVER_NEGATIVE_TIMESTAMP | 34001 | Timestamp specified must be positive. |
| ARCHIVER_SHOW_ARCHIVER_TIME_BEGIN_AFTER_END | 34002 | Begin time must start before or at end time. |
| ARCHIVER_SHOW_ARCHIVER_INSTANCE_NOT_FOUND | 34003 | Instance not found. |
| ARCHIVER_SHOW_ARCHIVER_COUNTER_NOT_FOUND | 34004 | Counter not found. |
| ARCHIVER_SHOW_ARCHIVER_OBJECT_NOT_FOUND | 34005 | Object not found. |
| ARCHIVER_SHOW_ARCHIVER_SCOPE_INSTANCE_NOT_SET | 34006 | Scope or instances must be set. |
| ARCHIVER_SHOW_ARCHIVER_DB_QUERY_FAILED | 34007 | Error returned from database query. |
| ARCHIVER_SHOW_ARCHIVER_TOO_MANY_INSTANCES | 34008 | Too many instances specified, max = 4. |
Produces
application/json
Consumes
application/json
Since
1.0
APIs for real-time or archived performance history