Below is an example of a request mapped to the Eyer internal format (nodes->metrics). You can see the original sending format plus the mapping in this article.
In this example, the agent is installed on a VM, and can send metrics related to waitstats for different databases on the server.
In this case, the “System” represents the server where the agent is installed
Each “System” can have multiple nodes. In the example, each database is a node.
Each node can have >= 1 metrics.
Eyer internal format after mapping:
[ { "Node": { "Name": "Database1", "SystemName": "testmachine1", "AgentId": "telegraf.waitstats", "AtomId": "Database1" }, "NodeType": { "Id": "16e41dba-e6a4-4427-b753-cf6eee41e384", "Name": "telegraf.waitstats.waits", "DisplayName": "Database waits" }, "Stats": [ { "Name": "fields.disk_reads_mean", "Type": "float", "Guid": "9ed41a78-3094-4e41-98b5-b1f98f63dc3a", "Aggregation": "avg", "Display": "Disk reads", "Value": 1.0121461361787716, "Timestamp": 1740047760 }, { "Name": "fields.disk_writes_per_sec_mean", "Type": "float", "Guid": "1203a428-0b80-4240-8c1b-f7fa2665ec22", "Aggregation": "avg", "Display": "Disk writes per second", "Value": 0.8571885607181682, "Timestamp": 1740047760 }, { "Name": "fields.log_bytes_flushed_mean", "Type": "float", "Guid": "2add293a-446a-468e-91c3-8f164fe697c8", "Aggregation": "avg", "Display": "Log bytes flushed", "Value": 3.9596305549082618, "Timestamp": 1740047760 }, { "Name": "fields.logical_reads_mean", "Type": "float", "Guid": "7acb184d-c4ce-4287-ab4a-f63f15976bac", "Aggregation": "avg", "Display": "Logical reads", "Value": 914.9966524003087, "Timestamp": 1740047760 }, { "Name": "fields.total_sessions_mean", "Type": "int", "Guid": "30c71236-48ad-4fa8-b282-f587ffe8b4b9", "Aggregation": "avg", "Display": "Total sessions", "Value": 14, "Timestamp": 1740047760 }, { "Name": "fields.waits_total_mean", "Type": "float", "Guid": "1f2a5a97-338b-4a92-8846-f27cd9f6b71f", "Aggregation": "avg", "Display": "Waits total", "Value": 7.3, "Timestamp": 1740047760 } ] } ]