-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Review and enhance metric support for frontend (Go) #70
Comments
hi, I want to help with this, can you assign this to me? @cartersocha |
It seems that this issue is auto closed by #160? I think it is still needed to be open. @cartersocha |
I think pr merges close referenced issues by default. It’s a bit annoying. Thanks for calling this out & for starting the metrics work |
Whenever the PR has |
After a few days of learning, I found that the metric for frontend service still have many things need to be done,
And I think those problems are also common for other services. How to solve those problems? I have thought of following steps: 1. 'Matching Semantic Conventions' is first priority. Let the service exposes the metric which matches conventions is very important, because this can let the user immediately experience the power of opentelemetry. To make this, we should use existing intrumentation library as much as possible. But what if the instrumentation library is also not good enough to follow semantic conventions? Here comes step 2. 2. Use manual instrumentation if instrumentation library is not good enough. If instrumentation library is not good enough, for example, instrumentation library for instrumentation library for gorilla does not support metric, we should not just wait instrumentation library to become mature, but should directly implements the metrics by manual instrumentation. #175 is an example. In this way, we can let our user to experiment the charm of otel, but no need to care about the detail. But manual instrumentation is not a longterm solution, so here comes step 3 3. Improve the instrumentation library and replace with it until it is good enough We can open issue or make contributations directly to instrumentation library to enhance the library. For example, I already make a pull request open-telemetry/opentelemetry-go#3018 about adding the missing When library is good enough, we could consider remove all manual instrumentation codes and use instrumentation library directly, which is also a good practise for trace. Sorry for my comment is a little bit long, but I ready hope for your ideas :-) |
Closing until front end is overhauled |
The following are requirements for metrics in the project. Not all services will meet all requirements.
Referencing issue: #43
The text was updated successfully, but these errors were encountered: