Agent metadata
Each time agent gathers data, it also sends metadata. This metadata includes information about gathered data and the agent itself.
Metadata is not displayed in the Data table in the web interface. You can get it with the Get Object’s Stat Metadata and Get Link’s Stat Metadata requests.
Metadata fields
Starting with SAYMON Agent 5.0.0 metadata has a new field – headers – that contains service information.
|
timestamp
Time when agent started to execute selected monitoring process.
Starting with version 5.0.0 agent duplicates this information in the headers.sendTime field.
|
taskType
Sensor type. You can find more information about built-in sensors on the Built-in probes page.
agentId
Agent ID.
Starting with version 5.0.0 agent duplicates this information in the headers.agentId field.
|
agentVersion
Agent version.
Starting with version 5.0.0 agent duplicates this information in the headers.version field.
|
agentBuild
Agent build number.
Starting with version 5.0.0 agent duplicates this information in the headers.version field.
|
payload
The payload
field contains meta-information about each field in the data gathered by an agent.
payload
example in the Ping sensor metadata{
...
"payload": {
"roundTripMaximum": {
"changeRate": "ALWAYS"
},
"packetsReceived": {
"changeRate": "SOMETIMES"
},
"packetLossPercentile": {
"type": "PERCENTILE",
"changeRate": "SOMETIMES"
},
...
},
...
}
headers
headers
object contains service fields.
Only agents starting with version 5.0.0 include the headers
field.
headers.version
Agent version. Includes both agent version and its build number. This information is duplicated in the agentVersion
and agentBuild
fields.
headers.sendTime
Time the check result was sent to Kafka broker.
This information is duplicated in the timestamp
field.