fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

Support for ROUND or Significance on AVG values of stream processor

Open ftasbasi opened this issue 2 years ago • 2 comments

[STREAM_TASK]
    Name   nic_eth_1g0_metrics
    Exec   CREATE STREAM netif WITH (tag='netif_metrics') AS SELECT ROUND(AVG(eth1.rx.bytes),2) AS rx.bytes, ROUND(AVG(eth1.tx.bytes),2) AS tx.bytes FROM STREAM:mem_data WINDOW TUMBLING (90 SECOND);

Existing:

{
"@timestamp":1696539372.341829
"eth1.rx.bytes":7270.37353515625
"eth1.tx.bytes":1187.637329101562
}

Support for ROUND or Significance operation in SQL would be very helpful. AVG values are generating too much data at large scale monitoring data.

Suggested:

{
"@timestamp":1696539372.341829
"eth1.rx.bytes":7270.37
"eth1.tx.bytes":1187.63
}

ftasbasi avatar Oct 05 '23 21:10 ftasbasi

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

github-actions[bot] avatar Jan 04 '24 01:01 github-actions[bot]

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

github-actions[bot] avatar Jun 27 '24 01:06 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jul 11 '24 01:07 github-actions[bot]