Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions dappnode_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"repo": "grafana/grafana",
"version": "11.1.0",
"arg": "UPSTREAM_VERSION_GRAFANA"
},
{
"repo": "grafana/loki",
"version": "3.1.1",
"arg": "UPSTREAM_VERSION_LOKI"
}
],
"architectures": ["linux/amd64"],
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
build:
context: loki
args:
UPSTREAM_VERSION: 2.7.3
UPSTREAM_VERSION_LOKI: 3.1.1
command: "-config.file=/etc/loki/local-config.yaml"
restart: always
image: "loki.dms.dnp.dappnode.eth:1.0.1"
Expand Down
4 changes: 2 additions & 2 deletions loki/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

ARG UPSTREAM_VERSION
ARG UPSTREAM_VERSION_LOKI

FROM grafana/loki:${UPSTREAM_VERSION}
FROM grafana/loki:${UPSTREAM_VERSION_LOKI}

COPY local-config.yaml /etc/loki/local-config.yaml
23 changes: 7 additions & 16 deletions loki/local-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,21 @@ query_range:

schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
- from: 2024-04-01
store: tsdb # Change index type to tsdb
object_store: filesystem
schema: v11
schema: v13 # Upgrade schema to v13
index:
prefix: index_
period: 24h

limits_config:
ingestion_rate_mb: 1024
ingestion_burst_size_mb: 1024
allow_structured_metadata: true # Structured metadata allowed with v13 and tsdb

ruler:
alertmanager_url: http://localhost:9093

# By default, Loki will send anonymous, but uniquely-identifiable usage and configuration
# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
#
# Statistics help us better understand how Loki is used, and they show us performance
# levels for most users. This helps us prioritize features and documentation.
# For more information on what's sent, look at
# https://github.com/grafana/loki/blob/main/pkg/usagestats/stats.go
# Refer to the buildReport method to see what goes into a report.
#
# If you would like to disable reporting, uncomment the following lines:
#analytics:
# reporting_enabled: false
# Uncomment to disable usage statistics reporting
analytics:
reporting_enabled: false