Skip to content

Commit

Permalink
Updated beat data model.
Browse files Browse the repository at this point in the history
  • Loading branch information
interkosmos committed Feb 22, 2024
1 parent 0a620fd commit bb6c8d9
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions guide/guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3454,8 +3454,7 @@ error=0

| `node_id` | string | 32 | Node id (`-0-9A-Za-z`).
| `address` | string | 45 | IPv4/IPv6 address of client.
| `client` | string | 16 | Client software name and version.
| `library` | string | 16 | Client library name and version.
| `client` | string | 32 | Client software name and version.
| `time_sent` | string | 32 | Date and time heartbeat was sent (ISO 8601).
| `time_recv` | string | 32 | Date and time heartbeat was received (ISO 8601).
| `error` | integer | 4 | Last client connection <<error-codes,error>>.
Expand All @@ -3471,12 +3470,11 @@ error=0
| 1 | `node_id` | Node id.
| 2 | `address` | IP address of client.
| 3 | `client` | Client software name and version.
| 4 | `library` | Client library name and version.
| 5 | `time_sent` | Date and time heartbeat was sent.
| 6 | `time_recv` | Date and time heartbeat was received.
| 7 | `error` | Error code.
| 8 | `interval` | Emit interval in seconds.
| 9 | `uptime` | Client uptime in seconds.
| 4 | `time_sent` | Date and time heartbeat was sent.
| 5 | `time_recv` | Date and time heartbeat was received.
| 6 | `error` | Error code.
| 7 | `interval` | Emit interval in seconds.
| 8 | `uptime` | Client uptime in seconds.
|===

.JSON [[data-beat-json]]
Expand All @@ -3485,8 +3483,7 @@ error=0
{
"node_id": "dummy-node",
"address": "127.0.0.1",
"client": "dmbeat 1.0.0",
"library": "DMPACK 1.0.0",
"client": "dmbeat 1.0.0 (DMPACK 1.0.0)",
"time_sent": "1970-01-01T00:00:00.000000+00:00",
"time_recv": "1970-01-01T00:00:00.000000+00:00",
"error": 0,
Expand All @@ -3501,8 +3498,7 @@ error=0
&DMBEAT
BEAT%NODE_ID="dummy-node",
BEAT%ADDRESS="127.0.0.1",
BEAT%CLIENT="dmbeat 1.0.0",
BEAT%LIBRARY="DMPACK 1.0.0",
BEAT%CLIENT="dmbeat 1.0.0 (DMPACK 1.0.0)",
BEAT%TIME_SENT="1970-01-01T00:00:00.000000+00:00",
BEAT%TIME_RECV="1970-01-01T00:00:00.000000+00:00",
BEAT%ERROR=0,
Expand Down

0 comments on commit bb6c8d9

Please sign in to comment.