Service API will no longer be needed, requests from the ethical metrics daemon will go directly from dappmanager to ethical infra using tor core package socks
Prometheus service will no longer needed since it will expose the Prometheus from DMS
Tor service will be replaced by the new tor core package
The migration will consist of the following:
Install new core
New dappmanager starts
Dappmanager realizes that ethical metrics legacy is running
Dappmanager fetches tor instance from legacy ethical metrics using /instance endpoint
Implement ethical metrics migration: ethical metrics will switch from using package ethical metrics to use new core package TOR:
The migration will consist of the following:
/instance
endpointdontSendUnregisterNotification
https://github.com/dappnode/monitor-proxy/blob/a26edf0b77ba42ea5f54816c1822e97470fd15ad/src/apis/server/register/types.ts#L7. This will be using the socks from tor ethical metrics pkgdontSendWelcomeNotification
https://github.com/dappnode/monitor-proxy/blob/a26edf0b77ba42ea5f54816c1822e97470fd15ad/src/apis/server/register/types.ts#L15. This will be using the socks from tor core packageThis will entail data historic lost