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 | / |
---|
|
---|