• Stars
    star
    337
  • Rank 125,272 (Top 3 %)
  • Language Makefile
  • License
    Apache License 2.0
  • Created over 5 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OpenTelemetry Enhancement Proposals

OpenTelemetry Enhancement Proposal (OTEP)

Slack chat Build Status

Evolving OpenTelemetry at the speed of Markdown

OpenTelemetry uses an "OTEP" (similar to a RFC) process for proposing changes to the OpenTelemetry specification.

Table of Contents

What changes require an OTEP

The OpenTelemetry OTEP process is intended for changes that are cross-cutting - that is, applicable across languages and implementations - and either introduce new behaviour, change desired behaviour, or otherwise modify requirements.

In practice, this means that OTEPs should be used for such changes as:

  • New tracer configuration options
  • Additions to span data
  • New metric types
  • Modifications to extensibility requirements

On the other hand, they do not need to be used for such changes as:

  • Bug fixes
  • Rephrasing, grammatical fixes, typos, etc.
  • Refactoring
  • Things that affect only a single language or implementation

Note: The above lists are intended only as examples and are not meant to be exhaustive. If you don't know whether a change requires an OTEP, please feel free to ask!

Extrapolating cross-cutting changes

Sometimes, a change that is only immediately relevant within a single language or implementation may be indicative of a problem upstream in the specification. We encourage you to add an OTEP if and when you notice such cases.

OTEP scope

While OTEPs are intended for "significant" changes, we recommend trying to keep each OTEP's scope as small as makes sense. A general rule of thumb is that if the core functionality proposed could still provide value without a particular piece, then that piece should be removed from the proposal and used instead as an example (and, ideally, given its own OTEP!).

For example, an OTEP proposing configurable sampling and various samplers should instead be split into one OTEP proposing configurable sampling as well as an OTEP per sampler.

Writing an OTEP

  • First, fork this repo.
  • Copy 0000-template.md to text/0000-my-OTEP.md, where my-OTEP is a title relevant to your proposal, and 0000 is the OTEP ID. Leave the number as is for now. Once a Pull Request is made, update this ID to match the PR ID.
  • Fill in the template. Put care into the details: It is important to present convincing motivation, demonstrate an understanding of the design's impact, and honestly assess the drawbacks and potential alternatives.

Submitting the OTEP

  • An OTEP is proposed by posting it as a PR. Once the PR is created, update the OTEP file name to use the PR ID as the OTEP ID.
  • An OTEP is approved when four reviewers github-approve the PR. The OTEP is then merged.
  • If an OTEP is rejected or withdrawn, the PR is closed. Note that these OTEPs submissions are still recorded, as Github retains both the discussion and the proposal, even if the branch is later deleted.
  • If an OTEP discussion becomes long, and the OTEP then goes through a major revision, the next version of the OTEP can be posted as a new PR, which references the old PR. The old PR is then closed. This makes OTEP review easier to follow and participate in.

Integrating the OTEP into the Spec

  • Once an OTEP is approved, an issue is created in the specification repo to integrate the OTEP into the spec.
  • When reviewing the spec PR for the OTEP, focus on whether the spec is written clearly, and reflects the changes approved in the OTEP. Please abstain from relitigating the approved OTEP changes at this stage.
  • An OTEP is integrated when four reviewers github-approve the spec PR. The PR is then merged, and the spec is versioned.

Implementing the OTEP

  • Once an OTEP is integrated into the spec, an issue is created in the backlog of every relevant OpenTelemetry implementation.
  • PRs are made until the all the requested changes are implemented.
  • The status of the OpenTelemetry implementation is updated to reflect that it is implementing a new version of the spec.

Changes to the OTEP process

The hope and expectation is that the OTEP process will evolve with the OpenTelemetry. The process is by no means fixed.

Have suggestions? Concerns? Questions? Please raise an issue or raise the matter on our community chat.

Background on the OpenTelemetry OTEP process

Our OTEP process borrows from the Rust RFC and Kubernetes Enhancement Proposal processes, the former also being very influential on the latter; as well as the OpenTracing OTEP process. Massive kudos and thanks to the respective authors and communities for providing excellent prior art 💖

More Repositories

1

opentelemetry-go

OpenTelemetry Go API and SDK
Go
5,209
star
2

opentelemetry-collector

OpenTelemetry Collector
Go
4,324
star
3

opentelemetry-specification

Specifications for OpenTelemetry
Makefile
3,713
star
4

opentelemetry-dotnet

The OpenTelemetry .NET Client
C#
3,190
star
5

opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
Go
2,961
star
6

opentelemetry-js

OpenTelemetry JavaScript Client
TypeScript
2,692
star
7

opentelemetry-ebpf-profiler

The production-scale datacenter profiler (C/C++, Go, Rust, Python, Java, NodeJS, .NET, PHP, Ruby, Perl, ...)
C
2,344
star
8

opentelemetry-java

OpenTelemetry Java SDK
Java
1,975
star
9

opentelemetry-java-instrumentation

OpenTelemetry auto-instrumentation and instrumentation libraries for Java
Java
1,920
star
10

opentelemetry-rust

The Rust OpenTelemetry implementation
Rust
1,821
star
11

opentelemetry-python

OpenTelemetry Python API and SDK
Python
1,756
star
12

opentelemetry-demo

This repository contains the OpenTelemetry Astronomy Shop, a microservice-based distributed system intended to illustrate the implementation of OpenTelemetry in a near real-world environment.
TypeScript
1,734
star
13

opentelemetry-operator

Kubernetes Operator for OpenTelemetry Collector
Go
1,179
star
14

opentelemetry-go-contrib

Collection of extensions for OpenTelemetry-Go.
Go
1,153
star
15

opentelemetry-cpp

The OpenTelemetry C++ Client
C++
851
star
16

community

OpenTelemetry community content
Python
758
star
17

opentelemetry-php

The OpenTelemetry PHP Library
PHP
717
star
18

opentelemetry-python-contrib

OpenTelemetry instrumentation for Python modules
Python
703
star
19

opentelemetry-js-contrib

OpenTelemetry instrumentation for JavaScript modules
TypeScript
693
star
20

docs-cn

OpenTelemetry 中文文档: 接入使用、技术标准、RFC、SDK等.
620
star
21

opentelemetry-proto

OpenTelemetry protocol (OTLP) specification and Protobuf definitions
Makefile
578
star
22

opentelemetry.io

The OpenTelemetry website and documentation
JavaScript
527
star
23

opentelemetry-go-instrumentation

OpenTelemetry Auto Instrumentation using eBPF
C
494
star
24

opentelemetry-ruby

OpenTelemetry Ruby API & SDK, and related gems
Ruby
484
star
25

opentelemetry-dotnet-contrib

This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
C#
458
star
26

opentelemetry-helm-charts

OpenTelemetry Helm Charts
Smarty
391
star
27

opentelemetry-dotnet-instrumentation

OpenTelemetry .NET Automatic Instrumentation
C++
364
star
28

opentelemetry-erlang

OpenTelemetry Erlang SDK
Erlang
327
star
29

opentelemetry-lambda

Create your own Lambda Layer in each OTel language using this starter code. Add the Lambda Layer to your Lamdba Function to get tracing with OpenTelemetry.
Go
276
star
30

opentelemetry-network

eBPF Collector
C++
273
star
31

semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Open Policy Agent
255
star
32

opentelemetry-collector-releases

OpenTelemetry Collector Official Releases
Shell
238
star
33

opentelemetry-swift

OpenTelemetry API for Swift
Swift
214
star
34

opentelemetry-java-examples

Java
201
star
35

opentelemetry-erlang-contrib

OpenTelemetry instrumentation for Erlang & Elixir
Elixir
159
star
36

opentelemetry-java-contrib

Java
158
star
37

opentelemetry-android

OpenTelemetry Tooling for Android
Java
146
star
38

opamp-go

OpAMP protocol implementation in Go
Go
142
star
39

opentelemetry-cpp-contrib

Python
123
star
40

opamp-spec

OpAMP Specification
Makefile
103
star
41

opentelemetry-php-instrumentation

OpenTelemetry PHP auto-instrumentation extension
C
96
star
42

opentelemetry-log-collection

OpenTelemetry log collection library
Go
91
star
43

opentelemetry-js-api

OpenTelemetry Javascript API
TypeScript
82
star
44

opentelemetry-ruby-contrib

Contrib Packages for the OpenTelemetry Ruby API and SDK implementation.
Ruby
80
star
45

otel-arrow

Protocol and libraries for sending and receiving OpenTelemetry data using Apache Arrow
Go
79
star
46

opentelemetry-php-contrib

opentelemetry-php-contrib
PHP
64
star
47

opentelemetry-erlang-api

Erlang/Elixir OpenTelemetry API
Erlang
60
star
48

opentelemetry-collector-builder

A CLI tool that generates OpenTelemetry Collector binaries based on a manifest.
Go
56
star
49

weaver

OTel Weaver lets you easily develop, validate, document, and deploy semantic conventions
Rust
52
star
50

wg-prometheus

Workgroup for building Prometheus-OTLP interoperability for the OTEL Collector and Prometheus related discussions.
41
star
51

build-tools

Building tools provided by OpenTelemetry
Python
37
star
52

opentelemetry-rust-contrib

OpenTelemetry Contrib Packages for Rust
Rust
34
star
53

opentelemetry-go-build-tools

Build tools for use by the Go API/SDK, the collector, and their associated contrib repositories
Go
32
star
54

otel-arrow-collector

[DoNotUse] OpenTelemetry Collector with Apache Arrow support FORK OF OPENTELEMETRY COLLECTOR
Go
31
star
55

opentelemetry-configuration

JSON Schema definitions for OpenTelemetry file configuration
Go
31
star
56

opentelemetry-proto-go

Generated code for OpenTelemetry protobuf data model
Go
29
star
57

opentelemetry-sqlcommenter

SQLCommenter components for various languages
JavaScript
27
star
58

opentelemetry-profiling

OpenTelemetry Profiling (language independent code, benchmarks, experiments, etc)
24
star
59

docs-ja

Makefile
16
star
60

opentelemetry-sandbox-web-js

non-production level experimental Web JS packages
TypeScript
15
star
61

semantic-conventions-java

Java generated classes for semantic conventions
Java
14
star
62

opentelemetry-proto-java

Java Bindings for the OpenTelemetry Protocol (OTLP)
Java
14
star
63

sig-security

7
star
64

assign-reviewers-action

GitHub action to assign reviewers/approvers/etc based on configuration
TypeScript
7
star
65

sig-mainframe

Repository of the Mainframe SIG - Our aim is to enable OpenTelemetry for the Mainframe.
6
star
66

opamp-java

OpAMP protocol implementation in Java
Java
5
star
67

opentelemetry-network-build-tools

eBPF Collector Build Tools
C
4
star
68

sig-end-user

4
star
69

opentelemetry-go-vanityurls

Vanityurls config for go.opentelemetry.io subdomain
Shell
3
star
70

cpp-build-tools

Builds a docker image to make interacting with C++ projects easier.
Shell
2
star
71

sig-developer-experience

2
star
72

sig-contributor-experience

TODO
1
star
73

.github

1
star
74

experimental-arrow-proto

[Experiment] Protocol definitions for the OpenTelemetry protocol (OTLP) with Apache Arrow support
Makefile
1
star
75

stackoverflow2slack

A bot that republishing OTel-tagged questions from SO to Slack
Python
1
star
76

gh-manager

This repository is for code to manage the OpenTelemetry GitHub Organization
1
star