Currently Prometheus requires a WAL to send samples from. It is not
possible to disable the local TSDB completely.

Le ven. 29 mai 2020 à 14:49, Marko Juričić <[email protected]> a
écrit :

> Greetings,
>
> We have set remote read and write to InfluxDB and that is working just
> fine, Prometheus Command-Line Flags are after the question. Path of Data is
> /var/lib/prometheus and as I understood it,
> by retention it should be 1s or 0B by size, when we drop the InfluxDB
> Database there is still few hours of Data stored in var/lib/prometheus and
> the size is about 500MB.
>
> Why there is still 500MB of data in var/lib/prometheus folder? Am I doing
> something wrong with Flags?
> Command-Line Flags
> alertmanager.notification-queue-capacity 10000
> alertmanager.timeout 10s
> config.file /etc/prometheus/prometheus.yml
> log.format logfmt
> log.level info
> query.lookback-delta 5m
> query.max-concurrency 20
> query.max-samples 50000000
> query.timeout 2m
> rules.alert.for-grace-period 10m
> rules.alert.for-outage-tolerance 1h
> rules.alert.resend-delay 1m
> storage.remote.flush-deadline 1m
> storage.remote.read-concurrent-limit 10
> storage.remote.read-sample-limit 50000000
> storage.tsdb.max-block-duration 100ms
> storage.tsdb.min-block-duration 2h
> storage.tsdb.path /var/lib/prometheus/
> storage.tsdb.retention 15d
> storage.tsdb.retention.size 0B
> storage.tsdb.retention.time 1s
> storage.tsdb.use-lockfile false
> storage.tsdb.wal-segment-size 0B
> web.console.libraries /etc/prometheus/console_libraries
> web.console.templates /etc/prometheus/consoles
> web.cors.origin .*
> web.enable-admin-api true
> web.enable-lifecycle false
> web.external-url
> web.listen-address 0.0.0.0:9090
> web.local-assets /usr/share/prometheus/web/
> web.max-connections 512
> web.page-title Prometheus Time Series Collection and Processing Server
> web.read-timeout 5m
> web.route-prefix /
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/551b9787-7c4a-4e3a-99ca-8d1029a8df24%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/551b9787-7c4a-4e3a-99ca-8d1029a8df24%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAFJ6V0pf8fAwzGwVvm3y%2Bh7haC9LQtuQK1uzaz8_DYVYwfw%2BLA%40mail.gmail.com.

Reply via email to