Skip to content

Instantly share code, notes, and snippets.

@pvillard31
Created February 7, 2018 13:44
Show Gist options
  • Save pvillard31/845c93ccc62f6c35f117106f649115ca to your computer and use it in GitHub Desktop.
Save pvillard31/845c93ccc62f6c35f117106f649115ca to your computer and use it in GitHub Desktop.
{
"type" : "record",
"name" : "status",
"namespace" : "status",
"fields" : [
// common fields
{ "name" : "statusId", "type" : "string"},
{ "name" : "timestampMillis", "type" : "long"},
{ "name" : "timestamp", "type" : "string"},
{ "name" : "actorHostname", "type" : "string"},
{ "name" : "componentType", "type" : "string"},
{ "name" : "componentName", "type" : "string"},
{ "name" : "parentId", "type" : "string"},
{ "name" : "platform", "type" : "string"},
{ "name" : "application", "type" : "string"},
{ "name" : "componentId", "type" : "string"},
{ "name" : "inputBytes", "type" : "long"},
{ "name" : "inputCount", "type" : "long"},
{ "name" : "outputBytes", "type" : "long"},
{ "name" : "outputCount", "type" : "long"},
{ "name" : "project", "type" : ["string", "null"]},
// fields for connections
{ "name" : "maxQueuedBytes", "type" : ["long", "null"]},
{ "name" : "maxQueuedCount", "type" : ["long", "null"]},
{ "name" : "queuedBytes", "type" : ["long", "null"]},
{ "name" : "queuedCount", "type" : ["long", "null"]},
{ "name" : "backPressureBytesThreshold", "type" : ["long", "null"]},
{ "name" : "backPressureObjectThreshold", "type" : ["long", "null"]},
{ "name" : "isBackPressureEnabled", "type" : ["string", "null"]},
// fields for processors
{ "name" : "processorType", "type" : ["string", "null"]},
{ "name" : "averageLineageDurationMS", "type" : ["long", "null"]},
{ "name" : "bytesRead", "type" : ["long", "null"]},
{ "name" : "bytesWritten", "type" : ["long", "null"]},
{ "name" : "bytesReceived", "type" : ["long", "null"]},
{ "name" : "bytesSent", "type" : ["long", "null"]},
{ "name" : "flowFilesRemoved", "type" : ["long", "null"]},
{ "name" : "flowFilesReceived", "type" : ["long", "null"]},
{ "name" : "flowFilesSent", "type" : ["long", "null"]},
{ "name" : "activeThreadCount", "type" : ["long", "null"]},
{ "name" : "invocations", "type" : ["long", "null"]},
{ "name" : "processingNanos", "type" : ["long", "null"]}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment