Skip to content

Commit 1a22645

Browse files
authored
Standardize OTel service and instrumentation scope naming (#164)
Signed-off-by: Guangya Liu <gyliu513@gmail.com>
1 parent 11891e1 commit 1a22645

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/runner/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func (r *Runner) Run(ctx context.Context) error {
119119
})
120120

121121
if opts.Tracing {
122-
err := tracing.InitTracing(ctx, setupLog, "llm-d/inference-payload-processor")
122+
err := tracing.InitTracing(ctx, setupLog, "llm-d-ipp")
123123
if err != nil {
124124
setupLog.Error(err, "failed to initialize tracing")
125125
return err

pkg/handlers/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (s *Server) Process(srv extProcPb.ExternalProcessor_ProcessServer) error {
8686

8787
// Start tracing span for the request
8888
tracer := otel.Tracer(
89-
"llm-d/inference-payload-processor/extproc",
89+
"llm-d-inference-payload-processor/pkg/handlers",
9090
trace.WithInstrumentationVersion(version.BuildRef),
9191
trace.WithInstrumentationAttributes(
9292
attribute.String("commit-sha", version.CommitSHA),

0 commit comments

Comments
 (0)