2.05.2.05 - 2.05 - Listener Volume - Teradata Listener

Teradata® Listener™ User Guide

prodname
Teradata Listener
vrm_release
2.05
category
User Guide
featnum
B035-2910-039K

Volume for all data flowing into Ingest during a given time frame.

Definition

GET https://CLUSTER.DOMAIN/listener/appservices/sources/volume?interval,timeframe HTTP/1.1
Parameter Required Type Sample Purpose
interval Optional string 1m Time interval for each data point.
timeframe Optional string 7d Time frame to query into the past.
Parameters use an integer and character combination to denote the time range:
  • s = seconds
  • m = minutes
  • h = hours
  • d = days
  • w = weeks
  • M = months

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X GET \
  -i \
  https://CLUSTER.DOMAIN/listener/appservices/sources/volume

Example Response

HTTP/1.1 200 OK
Content-Type: application/json
[{
	"avg_bytes": {
		"value": 273276.63157894736
	},
	"doc_count": 128000,
	"ingested_records": {
		"value": 128000
	},
	"time": "2017-11-17T20:00:00Z",
	"total_bytes": {
		"value": 41538048
	},
	"total_docs": {
		"value": 152
	}
}, {
	"avg_bytes": {
		"value": null
	},
	"doc_count": 0,
	"ingested_records": {
		"value": 0
	},
	"time": "2017-11-17T21:00:00Z",
	"total_bytes": {
		"value": 0
	},
	"total_docs": {
		"value": 0
	}
}]

Response Codes

Code Description
200 Metrics successfully loaded.
401 Authorization header not found.