-
Notifications
You must be signed in to change notification settings - Fork 3
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
feature: Adding metrics to syncer #141
Comments
Do you have specific metrics you are thinking of adding? |
I am not sure at this moment. But I am looking for options to add metrics that are similar to the ones exposed by |
Triage: Proposed 1-2 metrics for this before writing any code :) |
I have three metrics about the syncer that I would like to see.
|
For latencies, remember that kubernetes/kubernetes#110058 is not yet in kcp's fork of Kubernetes. |
@davidfestal, @s-urbaniak, @MikeSpreitzer and @csams - I am fairly new to the syncer and metrics related code. I have been crawling over the code base and couldn't make much sense of the flow on how metrics are being published. I have looked at one of the previous code and took a look at the prometheus metrics package which is being used in some parts of our current kcp code. But still not sure on where to start with and get things into action. Can you please suggest me on some resources or a plan of action items to start with (just to get a good hang of the codebase), so that they can help me get a better understanding on how to go about adding metrics to syncer and to test/verify if they are actually getting published? Thanks in Advance, |
@vishnuchalla i don't know the internal details of the syncer but a good start wrt Kubernetes is https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/instrumentation.md, and generally Prometheus best practices https://prometheus.io/docs/practices/instrumentation/. Generally, I would:
|
Thanks for the suggestions. Will take a look. |
/transfer-issue contrib-tmc |
Feature Description
As a follow up to this request: kcp-dev/kcp#2781. I am interested in picking up the task of adding metrics to syncer.
Proposed Solution
As a conclusion on discussion with @davidfestal, exploring on options similar to controllers runtime to integrate with syncer to publish metrics. Below are the some of the resources to explore.
Alternative Solutions
No response
Want to contribute?
Additional Context
No response
The text was updated successfully, but these errors were encountered: