Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ NodeMetadata
observability
PathBuf
performant
Prometheus
pluggable
pre
PRs
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ Anchor maintains two permanent branches:
- [`unstable`][unstable]: Used for development, contains the latest PRs.
- Developers should base their PRs on this branch.

## Metrics

Anchor has a suite of metrics that can be accessed via Prometheus and Grafana. See the
[metrics](https://github.com/sigp/anchor/tree/HEAD/metrics) page for more information and how to
setup.

## Contributing

Anchor welcomes contributors.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/pages/metrics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Once docker is installed, a metrics server can be run locally via the following
- Password: `changeme`
1. Import some dashboards from the `metrics/dashboards` directory in this repo:
- In the Grafana UI, go to `Dashboards` -> `Manage` -> `Import` -> `Upload .json file`.
- The `Summary.json` dashboard is a good place to start.
- The `anchor-dash.json` dashboard is a good place to start.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct update - properly references the new anchor-dash.json dashboard. However, metrics/README.md:24 still references the old Summary.json and should be updated to match.


## Dashboards

Expand Down
6 changes: 3 additions & 3 deletions metrics/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Anchor Metrics

[![metrics.png](https://i.postimg.cc/Jh7rxtgp/metrics.png)](https://postimg.cc/4YMRN4Xc)
![](img/metrics.png)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement! Moving from external image hosting (postimg.cc) to local repo storage (img/metrics.png) improves reliability and security.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Excellent improvement! Switching from an external image host (postimg.cc) to a local image file improves:

  • Reliability (no dependency on external services)
  • Privacy (no external requests when viewing README)
  • Control (image can't be modified or removed by third parties)
  • Performance (served directly from GitHub)


Here we provides a `docker-compose` environment which scrapes metrics from Anchor
Here we provide a `docker-compose` environment which scrapes metrics from Anchor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Good fix! The grammar correction from "Here we provides" to "Here we provide" is correct.

nodes using Prometheus and presents them in a browser-based Grafana GUI.

For in-depth details on running metrics, please see the [anchor
Expand All @@ -21,7 +21,7 @@ book](https://anchor.sigmaprime.io).
- Password: `changeme`
1. Import some dashboards from the `dashboards` directory in this repo:
- In the Grafana UI, go to `Dashboards` -> `Manage` -> `Import` -> `Upload .json file`.
- The `Summary.json` dashboard is a good place to start.
- The `anchor-dash.json` dashboard is a good place to start.

## Hosting Publicly

Expand Down
Loading
Loading