Module holochain_trace::metrics

source ·
Expand description

§Metrics

WIP metrics helper for counting values and sending tracing events. This is designed to be fast so everything is on the stack. This means you need to keep the metric sets small (<100 metrics per set). If you need more then make a new set.

Functions§

  • Enable all metrics for your program
  • Is metrics currently enabled? Call init() to enable.