redhat-performance / quads

:calendar: The infrastructure deployment time machine
https://quads.dev
GNU General Public License v3.0
88 stars 36 forks source link

[RFE] Implement goaccess log analyzer for nginx API logs #520

Open sadsfae opened 2 months ago

sadsfae commented 2 months ago

This RFE covers implementing goaccess for our nginx reverse proxy component of QUADS to track API requests, frequency, performance, etc.

https://goaccess.io/

sadsfae commented 2 months ago

This can likely be implemented as an optional thing like we do our nginx SSL vhost config (because goaccess would need a vhost definition)

https://github.com/redhat-performance/quads/blob/latest/container/etc/nginx/conf.d/apiv3_ssl.conf.example

It should come with it's own easy documentation like enabling TLS:

https://github.com/redhat-performance/quads/tree/latest?tab=readme-ov-file#using-ssl-with-flask-api-and-quads

Because goaccess requires a specific kind of nginx logging format this would need to change too in the main vhost(s) but we don't necessarily care about that so I don't see it as an intrusive change.