rainshowerLabs / blutgang

the wd40 of ethereum load balancers
Other
324 stars 26 forks source link

Metrics and JSON logging #62

Open rarecrumb opened 5 months ago

rarecrumb commented 5 months ago

Is your feature request related to a problem? Please describe. Observability would be nice to have, in the form of metrics. The option to enable JSON logging too.

Describe the solution you'd like I'd love to see metrics implemented here:

Key metrics could include:

Describe alternatives you've considered ...

Additional context Logging would also be nice to have in JSON format for search ability. Structured logs are nice.

makemake-kbo commented 4 months ago

[copy-pasting from discord]

it shouldnt be too hard. the macros used for logging are all in here so it would be a matter of adding a feature to support it https://github.com/rainshowerLabs/blutgang/blob/master/src/config/system.rs