erigon-pulse/cmd/prometheus/prometheus.yml
Alex Sharov 9cf10a8f85
Rpcdaemon: Gracefull shutdown, better grpc stream close (#1196)
* save progress

* GracefulShutdown grpc server, send to server close signal before canceling context

* GracefulShutdown grpc server, send to server close signal before canceling context

* GracefulShutdown json server

* GracefulShutdown json server

* fix lint

* fix lint

* can

* clean

* test

* test

* test

* increase keepalive timeout, increase vegeta timeout, mark server-side errors

* increase keepalive timeout, increase vegeta timeout, mark server-side errors

* hack hugeFreelist

* up streams limit

* up streams limit

* up streams limit

* up streams limit

* up streams limit

* up streams limit

* up streams limit

* up streams limit

* up streams limit

* up streams limit

* up streams limit

* fix_race_condition_on_zstd_build
2020-10-10 07:06:54 +01:00

41 lines
1.1 KiB
YAML

global:
scrape_interval: 5s
scrape_timeout: 5s
evaluation_interval: 5s
alerting:
alertmanagers:
- static_configs:
- targets: []
scheme: http
timeout: 5s
scrape_configs:
- job_name: turbo-geth # example, how to connect prometheus to geth runned by docker-compose
metrics_path: /debug/metrics/prometheus
scheme: http
static_configs:
- targets:
- turbo-geth:6060
- turbo-geth:6061
- turbo-geth:6062
- host.docker.internal:6060 # this is how docker-for-mac allow to access host machine
- host.docker.internal:6061
- host.docker.internal:6062
- 192.168.255.138:6060
- 192.168.255.138:6061
- job_name: turbo-geth2
metrics_path: /debug/metrics/prometheus2
scheme: http
static_configs:
- targets:
- turbo-geth:6060
- turbo-geth:6061
- turbo-geth:6062
- host.docker.internal:6060
- host.docker.internal:6061
- host.docker.internal:6062
- 192.168.255.138:6060
- 192.168.255.138:6061