Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(metrics): add metrics crate and block metrics #300

Closed
wants to merge 1 commit into from
Closed

feat(metrics): add metrics crate and block metrics #300

wants to merge 1 commit into from

Conversation

magicalne
Copy link
Contributor

This pr involves metrics collection with opentelemetry.

By enabling metrics collection:

  1. Building godwoken with:
cargo build --features tokio --manifest-path crates/block-producer/Cargo.toml
  1. Adding mectics block in config.toml:
[metrics]
endpoint = "http://host:port"
worker_threads = 2

Screenshot from 2021-08-11 20-08-53
Screenshot from 2021-08-11 20-08-47

@magicalne magicalne requested a review from a team August 11, 2021 12:15
crates/block-producer/Cargo.toml Show resolved Hide resolved
crates/block-producer/src/runner.rs Outdated Show resolved Hide resolved
@magicalne magicalne requested a review from jjyr August 12, 2021 10:59
@magicalne magicalne closed this Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants