#Service -> OTEL logs

1 messages · Page 1 of 1 (latest)

karmic rose
#

I've created a dagger client and got its OTEL logs and traces being exported into a github.com/dagger/dagger/dagql/dagui.DB: https://github.com/frantjc/daggerverse/blob/070d4a5020ad00e5c0742d7dd10a0cdcf79703fe/daggerd/command/daggerd.go#L158-L217

However, it doesn't look like the dagui.DB stores logs unless they're from the primary span. From what I can tell, my logs will contain multiple spans (i.e. the dagger engine and my service).

I'm trying to understand if I'm misusing dagui.DB or if it simply doesn't fit my use-case of storing multiple span's logs to be retrieved later by span ID

#

(also open to thoughts from anyone else who's experienced with the dagui package)