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

docs(metrics): Use correct Badger metrics. (#239) #373

Closed
wants to merge 1 commit into from

Conversation

MichelDiz
Copy link
Contributor

This PR reflects the update to Dgraph metrics made in dgraph-io/dgraph#7507:

This renames the Badger metrics in the /metrics endpoint to remove the
Badger version in the metric names. This allows the metric name to
remain the same across Badger major versions.

Previous Name New Name
badger_v3_disk_reads_total badger_disk_reads_total
badger_v3_disk_writes_total badger_disk_writes_total
badger_v3_read_bytes badger_read_bytes
badger_v3_written_bytes badger_written_bytes
badger_v3_lsm_bloom_hits_total badger_lsm_bloom_hits_total
badger_v3_gets_total badger_gets_total
badger_v3_puts_total badger_puts_total
badger_v3_memtable_gets_total badger_memtable_gets_total
badger_v3_lsm_size_bytes badger_lsm_size_bytes
badger_v3_vlog_size_bytes badger_vlog_size_bytes

This doc change needs to be cherry-picked to release/v21.03.

This PR reflects the update to Dgraph metrics made in dgraph-io/dgraph#7507
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@netlify
Copy link

netlify bot commented Dec 15, 2022

Deploy Preview for dgraph-docs-repo ready!

Name Link
🔨 Latest commit 64d2013
🔍 Latest deploy log https://app.netlify.com/sites/dgraph-docs-repo/deploys/639a7ab41aba5f0008ce474a
😎 Deploy Preview https://deploy-preview-373--dgraph-docs-repo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@MichelDiz MichelDiz marked this pull request as ready for review December 16, 2022 21:57
@MichelDiz MichelDiz closed this Apr 7, 2023
@MichelDiz MichelDiz deleted the micheldiz/cherry-pick#239 branch April 7, 2023 00:59
@MichelDiz MichelDiz restored the micheldiz/cherry-pick#239 branch April 7, 2023 00:59
@MichelDiz MichelDiz deleted the micheldiz/cherry-pick#239 branch April 7, 2023 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants