ChainSafe / ChainSafe/lodestar

Metrics feature flag for `light-client` REST APIs

Open
#6,502 0 comments 0 reactions 0 assignees View on GitHub
help wanted meta-feature-request scope-light-clients scope-metrics
Dominant language
TypeScript
Stars
1.4k
Forks
483
Avg merge
1d 16h
Merged PRs (30d)
150

Description

### Problem description

In order to make a proposal for inclusion of the light-client to browser extensions such as Metamask, we need to demonstrate the resourcefulness of running the Lodestar `light-client` in a browser environment. We would need to implement this to enable REST APIs for metrics collection.

### Solution description

We would hide this ability through a feature flag defaulted as `false` and include some metrics for collection such as:
- Memory usage
- CPU usage
- Response times
- BLS related metrics for browser

### Additional context

As discussed in our mini-chat with Greg about demonstrating the performance of our light client to browser based wallets such as Metamask.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.