Skip to content

Commit

Permalink
docs: add grafana dashboard image to instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Sep 16, 2021
1 parent 3710a24 commit 5f328bf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-lint.yml
Expand Up @@ -60,4 +60,4 @@ jobs:
- name: Run liche
run: |
export PATH=$PATH:$(go env GOPATH)/bin
liche -c 4 -r docs/* -x "(ruby|deployment)/" -v
liche -c 4 -r docs/* -x "(ruby|deployment|assets)/" -d docs/ -v
6 changes: 5 additions & 1 deletion docs/instrumentation.md
Expand Up @@ -2,7 +2,11 @@

AnyCable-Go provides useful statistical information about the service (such as the number of connected clients, received messages, etc.).

> See the [demo](https://github.com/anycable/anycable_rails_demo/pull/22) of instrumenting AnyCable with Prometheus, Grafana and [Yabeda](https://github.com/yabeda-rb).
<p style="text-align:center;">
<img width="70%" alt="AnyCable Grafana" src="/assets/images/grafana.png">
</p>

> Read the ["Real-time stress: AnyCable, k6, WebSockets, and Yabeda"](https://evilmartians.com/chronicles/real-time-stress-anycable-k6-websockets-and-yabeda) post to learn more about AnyCable observability and see example Grafana dashboards.
## Prometheus

Expand Down
1 change: 1 addition & 0 deletions forspell.dict
Expand Up @@ -45,3 +45,4 @@ Protobufs
Grafana
Hotwire
blazingly
observability
2 changes: 1 addition & 1 deletion lefthook.yml
Expand Up @@ -12,7 +12,7 @@ pre-commit:
run: mdl {staged_files}
liche:
glob: "docs/*.md"
run: liche -c 4 -r docs/* -x "(ruby|deployment)/" && test "{staged_files}"
run: liche -c 4 -r docs/* -x "(ruby|deployment|assets)/" -d docs/ && test "{staged_files}"
forspell:
glob: "docs/*.md"
run: forspell {staged_files}
Expand Down

0 comments on commit 5f328bf

Please sign in to comment.