fstab / grok_exporter

Export Prometheus metrics from arbitrary unstructured log data.
Apache License 2.0
891 stars 152 forks source link

Fixing build process #150

Closed andreabenini closed 3 months ago

andreabenini commented 3 years ago

the release.sh scripts fails on few things in my machine (linux AMD64)

andreabenini commented 3 years ago

With a small mod in my commits (github commit 18f2cd0) I've also added some sort of verbose/debug mode flag.

./grok_exporter -debug -config config.yml

When something wrong happens -debug flag prints on stdout your regexp and the unmatched line from file.
This is really useful when you need to evaluate a file and you don't know if your expression is valid or not. I guess it's something like #145 already requested some time ago. Is it suitable for you ?

Ben