Coder Social home page Coder Social logo

keith / opentelemetry-proto Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-telemetry/opentelemetry-proto

0.0 1.0 0.0 686 KB

OpenTelemetry protocol (OTLP) specification and Protobuf definitions

Home Page: https://opentelemetry.io/docs/specs/otlp/

License: Apache License 2.0

Makefile 100.00%

opentelemetry-proto's Introduction

OpenTelemetry Protocol (OTLP) Specification

Build Check

This repository contains the OTLP protocol specification and the corresponding Language Independent Interface Types (.proto files).

Language Independent Interface Types

The proto files can be consumed as GIT submodules or copied and built directly in the consumer project.

The compiled files are published to central repositories (Maven, ...) from OpenTelemetry client libraries.

See contribution guidelines if you would like to make any changes.

OTLP/JSON

See additional requirements for OTLP/JSON wire representation here.

Generate gRPC Client Libraries

To generate the raw gRPC client libraries, use make gen-${LANGUAGE}. Currently supported languages are:

  • cpp
  • csharp
  • go
  • java
  • objc
  • openapi (swagger)
  • php
  • python
  • ruby

Maturity Level

1.0.0 and newer releases from this repository may contain unstable (alpha or beta) components as indicated by the Maturity table below.

Component Binary Protobuf Maturity JSON Maturity
common/* Stable Stable
resource/* Stable Stable
metrics/*
collector/metrics/*
Stable Stable
trace/*
collector/trace/*
Stable Stable
logs/*
collector/logs/*
Stable Stable

(See maturity-matrix.yaml for definition of maturity levels).

Stability Definition

Components marked Stable provide the following guarantees:

  • Field types, numbers and names will not change.
  • Service names and service package names will not change.
  • Service method names will not change. [from 1.0.0]
  • Service method parameter names will not change. [from 1.0.0]
  • Service method parameter types and return types will not change. [from 1.0.0]
  • Service method kind (unary vs streaming) will not change.
  • Names of messages and enums will not change. [from 1.0.0]
  • Numbers assigned to enum choices will not change.
  • Names of enum choices will not change. [from 1.0.0]
  • The location of messages and enums, i.e. whether they are declared at the top lexical scope or nested inside another message will not change. [from 1.0.0]
  • Package names and directory structure will not change. [from 1.0.0]
  • optional and repeated declarators of existing fields will not change. [from 1.0.0]
  • No existing symbol will be deleted. [from 1.0.0]

Note: guarantees marked [from 1.0.0] will go into effect when this repository is tagged with version number 1.0.0.

The following additive changes are allowed:

  • Adding new fields to existing messages.
  • Adding new messages or enums.
  • Adding new choices to existing enums.
  • Adding new choices to existing oneof fields.
  • Adding new services.
  • Adding new methods to existing services.

All the additive changes above must be accompanied by an explanation about how new and old senders and receivers that implement the version of the protocol before and after the change interoperate.

No guarantees are provided whatsoever about the stability of the code that is generated from the .proto files by any particular code generator.

Experiments

In some cases we are trying to experiment with different features. In this case, we recommend using an "experimental" sub-directory instead of adding them to any protocol version. These protocols should not be used, except for development/testing purposes.

Another review must be conducted for experimental protocols to join the main project.

opentelemetry-proto's People

Contributors

tigrannajaryan avatar bogdandrutu avatar estolfo avatar jmacd avatar sergeykanzhelev avatar chalin avatar arminru avatar jsuereth avatar songy23 avatar nilebox avatar mralias avatar joaopgrassi avatar jack-berg avatar zaradarbh avatar tedsuo avatar kovrus avatar pavolloffay avatar jaydeluca avatar oberon00 avatar carlosalberto avatar aabmass avatar nvolker avatar newly12 avatar pmm-sumo avatar rhcarvalho avatar svrakitin avatar tsloughter avatar lakamsani avatar victlu avatar vincentfree avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.