fixed loki (boltdb -> tsdb)
This commit is contained in:
parent
2665f35441
commit
3714de0a16
2 changed files with 7 additions and 14 deletions
|
@ -35,7 +35,7 @@
|
||||||
./telemetry/telegraf.nix
|
./telemetry/telegraf.nix
|
||||||
#./telemetry/opentelemetry-hass.nix
|
#./telemetry/opentelemetry-hass.nix
|
||||||
./telemetry/prometheus.nix
|
./telemetry/prometheus.nix
|
||||||
#./telemetry/loki.nix # todo enable this one again
|
./telemetry/loki.nix # todo enable this one again
|
||||||
|
|
||||||
./sync-rbackup.nix
|
./sync-rbackup.nix
|
||||||
./sync-syncoid.nix
|
./sync-syncoid.nix
|
||||||
|
|
|
@ -61,15 +61,14 @@
|
||||||
max_chunk_age = "1h";
|
max_chunk_age = "1h";
|
||||||
chunk_target_size = 999999;
|
chunk_target_size = 999999;
|
||||||
chunk_retain_period = "30s";
|
chunk_retain_period = "30s";
|
||||||
#max_transfer_retries = 0;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
schema_config = {
|
schema_config = {
|
||||||
configs = [{
|
configs = [{
|
||||||
from = "2022-06-06";
|
from = "2024-05-28";
|
||||||
store = "boltdb-shipper";
|
store = "tsdb";
|
||||||
object_store = "filesystem";
|
object_store = "filesystem";
|
||||||
schema = "v11";
|
schema = "v13";
|
||||||
index = {
|
index = {
|
||||||
prefix = "index_";
|
prefix = "index_";
|
||||||
period = "24h";
|
period = "24h";
|
||||||
|
@ -78,11 +77,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
storage_config = {
|
storage_config = {
|
||||||
boltdb_shipper = {
|
tsdb_shipper = {
|
||||||
active_index_directory = "/var/lib/loki/boltdb-shipper-active";
|
active_index_directory = "/var/lib/loki/tsdb-shipper-active";
|
||||||
cache_location = "/var/lib/loki/boltdb-shipper-cache";
|
cache_location = "/var/lib/loki/tsdb-shipper-cache";
|
||||||
cache_ttl = "24h";
|
cache_ttl = "24h";
|
||||||
#shared_store = "filesystem";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
filesystem = {
|
filesystem = {
|
||||||
|
@ -95,10 +93,6 @@
|
||||||
reject_old_samples_max_age = "168h";
|
reject_old_samples_max_age = "168h";
|
||||||
};
|
};
|
||||||
|
|
||||||
#chunk_store_config = {
|
|
||||||
# max_look_back_period = "0s";
|
|
||||||
#};
|
|
||||||
|
|
||||||
table_manager = {
|
table_manager = {
|
||||||
retention_deletes_enabled = false;
|
retention_deletes_enabled = false;
|
||||||
retention_period = "0s";
|
retention_period = "0s";
|
||||||
|
@ -106,7 +100,6 @@
|
||||||
|
|
||||||
compactor = {
|
compactor = {
|
||||||
working_directory = "/var/lib/loki";
|
working_directory = "/var/lib/loki";
|
||||||
#shared_store = "filesystem";
|
|
||||||
compactor_ring = {
|
compactor_ring = {
|
||||||
kvstore = {
|
kvstore = {
|
||||||
store = "inmemory";
|
store = "inmemory";
|
||||||
|
|
Loading…
Reference in a new issue