Initial commit: add .gitignore and README

This commit is contained in:
defiQUG
2026-02-09 21:51:48 -08:00
commit d4ba3d45e5
174 changed files with 32756 additions and 0 deletions

11
metricbeat/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM docker.elastic.co/beats/metricbeat:7.14.1
ENV IP_ADDRESS "127.0.0.1"
ENV REDIS_HOST localhost
ENV REDIS_PORT 6379
USER root
ADD ./metricbeat.yml /usr/share/metricbeat/metricbeat.yml
RUN chown root:metricbeat /usr/share/metricbeat/metricbeat.yml && chmod go-w /usr/share/metricbeat/metricbeat.yml
USER metricbeat
CMD ["metricbeat", "-c", "metricbeat.yml"]

31
metricbeat/metricbeat.yml Normal file
View File

@@ -0,0 +1,31 @@
metricbeat.modules:
- module: prometheus
period: 15s
hosts:
- validator1:9545
- validator2:9545
- validator3:9545
- validator4:9545
- rpcnode:9545
- member1besu:9545
- member2besu:9545
- member3besu:9545
metrics_path: /metrics
output.redis:
enabled: true
hosts: ["${REDIS_HOST}:${REDIS_PORT}"]
key: metricbeat
logging:
level: error
to_files: false
json: true
files:
path: /var/log/metricbeat
name: metricbeat-all.log
keepfiles: 0
#rotateonstartup: true