-
Notifications
You must be signed in to change notification settings - Fork 13
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(core): add otelto opentdf services #1858
base: main
Are you sure you want to change the base?
Conversation
if as.Tracer != nil { | ||
var span trace.Span | ||
ctx, span = as.Tracer.Start(ctx, "GetDecisions") | ||
defer span.End() | ||
} |
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.
I am thinking we might want to create some type of metrics / tracing package that we could use to abstract away a lot of these if as.Tracer != nil
checks
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.
we already have a tracing package so we can probably add it there.
"gopkg.in/natefinch/lumberjack.v2" | ||
) | ||
|
||
const ServiceName = "github.com/opentdf/platform/service" | ||
const ServiceName = "opentdf-service" |
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.
Is there a naming convention we are following here?
Proposed Changes
Checklist
Testing Instructions