aligned_layer
aligned_layer copied to clipboard
feat(telemetry): Add url data to operator updates on telemetry service
Description
[!Warning] Merge after #1075
This PR adds new data to be updated for each operator on the telemetry service, which includes:
eth_rpc_urleth_rpc_url_fallbacketh_ws_urleth_ws_url_fallbackversion(this one was already present)
The implementation is also updated from the operator's side.
Testing
In order to test, the following steps were taken:
- Start anvil and the aggregator with:
make anvil_start_with_block_timemake aggregator_start
- Build and register operator with:
make build_operatormake operator_full_registration CONFIG_FILE=config-files/config-operator-1.yaml
- Start telemetry service with:
make telemetry_clean_dbmake telemetry_run_dbmake telemetry_start
- Go to
http://localhost:4001/api/operatorsand you should see the operator with its data fields. Some of them, like the version and RPC related should be set as null, since the operator is not up yet. - Start the operator with
make operator_start CONFIG_FILE=config-files/config-operator-1.yaml - Go to
http://localhost:4001/api/operatorsand you should see the operator, now with all fields with a certain value, including version and RPC related.