@traceloop/otel-proto
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

otel-proto

This repository contains both otel proto + traceloop proto files compiled to JS with type definitions

Compiling proto files:

Compile JS: npx pbjs -t static-module -w commonjs -o src/index.js --es6 src/opentelemetry/proto/trace/v1/trace.proto src/opentelemetry/proto/resource/v1/resource.proto src/opentelemetry/proto/common/v1/common.proto src/traceloop/proto/v1/traceloop.proto

Create type definitions: npx pbts -o src/index.d.ts src/index.js

Package Sidebar

Install

npm i @traceloop/otel-proto

Weekly Downloads

1

Version

0.8.0

License

Apache-2.0

Unpacked Size

715 kB

Total Files

13

Last publish

Collaborators

  • tomer-friedman
  • galklm
  • nirga