Skip to content

Commit b5a44df

Browse files
Bump prometheus and grafana (#52)
* bump prometheus and grafana * update args names * update args names * Update args in Dockerfiles --------- Co-authored-by: dappnodedev <[email protected]>
1 parent d56bed3 commit b5a44df

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

dappnode_package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
"description": "This package privately and locally collects and displays metrics related to your dappnode and its packages. Based on Grafana and Prometheus. It is recommended to also install the package Node-Exporter if you want system metrics. You can find a guide on how to set up your monitoring system in the next link https://forum.dappnode.io/t/begginer-friendly-install-monitoring-system-on-dappnode-using-dms-package/623",
55
"shortDescription": "DAppNode Monitoring Service",
66
"type": "service",
7+
"upstream": [
8+
{
9+
"repo": "prometheus/prometheus",
10+
"version": "2.52.0",
11+
"arg": "UPSTREAM_VERSION_PROMETHEUS"
12+
},
13+
{
14+
"repo": "grafana/grafana",
15+
"version": "11.0.0",
16+
"arg": "UPSTREAM_VERSION_GRAFANA"
17+
}
18+
],
719
"architectures": ["linux/amd64"],
820
"mainService": "grafana",
921
"author": "DAppNode Association <[email protected]> (https://github.com/dappnode)",

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
build:
55
context: grafana
66
args:
7-
UPSTREAM_VERSION: 9.3.6
7+
UPSTREAM_VERSION_GRAFANA: 11.0.0
88
image: "grafana.dms.dnp.dappnode.eth:1.0.1"
99
restart: always
1010
volumes:
@@ -13,7 +13,7 @@ services:
1313
build:
1414
context: prometheus
1515
args:
16-
UPSTREAM_VERSION: v2.30.0
16+
UPSTREAM_VERSION_PROMETHEUS: v2.52.0
1717
image: "prometheus.dms.dnp.dappnode.eth:1.0.1"
1818
restart: always
1919
volumes:

grafana/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ARG UPSTREAM_VERSION
1+
ARG UPSTREAM_VERSION_GRAFANA
22

3-
FROM grafana/grafana:${UPSTREAM_VERSION}
3+
FROM grafana/grafana:${UPSTREAM_VERSION_GRAFANA}
44

55
USER root
66

prometheus/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ARG UPSTREAM_VERSION
1+
ARG UPSTREAM_VERSION_PROMETHEUS
22

3-
FROM prom/prometheus:${UPSTREAM_VERSION}
3+
FROM prom/prometheus:${UPSTREAM_VERSION_PROMETHEUS}
44

55
COPY prometheus.yml /etc/prometheus/
66

0 commit comments

Comments
 (0)