feat: add traceFunction call to metrics #2898
48.37% of diff hit (target 92.01%)
View this Pull Request on Codecov
48.37% of diff hit (target 92.01%)
Annotations
Check warning on line 63 in packages/kad-dht/src/content-routing/index.ts
codecov / codecov/patch
packages/kad-dht/src/content-routing/index.ts#L57-L63
Added lines #L57 - L63 were not covered by tests
Check warning on line 74 in packages/kad-dht/src/content-routing/index.ts
codecov / codecov/patch
packages/kad-dht/src/content-routing/index.ts#L68-L74
Added lines #L68 - L74 were not covered by tests
Check warning on line 68 in packages/kad-dht/src/network.ts
codecov / codecov/patch
packages/kad-dht/src/network.ts#L64-L68
Added lines #L64 - L68 were not covered by tests
Check warning on line 86 in packages/kad-dht/src/network.ts
codecov / codecov/patch
packages/kad-dht/src/network.ts#L71-L86
Added lines #L71 - L86 were not covered by tests
Check warning on line 95 in packages/kad-dht/src/network.ts
codecov / codecov/patch
packages/kad-dht/src/network.ts#L91-L95
Added lines #L91 - L95 were not covered by tests
Check warning on line 113 in packages/kad-dht/src/network.ts
codecov / codecov/patch
packages/kad-dht/src/network.ts#L98-L113
Added lines #L98 - L113 were not covered by tests
Check warning on line 36 in packages/libp2p/src/content-routing.ts
codecov / codecov/patch
packages/libp2p/src/content-routing.ts#L33-L36
Added lines #L33 - L36 were not covered by tests
Check warning on line 43 in packages/libp2p/src/content-routing.ts
codecov / codecov/patch
packages/libp2p/src/content-routing.ts#L39-L43
Added lines #L39 - L43 were not covered by tests
Check warning on line 52 in packages/libp2p/src/content-routing.ts
codecov / codecov/patch
packages/libp2p/src/content-routing.ts#L48-L52
Added lines #L48 - L52 were not covered by tests
Check warning on line 61 in packages/libp2p/src/content-routing.ts
codecov / codecov/patch
packages/libp2p/src/content-routing.ts#L57-L61
Added lines #L57 - L61 were not covered by tests
Check warning on line 69 in packages/libp2p/src/content-routing.ts
codecov / codecov/patch
packages/libp2p/src/content-routing.ts#L66-L69
Added lines #L66 - L69 were not covered by tests
Check warning on line 77 in packages/libp2p/src/content-routing.ts
codecov / codecov/patch
packages/libp2p/src/content-routing.ts#L74-L77
Added lines #L74 - L77 were not covered by tests
Check warning on line 40 in packages/libp2p/src/peer-routing.ts
codecov / codecov/patch
packages/libp2p/src/peer-routing.ts#L36-L40
Added lines #L36 - L40 were not covered by tests
Check warning on line 48 in packages/libp2p/src/peer-routing.ts
codecov / codecov/patch
packages/libp2p/src/peer-routing.ts#L45-L48
Added lines #L45 - L48 were not covered by tests
Check warning on line 55 in packages/libp2p/src/peer-routing.ts
codecov / codecov/patch
packages/libp2p/src/peer-routing.ts#L51-L55
Added lines #L51 - L55 were not covered by tests
Check warning on line 244 in packages/metrics-devtools/src/index.ts
codecov / codecov/patch
packages/metrics-devtools/src/index.ts#L243-L244
Added lines #L243 - L244 were not covered by tests
Check warning on line 248 in packages/metrics-devtools/src/index.ts
codecov / codecov/patch
packages/metrics-devtools/src/index.ts#L247-L248
Added lines #L247 - L248 were not covered by tests
Check warning on line 496 in packages/metrics-prometheus/src/index.ts
codecov / codecov/patch
packages/metrics-prometheus/src/index.ts#L495-L496
Added lines #L495 - L496 were not covered by tests
Check warning on line 501 in packages/metrics-prometheus/src/index.ts
codecov / codecov/patch
packages/metrics-prometheus/src/index.ts#L499-L501
Added lines #L499 - L501 were not covered by tests
Check warning on line 557 in packages/metrics-simple/src/index.ts
codecov / codecov/patch
packages/metrics-simple/src/index.ts#L556-L557
Added lines #L556 - L557 were not covered by tests
Check warning on line 562 in packages/metrics-simple/src/index.ts
codecov / codecov/patch
packages/metrics-simple/src/index.ts#L560-L562
Added lines #L560 - L562 were not covered by tests