Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 529 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 529 Bytes

opentelemetry-proto-go

Generated code for OpenTelemetry protobuf data model

Usage

You can import the generated code directly in your project

import (
	tracepb "go.opentelemetry.io/proto/otlp/trace/v1"
)

Generating new versions

When opentelemetry-proto release a new version we can update submodule, and then regenerate the protobufs.

git config -f .gitmodules submodule.opentelemetry-proto.branch v0.7.0
git submodule update
make clean gen-protobuf