[Feature] Support dev-only metrics

Open
#4,604 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start by reading the project’s existing metrics instrumentation and the build feature gated aleo-std/profiler usage mentioned in the issue. The issue proposes disabling selected metrics in production and possibly unifying profiler instrumentation with the metrics library, but does not identify files or define which metrics to gate. Done means an agreed design and implementation for dev-only metrics, with profiler usage addressed as decided.

Written by the indexing model from the issue text.

Description

feature metrics perf

🚀 Feature

We added a lot of metrics recently, and we probably want to add more, which add costs and a performance penalty. I know of several production high performance production systems which disable certain metrics in production, we could do the same.

Somewhat related: some old parts of snarkVM are instrumented with build feature-gated aleo-std/profiler, but we might want to replace that with a unified usage of our metrics library.

Dominant language
Rust
Stars
4.5k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ProvableHQ/snarkOS

All issues in ProvableHQ/snarkOS

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.