Created in order to observe gitcoin errors better. This adds more observability regarding calls to IPFS and CAS.
NOTE : Currently we are not using spans anywhere in the code-base to record time function calls usually take. Thus, this PR uses Gauge's to track that. Once we have support for observing spans better we can use those.
Added a TODO in the PR to tackle this, as well as commented out code on how we should use spans.
We can use 'avg_over_time[5m(or any other time duration)]' in grafana to get observability over the gauges we have added.
Description
Created in order to observe gitcoin errors better. This adds more observability regarding calls to IPFS and CAS.
NOTE : Currently we are not using spans anywhere in the code-base to record time function calls usually take. Thus, this PR uses Gauge's to track that. Once we have support for observing spans better we can use those.
Added a TODO in the PR to tackle this, as well as commented out code on how we should use spans.
We can use 'avg_over_time[5m(or any other time duration)]' in grafana to get observability over the gauges we have added.