Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
news: add entries for syslog-ng#4440
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed Apr 25, 2023
1 parent 6a0acc3 commit 917655d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions news/feature-4440-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
The new `$RAWMSG_SIZE` hard macro can be used to query the original size of the
incoming message in bytes.

This information may not be available for all source drivers.
9 changes: 9 additions & 0 deletions news/feature-4440.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
`network()`, `syslog()`, `file()`, `http()`: new byte-based metrics for incoming/outgoing events

These metrics show the serialized message sizes (protocol-specific header/framing/etc. length is not included).

```
syslogng_input_event_bytes_total{id="s_network#0",driver_instance="tcp,127.0.0.1"} 1925529600
syslogng_output_event_bytes_total{id="d_network#0",driver_instance="tcp,127.0.0.1:5555"} 565215232
syslogng_output_event_bytes_total{id="d_http#0",driver_instance="http,http://127.0.0.1:8080/"} 1024
```

0 comments on commit 917655d

Please sign in to comment.