top | item 37585807

(no title)

discodachshund | 2 years ago

Isn't that the trace ID? For metrics, it's in the form of exemplars, and for logs it is the log context

discuss

order

candiddevmike|2 years ago

That might be dependent on the library then, there isn't an official OTel Go logging library yet. Seems you have to add the trace ID exemplars manually too

phillipcarter|2 years ago

Go is behind several of the languages in OTel right now. Just a consequence of a very difficult implementation and its load-bearing nature as being the language (and library) of choice for CNCF infrastructure. If you use Java or .NET, for example, it's quite fleshed out.