Add loki
This commit is contained in:
parent
27b76194ee
commit
cc6512a01c
@ -108,6 +108,9 @@ redxen.eu/daemons/grafana/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
|
|||||||
redxen.eu/daemons/prometheus/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
|
redxen.eu/daemons/prometheus/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
|
||||||
%/config.yaml
|
%/config.yaml
|
||||||
|
|
||||||
|
redxen.eu/daemons/loki/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
|
||||||
|
%/config.yaml
|
||||||
|
|
||||||
# Mail
|
# Mail
|
||||||
redxen.eu/daemons/opendkim/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
|
redxen.eu/daemons/opendkim/${BUILD_ID_OUT}: %/${BUILD_ID_OUT} : \
|
||||||
%/trusted_hosts \
|
%/trusted_hosts \
|
||||||
|
11
redxen.eu/daemons/loki/Containerfile
Normal file
11
redxen.eu/daemons/loki/Containerfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
RUN --network=host apk add \
|
||||||
|
loki
|
||||||
|
|
||||||
|
WORKDIR /etc/redxen/loki/
|
||||||
|
|
||||||
|
ADD config.yaml config.yaml
|
||||||
|
|
||||||
|
CMD ["loki", \
|
||||||
|
"-config.file=config.yaml"]
|
37
redxen.eu/daemons/loki/config.yaml
Normal file
37
redxen.eu/daemons/loki/config.yaml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
auth_enabled: false
|
||||||
|
|
||||||
|
server:
|
||||||
|
http_listen_address: 0.0.0.0
|
||||||
|
http_listen_port: 7553
|
||||||
|
register_instrumentation: true
|
||||||
|
|
||||||
|
common:
|
||||||
|
ring:
|
||||||
|
instance_addr: 127.0.0.1
|
||||||
|
kvstore:
|
||||||
|
store: inmemory
|
||||||
|
replication_factor: 1
|
||||||
|
path_prefix: /var/lib/loki
|
||||||
|
|
||||||
|
compactor:
|
||||||
|
working_directory: /var/lib/loki/compactor
|
||||||
|
compaction_interval: 1h
|
||||||
|
|
||||||
|
schema_config:
|
||||||
|
configs:
|
||||||
|
- from: 2024-10-07
|
||||||
|
store: tsdb
|
||||||
|
object_store: filesystem
|
||||||
|
schema: v13
|
||||||
|
index:
|
||||||
|
prefix: index_
|
||||||
|
period: 24h
|
||||||
|
|
||||||
|
storage_config:
|
||||||
|
filesystem:
|
||||||
|
directory: /var/lib/loki/chunks
|
||||||
|
|
||||||
|
limits_config:
|
||||||
|
reject_old_samples: true
|
||||||
|
reject_old_samples_max_age: 24h
|
||||||
|
max_query_series: 10000
|
Loading…
Reference in New Issue
Block a user