mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-14 19:32:15 +01:00
feat(otel): switch from software name to binary path
This commit is contained in:
@@ -608,7 +608,7 @@ func (a *Api) LibreOffice() (Uno, error) {
|
||||
func (a *Api) Pdf(ctx context.Context, logger *slog.Logger, inputPath, outputPath string, options Options) error {
|
||||
ctx, span := gotenberg.Tracer().Start(ctx, "libreoffice.Pdf",
|
||||
trace.WithSpanKind(trace.SpanKindClient),
|
||||
trace.WithAttributes(semconv.ServerAddress("libreoffice")),
|
||||
trace.WithAttributes(semconv.ServerAddress(a.args.binPath)),
|
||||
)
|
||||
defer span.End()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user