Retrieve Compare Pair Statistics

get

http://{host}:{port}/veridata/v1/services/monitoring/cps

Required Role: Administrator, SuperUser, DetailMonitoringOperator, MonitoringOperator, CommandLineOperator

API to get Veridata Compare Pair monitoring details.

Request

Query Parameters
  • Compare Pair ID.
  • This parameter decides the number of completed statistics (current + previous run) to be shown in the response. Default is 5.
  • Defines the start date range (inclusive) to filter out the Compare Pair response. Supported format yyyy-MM-dd'T'HH:mm:ss'Z' "
  • This parameter when set to true will include performance statistics. Default value: false.
  • Fetch Compare Pair stats of last x units. Supported units D(Days) or H(hours) or M(minutes). Example: 1D
  • The CP's Run ID. Example: runId=1024,1,1.
  • Defines the end date range (not inclusive) to filter out the Compare Pair response. Supported format yyyy-MM-dd'T'HH:mm:ss'Z'.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Compare Pair statistics fetched successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ComparePairStats
Match All
Show Source
Nested Schema : ComparePairBaseStats
Match All
Show Source
Nested Schema : BaseStats
Type: object
Show Source
Nested Schema : ComparePairBaseStats-allOf[1]
Type: object
Show Source
Nested Schema : ComparePairStats-allOf[1]
Type: object
Show Source
Nested Schema : RunID
Type: object
Run ID.
Show Source
Nested Schema : DeltaStats
Type: object
Show Source
Nested Schema : PerformanceStats
Type: object
Show Source
Nested Schema : RunningComparePairStats
Type: object
This stats will only be available when the compare pair is running and runId query parameter is used.
Show Source
Nested Schema : coosDuration
Match All
Show Source
Nested Schema : initCompareDuration
Match All
Show Source
Nested Schema : sortingSrcDuration
Match All
Show Source
Nested Schema : sortingTgtDuration
Match All
Show Source
Nested Schema : Duration
Type: object
Show Source
Nested Schema : coosDuration-allOf[1]
Type: object
Nested Schema : initCompareDuration-allOf[1]
Type: object
Nested Schema : sortingSrcDuration-allOf[1]
Type: object
Nested Schema : sortingTgtDuration-allOf[1]
Type: object

400 Response

Bad Request.
Body ()
Root Schema : Error
Type: object
Show Source

401 Response

"Unauthorized."
Body ()
Root Schema : Error
Type: object
Show Source

404 Response

"Not found."
Body ()
Root Schema : Error
Type: object
Show Source

500 Response

"Server error."
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top