subsquid / sqd-network

A network of decentralized archives
GNU Affero General Public License v3.0
6 stars 1 forks source link

Network metrics #42

Open Wiezzel opened 1 year ago

Wiezzel commented 1 year ago

General remarks

Worker metrics

  1. Every 10 seconds:
    • Available datasets/ranges,
  2. For every received query:
    • Submitting client’s peer ID,
    • Query ID,
    • Query itself,
    • Dataset ID,
    • Size and hash of input data,
    • Execution result (OK or error),
    • Execution time,
    • Size and hash of output data.

Client metrics

For every submitted query:

dzhelezov commented 1 year ago

For the query data, we also need the size of the scanned data, not just the size of the result.