nJAMS Subagent#
The subagent
plugin gathers metrics from nJAMS Subagent.
- Configuration:
# nJAMS Subagent. Receive data from nJAMS clients
[[inputs.njams_subagent]]
# ## URL to listen on
service_address = "udp://:6450"
#
# ## Maximum socket buffer size in bytes.
# ## For stream sockets, once the buffer fills up, the sender will start backing up.
# ## For datagram sockets, once the buffer fills up, metrics will start dropping.
# ## Defaults to the OS default.
# # read_buffer_size = 65535
#
# ## Data format to consume.
data_format = "njams"
The following examples show metrics of different technology types sent by nJAMS Clients with the Subagent enabled.
tibappnode#
TIBCO BusinessWorks 6 AppNode example output:
{
"fields": {
"gc_PS_MarkSweep_collections": 0,
"gc_PS_MarkSweep_time": 0,
"gc_PS_Scavenge_collections": 0,
"gc_PS_Scavenge_time": 0,
"heapCommitted": 240648192,
"heapFree": 77826904,
"heapInit": 134217728,
"heapMax": 954728448,
"heapUsed": 162821288,
"offCommitted": 226582528,
"offFree": 19603128,
"offInit": 2555904,
"offMax": -1,
"offUsed": 206979400,
"pid": 9530,
"processStats_cpuUsage": 0.19992003198720512,
"processStats_kernelUsage": 0.04998000799680128,
"processStats_openFiles": 667,
"processStats_userUsage": 0.14994002399040385,
"threadCount": 99
},
"name": "njams_subagent",
"tags": {
"containerid": "vslnagios02",
"domain": "bw6_pres",
"host": "vsltibco02.integrationmatters.com",
"id": "bw6_pres_node1.bw6_pres_appspace.bw6_pres",
"measurement": "jvm",
"name": "bw6_pres_node1",
"processStats_state": "SLEEPING",
"tibappnode": "bw6_pres_node1",
"tibappspace": "bw6_pres_appspace",
"type": "tibappnode"
},
"timestamp": 1578583862
},
{
"fields": {
"pid": 4440
},
"name": "njams_subagent",
"tags": {
"containerId": "bw66_endurance_node_1.bw66_endurance_appspace_1.bw66_endurance",
"domain": "bw66_endurance",
"engineState": "Started",
"host": "vswtibbw06",
"id": "Main.bw66_endurance_node_1.bw66_endurance_appspace_1.bw66_endurance",
"measurement": "bwengine",
"name": "Main",
"tibappnode": "bw66_endurance_node_1",
"tibappspace": "bw66_endurance_appspace_1",
"type": "tibappnode"
},
"timestamp": 1637072455
}
tibbw6#
TIBCO BusinessWorks 6 application and process example output:
{
"fields": {
"aborted": 0,
"avgElapsedTime": 0,
"avgInvokeTime": 0,
"completed": 0,
"created": 0,
"elapsedTime": 0,
"invokeTime": 0,
"latestElapsedTime": 0,
"latestInvokeTime": 0,
"latestTimestamp": 1637071690048,
"maxElapsedTime": 0,
"maxInvokeTime": 0,
"minElapsedTime": 0,
"minInvokeTime": 0,
"pid": 13860,
"running": 0,
"suspended": 0
},
"name": "njams_subagent",
"tags": {
"application": "kafkaTest.application",
"containerId": "kafkaTest.application.BWEclipseAppNode.BWEclipseAppSpace.BWEclipseDomain",
"domain": "BWEclipseDomain",
"host": "vswtibbw06",
"id": "kafkatest.receive.kafkaTest.application.BWEclipseAppNode.BWEclipseAppSpace.BWEclipseDomain",
"measurement": "processinfo",
"name": "kafkatest.receive",
"tibappnode": "BWEclipseAppNode",
"tibappspace": "BWEclipseAppSpace",
"type": "tibbw6"
}
"timestamp": 1637071690
},
{
"fields": {
"aborted": 0,
"avgElapsedTime": 0,
"avgInvokeTime": 0,
"completed": 0,
"created": 0,
"elapsedTime": 0,
"invokeTime": 0,
"latestElapsedTime": 0,
"latestInvokeTime": 0,
"latestTimestamp": 1637071690048,
"maxElapsedTime": 0,
"maxInvokeTime": 0,
"minElapsedTime": 0,
"minInvokeTime": 0,
"pid": 13860,
"running": 0,
"suspended": 0
},
"name": "njams_subagent",
"tags": {
"application": "kafkaTest.application",
"configurationStatus": "InSync",
"containerId": "BWEclipseAppNode.BWEclipseAppSpace.BWEclipseDomain,BWEclipseAppSpace.BWEclipseDomain",
"domain": "BWEclipseDomain",
"host": "vswtibbw06",
"id": "kafkaTest.application.BWEclipseAppNode.BWEclipseAppSpace.BWEclipseDomain",
"measurement": "application",
"name": "kafkaTest.application",
"status": "Running",
"tibappnode": "BWEclipseAppNode",
"tibappspace": "BWEclipseAppSpace",
"type": "tibbw6",
"version": "1.0"
},
"timestamp": 1637071690
}
tibbw5#
TIBCO BusinessWorks 5 example output:
{
"fields": {
"gc_PS_MarkSweep_collections": 0,
"gc_PS_MarkSweep_time": 0,
"gc_PS_Scavenge_collections": 0,
"gc_PS_Scavenge_time": 0,
"heapCommitted": 282591232,
"heapFree": 168665280,
"heapInit": 134217728,
"heapMax": 477626368,
"heapUsed": 113925952,
"offCommitted": 123404288,
"offFree": 1616840,
"offInit": 2555904,
"offMax": -1,
"offUsed": 121787448,
"pid": 9112,
"processStats_cpuUsage": 0.03750750150030006,
"processStats_kernelUsage": 0,
"processStats_openFiles": 1186,
"processStats_userUsage": 0.03750750150030006,
"threadCount": 56
},
"name": "njams_subagent",
"tags": {
"application": "deployment",
"containerid": "vswtibco01.integrationmatters.com",
"domain": "domain",
"engine": "Flows2_demo.repo",
"host": "vswtibco01",
"id": "Flows2_demo.repo.deployment.domain",
"measurement": "jvm",
"name": "Flows2_demo.repo",
"processStats_state": "RUNNING",
"type": "tibbw5"
},
"timestamp": 1637066600
},
{
"fields": {
"completed": 0,
"created": 0,
"creationRate": 12,
"flowLimit": 0,
"pid": 9112,
"running": 0,
"startTime": 1637066300929,
"state": 1
},
"name": "njams_subagent",
"tags": {
"application": "deployment",
"checkpointedStart": "false",
"containerid": "Flows2_demo.repo.deployment.domain",
"domain": "domain",
"engine": "Flows2_demo.repo",
"host": "vswtibco01",
"id": "receiver.process.Flows2_demo.repo.deployment.domain",
"measurement": "jobcreator",
"name": "receiver.process",
"stateAsString": "ACTIVE",
"type": "tibbw5"
},
"timestamp": 1637066600
},
{
"fields": {
"aborted": 0,
"avgElapsedTime": 1350,
"avgInvokeTime": 866,
"checkpointed": 0,
"completed": 0,
"created": 0,
"elapsedTime": 0,
"invokeTime": 0,
"latestElapsedTime": 1350,
"latestInvokeTime": 866,
"latestTimestamp": 1637066313025,
"maxElapsedTime": 1350,
"maxInvokeTime": 866,
"minElapsedTime": 1350,
"minInvokeTime": 866,
"pid": 9112,
"queued": 0,
"running": 0,
"suspended": 0,
"swapped": 0
},
"name": "njams_subagent",
"tags": {
"application": "deployment",
"containerid": "Flows2_demo.repo.deployment.domain",
"domain": "domain",
"engine": "Flows2_demo.repo",
"host": "vswtibco01",
"id": "sender.process.Flows2_demo.repo.deployment.domain",
"measurement": "processinfo",
"name": "sender.process",
"type": "tibbw5"
},
"timestamp": 1637066600
},
{
"fields": {
"aborted": 0,
"avgElapsedTime": 47,
"avgInvokeTime": 47,
"checkpointed": 0,
"completed": 0,
"created": 0,
"elapsedTime": 0,
"invokeTime": 0,
"latestElapsedTime": 47,
"latestInvokeTime": 47,
"latestTimestamp": 1637066312962,
"maxElapsedTime": 47,
"maxInvokeTime": 47,
"minElapsedTime": 47,
"minInvokeTime": 47,
"pid": 9112,
"queued": 0,
"running": 0,
"suspended": 0,
"swapped": 0
},
"name": "njams_subagent",
"tags": {
"application": "deployment",
"containerid": "Flows2_demo.repo.deployment.domain",
"domain": "domain",
"engine": "Flows2_demo.repo",
"host": "vswtibco01",
"id": "receiver.process.Flows2_demo.repo.deployment.domain",
"measurement": "processinfo",
"name": "receiver.process",
"type": "tibbw5"
},
"timestamp": 1637066600
},
{
"fields": {
"aborted": 0,
"avgElapsedTime": 0,
"avgInvokeTime": 0,
"checkpointed": 0,
"completed": 0,
"created": 0,
"elapsedTime": 0,
"invokeTime": 0,
"latestElapsedTime": 0,
"latestInvokeTime": 0,
"latestTimestamp": 1637066313025,
"maxElapsedTime": 1350,
"maxInvokeTime": 866,
"minElapsedTime": 1350,
"minInvokeTime": 866,
"pid": 9112,
"queued": 0,
"running": 0,
"startTime": 1637066293081,
"suspended": 0,
"swapped": 0,
"threadCount": 8
},
"name": "njams_subagent",
"tags": {
"application": "deployment",
"containerid": "vswtibco01",
"domain": "domain",
"engine": "Flows2_demo.repo",
"host": "vswtibco01",
"id": "Flows2_demo.repo.deployment.domain",
"measurement": "bwengine",
"name": "Flows2_demo.repo",
"state": "ACTIVE",
"type": "tibbw5",
"version": "0"
},
"timestamp": 1637066600
}