2019-05-10 16:27:48 +02:00
# Description
2019-05-10 18:16:46 +02:00
This role configures [`geth_exporter` ](https://github.com/status-im/geth_exporter ), a metrics exporter for [go-ethereum ](https://github.com/ethereum/go-ethereum ).
2019-05-10 16:27:48 +02:00
The image used by default is [statusteam/geth_exporter:latest ](https://hub.docker.com/r/statusteam/geth_exporter ).
2019-05-10 18:08:52 +02:00
# Installation
```yaml
- name: infra-role-geth-exporter
src: git+git@github .com:status-im/infra-role-geth-exporter.git
scm: git
```
2019-05-10 16:27:48 +02:00
# Configuration
2019-05-10 16:39:32 +02:00
The main thing to change is name of container to connect to and IPC path:
2019-05-10 16:27:48 +02:00
```yaml
2019-05-10 16:39:49 +02:00
geth_source_cont_name: 'my-geth-container'
2019-05-10 16:39:32 +02:00
```
The rest of the defaults should be fine, but if you want to change anything change those:
```yaml
geth_expo_cont_name: 'metrics-geth-01'
geth_expo_cont_port: 9300
2019-05-10 16:27:48 +02:00
```
# Known Issues
Currently only connecting via an IPC socket is supported by `geth_exporter` , RPC HTTP is not supported.