feat(otel): emit gotenberg.startup span with engine versions

This commit is contained in:
Julien Neuhart
2026-06-02 19:18:50 +02:00
parent bbebad1175
commit 7c630ecc6e
3 changed files with 103 additions and 0 deletions

View File

@@ -192,6 +192,9 @@ func Run() {
if parsedFlags.MustBool("gotenberg-build-debug-data") {
// Build the debug data.
gotenberg.BuildDebug(ctx)
// Surface engine versions per trace once modules have reported them.
gotenberg.EmitStartupSpan(context.Background())
}
quit := make(chan os.Signal, 1)