Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Introduce metrics framework based on telemetry events #1593

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

jeffgrunewald
Copy link
Contributor

Consumes the following upstream PRs to add telemetry events to the underlying blockchain-core and grpcbox libraries that will emit telemetry events related to block production and grpc connections/request latencies.

The metrics framework is designed to be extensible and consume any telemetry events being generated within the miner software or any upstream dependencies and by added to the expected prometheus scrape target endpoint by updating the handler function with a new function head (src/metrics/miner_metrics_server.erl), and by updating the event specs in the metrics header file (include/metrics.hrl) and then adding the desired groups of metrics to your sysconfig profile.

Depends on merges of:
novalabsxyz/grpcbox#3
helium/blockchain-core#1336
helium/sibyl#42

and then subsequent cleanup of the rebar.config/rebar.lock files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants