fluent / fluent-plugin-prometheus

A fluent plugin that collects metrics and exposes for Prometheus.
Apache License 2.0
258 stars 79 forks source link

[Question] prometheus data storage #167

Open romanvog opened 4 years ago

romanvog commented 4 years ago

I've noticed that once a fluentd pods restarts, all data collected by prometheus plugin is lost. Is there an option to write data to disk and read it on start? something like the following:


<storage resume>
  @type local
  path /var/log/fluent/prometheus_data
</storage>