attempt ot reduce prometheus memory by setting --storage.tsdb.retention.size; laso add metrics-api which is not working atm [ci skip]
This commit is contained in:
parent
3c0c3956f7
commit
64491f9028
4 changed files with 57 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ server:
|
|||
extraFlags:
|
||||
# - "web.enable-admin-api"
|
||||
- "storage.tsdb.allow-overlapping-blocks"
|
||||
- "storage.tsdb.retention.size=1GB"
|
||||
persistentVolume:
|
||||
# enabled: false
|
||||
existingClaim: prometheus-iscsi-pvc
|
||||
|
|
@ -88,6 +89,32 @@ server:
|
|||
|
||||
serverFiles:
|
||||
# prometheus.yml:
|
||||
# storage:
|
||||
# tsdb:
|
||||
# # no_lockfile: true
|
||||
# # max_blocks_in_cache: 100000
|
||||
# # max_lookback_duration: 0s
|
||||
# # min_block_duration: 2h
|
||||
# # retention: 15d
|
||||
# # chunk_encoding: 1
|
||||
# # chunk_range: 1h
|
||||
# # max_chunks_to_persist: 4800
|
||||
# # chunks_to_persist: 4800
|
||||
# cache:
|
||||
# entries: 5000
|
||||
# head:
|
||||
# chunk_bytes: 1048576
|
||||
# # wal:
|
||||
# # compressions: 1
|
||||
# # flush_after_seconds: 30
|
||||
# # segment_size: 1073741824
|
||||
# series_file:
|
||||
# # no_sync: true
|
||||
# # max_concurrent_writes: 256
|
||||
# # block_size: 262144
|
||||
# cache:
|
||||
# max_size: 1073741824
|
||||
|
||||
# alertingaaa:
|
||||
# alertmanagers:
|
||||
# - static_configs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue