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 exporting Data Cache metrics to prometheus /metrics endpoint on CN #55491

Open
SHaaD94 opened this issue Jan 27, 2025 · 0 comments
Open

Add exporting Data Cache metrics to prometheus /metrics endpoint on CN #55491

SHaaD94 opened this issue Jan 27, 2025 · 0 comments

Comments

@SHaaD94
Copy link
Contributor

SHaaD94 commented Jan 27, 2025

Feature request

Currently to get data cache stats metrics, we need to have a custom side car, scraping "/api/datacache/stat" endpoint and scraping prometheus metrics from it instead of just scraping CN

Describe the solution you'd like
Export all metrics from this endpoint to prometheus metrics endpoint. Status field can be a tag for these metrics.
For example:

data_cache_mem_quota_bytes {status="NORMAL", ...} 253671505920
....

Describe alternatives you've considered

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant