-
Notifications
You must be signed in to change notification settings - Fork 600
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
[Spike] Migrate API Server Source to the Open Telemetry lib #4769
Comments
@kthakar1990 FYI |
Apiserver source is recording metrics in three separate places one is memstats as usual eg.
the other is the source specific metrics here eg.
and there are metrics that come from the controller reporter eg.
The plan for this spike is roughly to develop/migrate in parallel the code in knative/pkg that is called above following the new otel model as described here. Regarding the architecture supported, we can try/test two different approaches: Goal is to compare with existing code and have enough data to evaluate performance. I will work on a PR. |
@skonto we have a requirement for couple of metrics for our source and I had presented about that in a community workgroup meeting today. They asked me to connect with you to see if I can contribute in this work with you all and get our requirements added along with the same PR that you are working on. This is the issue for your reference. Please let me know what's the best way to collaborate and have a quick discussion on this. Thank you :) |
I did a quick PoC on the new lib for the metrics stuff and tried to emulate the memstats we have in knative/pkg, here is a sample of the latter. Here are the issues I spotted. I didnt want to jump in directly of porting stuff in knative.dev before we know what is working and what is not, what is wip etc. |
@skonto can you share the branch with your changes? (I want to take up other areas for API Server Source migration). I am a little concerned about the issues because otel is supposed to be backwards compatible. |
@bharattkukreja the branch is https://github.com/skonto/pkg/tree/otel, this is where we agreed to work on the api server source migration. The otel is backwards compatible at the shim layer wg. for tracing but not 100% check here. In general backwards compatibility for both open-tracing and opencensus is wip. I am sure things will improve in the future but in general we can skip at some point relying on the old opencensus lib. |
@skonto looking at the date we first triaged the issue -- moving it back to the backlog for now -- feel free to move it once you get some spare cycles to work on it! Thanks! |
This issue is stale because it has been open for 90 days with no |
Problem
As discussed here and as a sub-task of #3126 we should start exploring migrating to the new lib.
Persona:
Affects everyone consuming Knative metrics (ops etc)
Exit Criteria
Check if migration is viable/stable/performant and evaluate the new metrics model to drive decision making for next steps and full migration to the new stack.
The text was updated successfully, but these errors were encountered: