Hi All,
I have two Prometheus Servers running in different Environment, but with
the same configuration.
/prometheus -setup-1$ promtool tsdb list -r .
BLOCK ULID MIN TIME MAX TIME
DURATION
NUM SAMPLES NUM CHUNKS NUM SERIES SIZE
01HSSB3XQQW7JCPSADSQGX5ZTX 2024-03-22 12:00:00 +0000 UTC 2024-03-24
18:00:00 +0000 UTC 53h59m59.924s 970756056 10331225 272907
1GiB474MiB931KiB944B
01HSYXKQ6BX48HHGS7Q1F9MBFV 2024-03-24 18:00:00 +0000 UTC 2024-03-27
00:00:00 +0000 UTC 54h0m0s 971073224 10334067 273194
1GiB469MiB838KiB779B
/prometheus -setup-2$ promtool tsdb list -r .
BLOCK ULID MIN TIME MAX TIME
DURATION
NUM SAMPLES NUM CHUNKS NUM SERIES SIZE
01HV1NZ9VDFN975E810G0GED3E 2024-04-08 18:00:00 +0000 UTC 2024-04-09
12:00:00 +0000 UTC 18h0m0s 261235289 3220027 311949
402MiB508KiB217B
01HV3TMZAETTE8XKGJTNWGG4FT 2024-04-09 12:00:00 +0000 UTC 2024-04-10
06:00:00 +0000 UTC 17h59m59.965s 261267868 3221729 313643
402MiB323KiB21B
{
"status": "success",
"data": {
"alertmanager.notification-queue-capacity": "10000",
"alertmanager.timeout": "",
"config.file": "/etc/prometheus/config_out/prometheus.env.yaml",
"enable-feature": "",
"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",
"scrape.adjust-timestamps": "true",
"scrape.discovery-reload-interval": "5s",
"scrape.timestamp-tolerance": "2ms",
"storage.agent.no-lockfile": "false",
"storage.agent.path": "data-agent/",
"storage.agent.retention.max-time": "0s",
"storage.agent.retention.min-time": "0s",
"storage.agent.wal-compression": "true",
"storage.agent.wal-segment-size": "0B",
"storage.agent.wal-truncate-frequency": "0s",
"storage.remote.flush-deadline": "1m",
"storage.remote.read-concurrent-limit": "10",
"storage.remote.read-max-bytes-in-frame": "1048576",
"storage.remote.read-sample-limit": "50000000",
"storage.tsdb.allow-overlapping-blocks": "true",
"storage.tsdb.head-chunks-write-queue-size": "0",
"storage.tsdb.max-block-chunk-segment-size": "0B",
"storage.tsdb.max-block-duration": "3d",
"storage.tsdb.min-block-duration": "2h",
"storage.tsdb.no-lockfile": "false",
"storage.tsdb.path": "/prometheus",
"storage.tsdb.retention": "0s",
"storage.tsdb.retention.size": "80GiB",
"storage.tsdb.retention.time": "30d",
"storage.tsdb.wal-compression": "true",
"storage.tsdb.wal-segment-size": "0B",
"web.config.file": "/etc/prometheus/web_config/web-config.yaml",
"web.console.libraries": "/etc/prometheus/console_libraries",
"web.console.templates": "/etc/prometheus/consoles",
"web.cors.origin": ".*",
"web.enable-admin-api": "false",
"web.enable-lifecycle": "true",
"web.enable-remote-write-receiver": "false",
"web.external-url": "http://prometheus.x.y.com/",
"web.listen-address": "0.0.0.0:9090",
"web.max-connections": "512",
"web.page-title": "Prometheus Time Series Collection and Processing Server",
"web.read-timeout": "5m",
"web.route-prefix": "/",
"web.user-assets": ""
}
}
*Question:*
*1) why do both the server has a different block duration/size? *
*2) How can we find number of timeseries per/sec?*
*3) How can we find churn rate? *
--
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/CAOrgXNJdS1Svoc3L0HcXaDsHY%2BSDyN8QqeXBcU45WqL2nQuH7A%40mail.gmail.com.