smilebasti / npmGrafStats

This project exports NginxProxyManager Logs to InfluxDB for displaying them in a Grafana Dashboard.
GNU General Public License v3.0
149 stars 10 forks source link

Feature Request: Log data for redirection hosts #5

Closed FRALEXAlexander closed 1 year ago

FRALEXAlexander commented 1 year ago

It would be nice to add the same logging function this has for proxy hosts to redirection hosts

smilebasti commented 1 year ago

That would be a good addition.

Do you think it needs a separate view or just list it in the same view/list as the proxy hosts?

FRALEXAlexander commented 1 year ago

I suggest saving the data in a different measurement. And add an env var for users to enable redirect logs if they wish to. This would be the best solution since in NPM redirects and proxies are also separated. And for the Grafana dashboard, it would be nice to have separate views for proxy and redirect and a combined view

smilebasti commented 1 year ago

Hoping to hear your feedback if this works for your :)

FRALEXAlexander commented 1 year ago

I deployed it today and it works just like expected thanks for your work