Skip to content

Conversation

@dranikpg
Copy link
Contributor

@dranikpg dranikpg commented Nov 20, 2025

Basicc prometheus metrics for tiering
image

},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(dragonfly_tiered_hits[$__rate_interval])",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably should be an irate

@dranikpg dranikpg marked this pull request as ready for review November 20, 2025 10:48
@dranikpg dranikpg requested a review from romange November 20, 2025 10:48

// Tiered metrics
{
AppendMetricWithoutLabels("tiered_entries", "Tiered entries", total.tiered_entries,
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice grouping.

Copy link
Collaborator

@romange romange left a comment

Choose a reason for hiding this comment

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

What about cool memory? we have memory_by_class_bytes - can you add anything accountable that contributes to memory usage?

btw, while you are at it, can you please also add m.search_stats.used_memory to memory_by_class_bytes that we missed.

@dranikpg
Copy link
Contributor Author

What about cool memory? we have memory_by_class_bytes - can you add anything accountable that contributes to memory usage?

Shouldn't be anything, as even cold_storage_bytes is part of just object memory usage.

btw, while you are at it, can you please also add m.search_stats.used_memory to memory_by_class_bytes that we missed

Added

@dranikpg dranikpg requested a review from romange November 20, 2025 16:34
@dranikpg dranikpg merged commit a7f358e into dragonflydb:main Nov 21, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants