Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
9c9ec639f0
commit
40454b5507
6 changed files with 26 additions and 3 deletions
8
.env
8
.env
|
@ -12,11 +12,11 @@ NEOGO_VERSION=0.103.0
|
||||||
NEOGO_IMAGE=nspccdev/neo-go
|
NEOGO_IMAGE=nspccdev/neo-go
|
||||||
|
|
||||||
# FrostFS InnerRing nodes
|
# FrostFS InnerRing nodes
|
||||||
IR_VERSION=365a7ca0
|
IR_VERSION=0.37.0-rc.1-93-g364f835b
|
||||||
IR_IMAGE=truecloudlab/frostfs-ir
|
IR_IMAGE=truecloudlab/frostfs-ir
|
||||||
|
|
||||||
# FrostFS Storage nodes
|
# FrostFS Storage nodes
|
||||||
NODE_VERSION=365a7ca0
|
NODE_VERSION=0.37.0-rc.1-93-g364f835b
|
||||||
NODE_IMAGE=truecloudlab/frostfs-storage
|
NODE_IMAGE=truecloudlab/frostfs-storage
|
||||||
|
|
||||||
# NATS Server
|
# NATS Server
|
||||||
|
@ -64,3 +64,7 @@ PROMETHEUS_IMAGE=prom/prometheus
|
||||||
# Grafana versions
|
# Grafana versions
|
||||||
GRAFANA_VERSION=9.5.6
|
GRAFANA_VERSION=9.5.6
|
||||||
GRAFANA_IMAGE=grafana/grafana
|
GRAFANA_IMAGE=grafana/grafana
|
||||||
|
|
||||||
|
# Loki versions
|
||||||
|
LOKI_VERSION=2.9.1
|
||||||
|
LOKI_IMAGE=grafana/loki
|
|
@ -1 +1,2 @@
|
||||||
IPV4_PREFIX.122 grafana.LOCAL_DOMAIN
|
IPV4_PREFIX.122 grafana.LOCAL_DOMAIN
|
||||||
|
IPV4_PREFIX.123 loki.LOCAL_DOMAIN
|
||||||
|
|
|
@ -17,6 +17,14 @@ services:
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
env_file: [ ".env", ".int_test.env" ]
|
env_file: [ ".env", ".int_test.env" ]
|
||||||
|
|
||||||
|
loki:
|
||||||
|
image: ${LOKI_IMAGE}:${LOKI_VERSION}
|
||||||
|
command: -config.file=/etc/loki/local-config.yaml
|
||||||
|
networks:
|
||||||
|
grafana_int:
|
||||||
|
internet:
|
||||||
|
ipv4_address: ${IPV4_PREFIX}.123
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
grafana_int:
|
grafana_int:
|
||||||
internet:
|
internet:
|
||||||
|
|
BIN
services/grafana/provisioning/dashboards/storage-node-logs.json
Normal file
BIN
services/grafana/provisioning/dashboards/storage-node-logs.json
Normal file
Binary file not shown.
|
@ -6,3 +6,8 @@ datasources:
|
||||||
access: proxy
|
access: proxy
|
||||||
orgId: 1
|
orgId: 1
|
||||||
url: http://prometheus:9090
|
url: http://prometheus:9090
|
||||||
|
- name: Loki
|
||||||
|
type: loki
|
||||||
|
access: proxy
|
||||||
|
orgId: 1
|
||||||
|
url: http://loki:3100
|
|
@ -1,6 +1,11 @@
|
||||||
# Logger section
|
# Logger section
|
||||||
logger:
|
logger:
|
||||||
level: debug # Minimum enabled logging level
|
level: debug # Minimum enabled logging level
|
||||||
|
loki:
|
||||||
|
enabled: true
|
||||||
|
endpoint: "loki.frostfs.devenv:3100/api/prom/push"
|
||||||
|
max_batch_delay: 1s
|
||||||
|
max_batch_size: 200
|
||||||
|
|
||||||
# Profiler section
|
# Profiler section
|
||||||
pprof:
|
pprof:
|
||||||
|
|
Loading…
Reference in a new issue