-
Notifications
You must be signed in to change notification settings - Fork 240
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
metrics support #119
Comments
I think this might already be covered by #104?
Just pull the For other metrics, I'm curious what you might expose and how. Kine is most frequently used in an embedded capacity where it only listens on a Unix socket, which isn't easy to scrape directly. |
Our use case might be a little different from the most common, we integrate kine (as a library) with our custom apiserver so that it can directly call kine's For specific metrics, currently I want to expose below metrics:
|
@brandond Any thoughts on this? Do you think these metrics are nice to have? |
If you'd use them, then go for it! Love to see the PR. Let's just make sure that the metrics extension points don't add any additional overhead if metrics aren't being collected? Shouldn't be a problem I don't think. |
/assign |
In production we want to collect some key metrics of kine for monitoring and alerting, such as the DBStats of Go SQL backend used by kine, SQL operation times and errors etc. Would it be applicable that we add some prometheus metrics for them?
For library mode, we can add an injectable registerer in endpoint config and for stand-alone, we can setup our own metrics handler like etcd.
The text was updated successfully, but these errors were encountered: