add dht crawler from docker
This commit is contained in:
parent
9312be4bef
commit
c64046c393
3 changed files with 1419 additions and 0 deletions
1403
dashboards/dht-dashboard.json
Normal file
1403
dashboards/dht-dashboard.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -42,6 +42,15 @@ services:
|
|||
#ports:
|
||||
# - 4444:4444/udp
|
||||
|
||||
dht-crawler:
|
||||
image: lbry/dht-bootstrap:crawler # metrics at port 8080
|
||||
entrypoint: python3
|
||||
command: scripts/dht_crawler.py
|
||||
container_name: dht_node_crawler
|
||||
restart: unless-stopped
|
||||
network_mode: "host"
|
||||
|
||||
|
||||
# node-exporter:
|
||||
# image: prom/node-exporter:latest
|
||||
# container_name: monitoring_node_exporter
|
||||
|
|
|
@ -36,6 +36,13 @@ scrape_configs:
|
|||
- targets:
|
||||
- host.docker.internal:7777
|
||||
|
||||
- job_name: dht_crawler
|
||||
metrics_path: /metrics
|
||||
scheme: http
|
||||
static_configs:
|
||||
- targets:
|
||||
- host.docker.internal:8080
|
||||
|
||||
- job_name: lbcd
|
||||
metrics_path: /
|
||||
scheme: http
|
||||
|
|
Loading…
Reference in a new issue