ceramicnetwork / js-ceramic

Typescript implementation of the Ceramic protocol
http://ceramic.network
Other
414 stars 127 forks source link

feat: more observability for import CAR and CAS polling #3266

Closed samika98 closed 1 month ago

samika98 commented 1 month ago

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.

linear[bot] commented 1 month ago

AES-239 New metrics to add to js-ceramic