Registry /
serialization / census-instrumentation-opencensus-proto
Protocol buffer definitions for OpenCensus tracing and metrics.
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.
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 footguns
No known footguns recorded.
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.