-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add instrumentation opentelemetry #35
Conversation
eb93e26
to
13df94b
Compare
13df94b
to
c0e8fbb
Compare
max2max/internal/loader/append.go
Outdated
l.queryCounter.Add(context.Background(), 1, metric.WithAttributes( | ||
attribute.String("method", "GetQuery"), | ||
attribute.String("tableID", tableID), | ||
)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a telemetry for this function ? I does not include any external calls.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is just a sample for sending telemetry metrics to collector, I'll remove it as it's not necessary
No description provided.