Skip to content

Commit

Permalink
Merge pull request #204 from chainbound/lore/feat/sidecar/telemetry-m…
Browse files Browse the repository at this point in the history
…etrics

Telemetry & Metrics
  • Loading branch information
thedevbirb authored Sep 2, 2024
2 parents 6466e30 + b35afa6 commit cedd82f
Show file tree
Hide file tree
Showing 30 changed files with 1,707 additions and 227 deletions.
9 changes: 9 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ dora:
xdg-open "$url"; \
fi

# show the grafana dashboard in the browser. NOTE: works only for Linux and MacOS at the moment
grafana:
@url=$(just inspect | grep 'grafana\s*http' | awk -F'-> ' '{print $2}' | awk '{print $1}') && \
if [ "$(uname)" = "Darwin" ]; then \
open "$url"; \
else \
xdg-open "$url"; \
fi

# manually send a preconfirmation to the bolt devnet
send-preconf count='1':
cd bolt-kurtosis-client && RUST_LOG=info cargo run -- \
Expand Down
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
<!-- vim-markdown-toc Marked -->

- [How it works](#how-it-works)
- [Scope of this repository](#scope-of-this-repository)
- [Devnet and demo app](#devnet-and-demo-app)
- [Requirements and setup](#requirements-and-setup)
- [Running the devnet and demo](#running-the-devnet-and-demo)
- [Stopping the devnet and demo](#stopping-the-devnet-and-demo)
* [How it works](#how-it-works)
* [Scope of this repository](#scope-of-this-repository)
* [Devnet and demo app](#devnet-and-demo-app)
* [Requirements and setup](#requirements-and-setup)
* [Running the devnet and demo](#running-the-devnet-and-demo)
* [Stopping the devnet and demo](#stopping-the-devnet-and-demo)
* [Telemetry & Metrics](#telemetry-&-metrics)
* [License](#license)

<!-- vim-markdown-toc -->

Expand Down Expand Up @@ -184,5 +186,13 @@ just clean
[fb-builder]: https://github.com/flashbots/builder
[kurtosis]: https://www.kurtosis.com/

## Telemetry & Metrics

The Bolt sidecar offers an optional set of metrics that can be scraped by a Prometheus server, and shown in Grafana dashboards.
They show various informations such as the number of constraints received, the number of blocks proposed, etc.

These metrics are enabled by default but can be disabled by setting running the sidecar with the `--metrics` flag set to `false`.

## License

MIT. Forked repositories have their own licenses.
Loading

0 comments on commit cedd82f

Please sign in to comment.