udp
Reference for the `udp` adapter.
udp· adapter · runnanook doc udpfor the same content in your terminal.
Sends metrics as plain text or JSON over UDP.
Options
| Option | Type | Default | Description |
|---|---|---|---|
host | string | 127.0.0.1 | target host |
port | string | 9999 | target port |
format | enum | plain | payload format (one of: plain, json) |
Examples
Plain text to local agent
[[]]
= "udp"
[]
= "127.0.0.1"
= 9999
JSON format
[[]]
= "udp"
[]
= "metrics.internal"
= 9999
= "json"