jgosmann / dmarc-metrics-exporter

Export Prometheus metrics from DMARC reports.
MIT License
42 stars 6 forks source link

Make metrics db optional #40

Closed jgosmann closed 4 months ago

jgosmann commented 4 months ago

Prometheus should handle a counter reset to 0 already appropriately. Thus, it shouldn't be mandatory even one does not want to ensure to keep the total between restarts.

jgosmann commented 4 months ago

Seen reports should be persisted anyways, so some storage location must always be configured and then we may as well also persist the metrics.