|
| 1 | +# role: ethpandaops.general.bootstrap |
| 2 | +bootstrap_default_user_authorized_keys_github_team_el: |
| 3 | + - edg-l |
| 4 | + - JereSalo |
| 5 | + - ilitteri |
| 6 | + |
| 7 | +# role: ethpandaops.general.ethereum_node |
| 8 | +ethereum_node_el: ethrex |
| 9 | +# role: ethpandaops.general.ethrex |
| 10 | +ethrex_container_name: execution |
| 11 | +ethrex_container_image: "{{ default_ethereum_client_images.ethrex }}" |
| 12 | +ethrex_container_env: |
| 13 | + VIRTUAL_HOST: "{{ ethereum_node_rcp_hostname }}" |
| 14 | + VIRTUAL_PORT: "{{ ethereum_node_el_ports_http_rpc | string }}" |
| 15 | + LETSENCRYPT_HOST: "{{ ethereum_node_rcp_hostname }}" |
| 16 | + RUST_LOG: "info" |
| 17 | +ethrex_container_volumes: |
| 18 | + - "{{ ethrex_datadir }}:/data" |
| 19 | + - "{{ ethrex_auth_jwt_path }}:/execution-auth.jwt:ro" |
| 20 | + - "{{ eth_testnet_config_dir }}:/network-config:ro" |
| 21 | +ethrex_container_command_extra_args: |
| 22 | + - --network=/network-config/genesis.json |
| 23 | + - --bootnodes={{ ethereum_el_bootnodes | join(',') }} |
| 24 | + - --builder.gas-limit=80000000 |
| 25 | + |
| 26 | +prometheus_config: | |
| 27 | + global: |
| 28 | + scrape_interval: 30s |
| 29 | + evaluation_interval: 30s |
| 30 | + scrape_timeout: 10s |
| 31 | + external_labels: |
| 32 | + instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}" |
| 33 | + ip_address: "{{ ansible_host }}" |
| 34 | + network: "{{ ethereum_network_name }}" |
| 35 | + testnet: "{{ ethereum_network_name }}" |
| 36 | + execution_client: "{{ ethereum_node_el }}" |
| 37 | + consensus_client: "{{ ethereum_node_cl }}" |
| 38 | + supernode: "{{ ethereum_node_cl_supernode_enabled | bool | default(false) }}" |
| 39 | + remote_write: |
| 40 | + - queue_config: |
| 41 | + batch_send_deadline: 5s |
| 42 | + max_backoff: 500ms |
| 43 | + max_samples_per_send: 500 |
| 44 | + min_backoff: 50ms |
| 45 | + max_shards: 100 |
| 46 | + url: {{ prometheus_remote_push_url }} |
| 47 | + remote_timeout: 10s |
| 48 | + basic_auth: |
| 49 | + username: {{ prometheus_remote_write_username }} |
| 50 | + password: {{ prometheus_remote_write_password }} |
| 51 | + scrape_configs: |
| 52 | + - job_name: "prometheus" |
| 53 | + metrics_path: "/metrics" |
| 54 | + static_configs: |
| 55 | + - targets: ["localhost:9090"] |
| 56 | + labels: |
| 57 | + instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}" |
| 58 | + - job_name: "node" |
| 59 | + metrics_path: "/metrics" |
| 60 | + static_configs: |
| 61 | + - targets: ["172.17.0.1:9100"] |
| 62 | + labels: |
| 63 | + instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}" |
| 64 | + - job_name: "exporter" |
| 65 | + metrics_path: "/metrics" |
| 66 | + static_configs: |
| 67 | + - targets: ["ethereum-metrics-exporter:9090"] |
| 68 | + labels: |
| 69 | + instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}" |
| 70 | + - job_name: "consensus_node" |
| 71 | + metrics_path: "/metrics" |
| 72 | + static_configs: |
| 73 | + - targets: ["{{ vars[ethereum_node_cl + '_container_name'] }}:{{ ethereum_node_cl_ports_metrics }}"] |
| 74 | + labels: |
| 75 | + instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}" |
| 76 | + - job_name: "execution" |
| 77 | + metrics_path: "/metrics" |
| 78 | + static_configs: |
| 79 | + - targets: ["execution:{{ ethereum_node_el_ports_metrics }}"] |
| 80 | + labels: |
| 81 | + instance: "{{ ethereum_network_name }}-{{ inventory_hostname }}" |
0 commit comments