Registry /
serialization / census-instrumentation-opencensus-proto
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
trace
✓ github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1
Use OpenCensus trace protocol buffer types
package main
import (
"fmt"
tracepb "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
)
func main() {
span := &tracepb.Span{Name: &tracepb.TruncatableString{Value: "test"}}
fmt.Println(span.GetName().GetValue())
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.4.1latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.