REST Resource: stats.index.datasources

Resource: GetDataSourceIndexStatsResponse

JSON representation
{
  "stats": [
    {
      object (DataSourceIndexStats)
    }
  ],
  "averageIndexedItemCount": string
}
Fields
stats[]

object (DataSourceIndexStats)

Summary of indexed item counts, one for each day in the requested range.

averageIndexedItemCount

string (int64 format)

Average item count for the given date range for which billing is done.

DataSourceIndexStats

Aggregation of items by status code as of the specified date.

JSON representation
{
  "date": {
    object (Date)
  },
  "itemCountByStatus": [
    {
      object (ItemCountByStatus)
    }
  ]
}
Fields
date

object (Date)

Date for which index stats were calculated. If the date of request is not the current date then stats calculated on the next day are returned. Stats are calculated close to mid night in this case. If date of request is current date, then real time stats are returned.

itemCountByStatus[]

object (ItemCountByStatus)

Number of items aggregrated by status code.

ItemCountByStatus

JSON representation
{
  "statusCode": enum (ItemStatus.Code),
  "count": string,
  "indexedItemsCount": string
}
Fields
statusCode

enum (ItemStatus.Code)

Status of the items.

count

string (int64 format)

Number of items matching the status code.

indexedItemsCount

string (int64 format)

Number of items matching the status code for which billing is done. This excludes virtual container items from the total count. This count would not be applicable for items with ERROR or NEW_ITEM status code.

Methods

get

Gets indexed item statistics for a single data source.