Source Volume

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

Definition

GET https://listener-app-services.teradata.com/v1/sources/{source_id}/volume?interval,timeframe HTTP/1.1
ParameterRequiredTypeSamplePurpose
source_idRequiredstring758fbda4-accc-4f90-8f09-cc0a164c8c28Source ID associated with this target.
intervalOptionalstring1mTime interval for each data point.
timeframeOptionalstring7dTime 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 PUT \
  -i \
  https://listener-app-services.teradata.com/v1/sources/758fbda4-accc-4f90-8f09-cc0a164c8c28/volume

Example Response

HTTP/1.1 200 OK
Content-Type: application/json
[
  {
    "avg_bytes": {
      "value": 99025
    },
    "time": "2015-05-04T17:11:00Z",
    "total_bytes": {
      "value": 321534487
    },
    "total_docs": {
      "value": 3247
    }
  }
]

Response Codes

CodeDescription
200Metrics successfully loaded.
401Authorization header not found.
404Resource not found.

results matching ""

    No results matching ""