-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
monitoring: Prometheus retention set to 1 year with help from mimir a…
…nd minio (#142) * chore: added mimir template * chore: added minio and mimir * chore: working mimir * chore: commented out old prometheus datasource * chore: updated diagram * chore: removed tokens
- Loading branch information
Showing
6 changed files
with
428 additions
and
15 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Run Mimir in single process mode, with all components running in 1 process. | ||
target: all | ||
|
||
# Configure Mimir to use Minio as object storage backend. | ||
common: | ||
storage: | ||
backend: s3 | ||
s3: | ||
endpoint: minio:9000 | ||
access_key_id: ${access_key_id} | ||
secret_access_key: ${secret_access_key} | ||
insecure: true | ||
bucket_name: mimir | ||
|
||
# Blocks storage requires a prefix when using a common object storage bucket. | ||
# Blocks storage is used for long time data | ||
blocks_storage: | ||
backend: s3 | ||
storage_prefix: blocks | ||
bucket_store: | ||
sync_dir: /data/tsdb-sync | ||
# ingesters writes here and "flush" this data to blocks storage in s3 backend every 2 hours. | ||
tsdb: | ||
dir: /data/tsdb | ||
|
||
ruler_storage: | ||
backend: s3 | ||
storage_prefix: ruler | ||
|
||
ingester: | ||
ring: | ||
# Default - 3. Made one. Mimir should be in 3 replicas otherwise. | ||
replication_factor: 1 | ||
|
||
limits: | ||
# Delete from storage metrics data older than 1 year. | ||
compactor_blocks_retention_period: 1y | ||
|
||
usage_stats: | ||
enabled: false | ||
|
||
server: | ||
http_listen_port: 9009 # should be set to work properly | ||
log_level: warn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters