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

Add metrics section in ob doc #543

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Add metrics section in ob doc #543

merged 2 commits into from
Sep 24, 2024

Conversation

hanahmily
Copy link
Contributor

No description provided.

@hanahmily hanahmily added the documentation Improvements or additions to documentation label Sep 24, 2024
@hanahmily hanahmily added this to the 0.7.0 milestone Sep 24, 2024

The write rate is the number of write operations per second. It is calculated by summing the total number of written operations for measures and streams.

**Expression**: `sum(rate(banyandb_measure_total_written{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) + sum(rate(banyandb_stream_tst_total_written{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))`
Copy link
Member

Choose a reason for hiding this comment

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

As you have been using PromQL, would you post the Grafana Dashboard configurations in the doc?

@codecov-commenter
Copy link

codecov-commenter commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.50%. Comparing base (9770bf4) to head (993c39a).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #543       +/-   ##
===========================================
+ Coverage   39.19%   50.50%   +11.31%     
===========================================
  Files         166      166               
  Lines       20377    20377               
===========================================
+ Hits         7986    10292     +2306     
+ Misses      11760     9294     -2466     
- Partials      631      791      +160     
Flag Coverage Δ
50.50% <ø> (+11.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Gao Hongtao <[email protected]>
@wu-sheng wu-sheng merged commit 75b0638 into main Sep 24, 2024
15 checks passed
@wu-sheng wu-sheng deleted the doc-metrics branch September 24, 2024 09:45
StLeoX pushed a commit to StLeoX/skywalking-banyandb that referenced this pull request Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants