You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-08-13 19:53:11 +02:00
fix documentation for trace.Status (#2029)
This commit is contained in:
@@ -635,7 +635,7 @@ func isSampled(s SamplingResult) bool {
|
||||
type Status struct {
|
||||
// Code is an identifier of a Spans state classification.
|
||||
Code codes.Code
|
||||
// Message is a user hint about why that status was set. It is only
|
||||
// Description is a user hint about why that status was set. It is only
|
||||
// applicable when Code is Error.
|
||||
Description string
|
||||
}
|
||||
|
Reference in New Issue
Block a user