Skip to content

Commit

Permalink
Merge pull request #8 from dappnode/marc/erigon-curl-and-metrics
Browse files Browse the repository at this point in the history
add curl & fix metrics
  • Loading branch information
Marketen authored Aug 26, 2024
2 parents 9058514 + 9edc69c commit 1b31827
Show file tree
Hide file tree
Showing 5 changed files with 2,089 additions and 2,417 deletions.
3 changes: 2 additions & 1 deletion erigon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ USER root

COPY entrypoint.sh /usr/local/bin/entrypoint.sh

RUN chmod +rx /usr/local/bin/entrypoint.sh /etc/profile.d/execution_tools.sh
RUN apk update && apk add curl && \
chmod +rx /usr/local/bin/entrypoint.sh /etc/profile.d/execution_tools.sh

ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
12 changes: 12 additions & 0 deletions package_variants/gnosis/prometheus-targets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"labels": {
"package": "gnosis-erigon.dnp.dappnode.eth",
"service": "gnosis-erigon.dappnode",
"__metrics_path__": "/debug/metrics/prometheus"
},
"targets": [
"gnosis-erigon.dappnode:6060"
]
}
]
12 changes: 12 additions & 0 deletions package_variants/holesky/prometheus-targets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"labels": {
"package": "holesky-erigon.dnp.dappnode.eth",
"service": "holesky-erigon.dappnode",
"__metrics_path__": "/debug/metrics/prometheus"
},
"targets": [
"holesky-erigon.dappnode:6060"
]
}
]
12 changes: 12 additions & 0 deletions package_variants/mainnet/prometheus-targets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"labels": {
"package": "erigon.dnp.dappnode.eth",
"service": "erigon.dappnode",
"__metrics_path__": "/debug/metrics/prometheus"
},
"targets": [
"erigon.dappnode:6060"
]
}
]
Loading

0 comments on commit 1b31827

Please sign in to comment.