fstab / grok_exporter

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

Support auth basic authentication #183

Open cmizzi opened 1 year ago

cmizzi commented 1 year ago

Many of Prometheus exporters support basic auth authentication. This PR adds this feature to this exporter.

server:
  host: 0.0.0.0
  port: 9144
  auth_basic:
    enabled: true
    username: prometheus
    password: $2y$10$piR5rO00ZYPEEf76Lm7DDeIYRZpSuGR1TuZ4rC7tpxuZmf6w0NU2q // test