Skip to content

Commit

Permalink
Update README and documentation to better communicate pre-GA state (o…
Browse files Browse the repository at this point in the history
…pen-telemetry#1281)

* Update README

Move project status to top of project documentation and add explicit
warnings that this project may introduce breaking changes.

* Add disclaimer to public packages docs

* Use explicit warning in README
  • Loading branch information
MrAlias authored and Azfaar Qureshi committed Dec 3, 2020
1 parent 6de8ded commit 47aef30
Show file tree
Hide file tree
Showing 19 changed files with 104 additions and 25 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@

The Go [OpenTelemetry](https://opentelemetry.io/) implementation.

## Project Status

**Warning**: this project is currently in a pre-GA phase. Backwards
incompatible changes may be introduced in subsequent minor version releases as
we work to track the evolving OpenTelemetry specification and user feedback.

Our progress towards a GA release candidate is tracked in [this project
board](https://github.com/orgs/open-telemetry/projects/5). This release
candidate will follow semantic versioning and will be released with a major
version greater than zero.

Progress and status specific to this repository is tracked in our local
[project boards](https://github.com/open-telemetry/opentelemetry-go/projects)
and
[milestones](https://github.com/open-telemetry/opentelemetry-go/milestones).

## Getting Started

OpenTelemetry's goal is to provide a single set of APIs to capture distributed
Expand Down Expand Up @@ -45,18 +61,6 @@ and
[metric](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/export/metric?tab=importedby)
support.

## Project Status

This project is currently in a pre-GA phase. Our progress towards a GA release
candidate is tracked in [this project
board](https://github.com/orgs/open-telemetry/projects/5).

Progress and status specific to this repository is tracked in our local
[project boards](https://github.com/open-telemetry/opentelemetry-go/projects)
and [milestones](https://github.com/open-telemetry/opentelemetry-go/milestones)
can be found at the respective links. We try to keep these accurate and should
be the best place to go for answers on project status.

## Contributing

See the [contributing documentation](CONTRIBUTING.md).
4 changes: 4 additions & 0 deletions codes/codes.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

// Package codes defines the canonical error codes used by OpenTelemetry.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
//
// It conforms to [the OpenTelemetry
// specification](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#statuscanonicalcode).
package codes // import "go.opentelemetry.io/otel/codes"
Expand Down
4 changes: 4 additions & 0 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
/*
Package otel provides an implementation of the OpenTelemetry API.
This package is currently in a pre-GA phase. Backwards incompatible changes
may be introduced in subsequent minor version releases as we work to track the
evolving OpenTelemetry specification and user feedback.
The provided API is used to instrument code and measure data about that code's
performance and operation. The measured data, by default, is not processed or
transmitted anywhere. An implementation of the OpenTelemetry SDK, like the
Expand Down
4 changes: 4 additions & 0 deletions exporters/otlp/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
// limitations under the License.

// Package otlp contains an exporter for the OpenTelemetry protocol buffers.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
package otlp // import "go.opentelemetry.io/otel/exporters/otlp"
4 changes: 4 additions & 0 deletions exporters/stdout/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

// Package stdout contains an OpenTelemetry exporter for both tracing and
// metric telemetry to be written to an output destination as JSON.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
package stdout // import "go.opentelemetry.io/otel/exporters/stdout"
4 changes: 4 additions & 0 deletions exporters/trace/jaeger/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
// limitations under the License.

// Package jaeger contains an OpenTelemetry tracing exporter for Jaeger.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"
4 changes: 4 additions & 0 deletions exporters/trace/zipkin/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
// limitations under the License.

// Package zipkin contains an OpenTelemetry tracing exporter for Zipkin.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
package zipkin // import "go.opentelemetry.io/otel/exporters/trace/zipkin"
4 changes: 4 additions & 0 deletions global/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
// limitations under the License.

// Package global provides global providers, propagators and more.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
package global // import "go.opentelemetry.io/otel/global"
4 changes: 4 additions & 0 deletions label/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
// limitations under the License.

// Package label provides key and value labels.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
package label // import "go.opentelemetry.io/otel/label"
4 changes: 4 additions & 0 deletions oteltest/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
/*
Package oteltest provides testing utilities for the otel package.
This package is currently in a pre-GA phase. Backwards incompatible changes
may be introduced in subsequent minor version releases as we work to track the
evolving OpenTelemetry specification and user feedback.
API Validation
The Harness can be used to validate an implementation of the OpenTelemetry API
Expand Down
4 changes: 4 additions & 0 deletions propagators/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
/*
Package propagators contains OpenTelemetry context propagators.
This package is currently in a pre-GA phase. Backwards incompatible changes
may be introduced in subsequent minor version releases as we work to track the
evolving OpenTelemetry specification and user feedback.
OpenTelemetry propagators are used to extract and inject context data from and
into messages exchanged by applications. The propagator supported by this
package is the W3C Trace Context encoding
Expand Down
4 changes: 4 additions & 0 deletions sdk/instrumentation/library.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
Package instrumentation provides an instrumentation library structure to be
passed to both the OpenTelemetry Tracer and Meter components.
This package is currently in a pre-GA phase. Backwards incompatible changes
may be introduced in subsequent minor version releases as we work to track the
evolving OpenTelemetry specification and user feedback.
For more information see
[this](https://github.com/open-telemetry/oteps/blob/master/text/0083-component.md).
*/
Expand Down
21 changes: 13 additions & 8 deletions sdk/metric/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,19 @@
// limitations under the License.

/*
Package metric implements the OpenTelemetry metric.MeterImpl
interface. The Accumulator type supports configurable metrics export
behavior through a collection of export interfaces that support
various export strategies, described below.
The metric.MeterImpl API consists of methods for constructing
synchronous and asynchronous instruments. There are two constructors
per instrument for the two kinds of number (int64, float64).
Package metric implements the OpenTelemetry metric API.
This package is currently in a pre-GA phase. Backwards incompatible changes
may be introduced in subsequent minor version releases as we work to track the
evolving OpenTelemetry specification and user feedback.
The Accumulator type supports configurable metrics export behavior through a
collection of export interfaces that support various export strategies,
described below.
The OpenTelemetry metric API consists of methods for constructing synchronous
and asynchronous instruments. There are two constructors per instrument for
the two kinds of number (int64, float64).
Synchronous instruments are managed by a sync.Map containing a *record
with the current state for each synchronous instrument. A bound
Expand Down
16 changes: 11 additions & 5 deletions sdk/metric/processor/reducer/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@
// limitations under the License.

/*
Package reducer implements a metrics Processor component that applies
a `label.Filter` to each processed `export.Accumulation` to remove
labels before passing the result to another Processor. This Processor
can be used to reduce inherent dimensionality in the data, as a way to
control the cost of collecting high cardinality metric data.
Package reducer implements a metrics Processor component to reduce labels.
This package is currently in a pre-GA phase. Backwards incompatible changes
may be introduced in subsequent minor version releases as we work to track the
evolving OpenTelemetry specification and user feedback.
The metrics Processor component this package implements applies a
`label.Filter` to each processed `export.Accumulation` to remove labels before
passing the result to another Processor. This Processor can be used to reduce
inherent dimensionality in the data, as a way to control the cost of
collecting high cardinality metric data.
For example, to compose a push controller with a reducer and a basic
metric processor:
Expand Down
4 changes: 4 additions & 0 deletions sdk/opentelemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
// limitations under the License.

// Package opentelemetry contains Go support for OpenTelemetry.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
package opentelemetry // import "go.opentelemetry.io/otel/sdk"

// Version is the current release version of OpenTelemetry in use.
Expand Down
4 changes: 4 additions & 0 deletions sdk/resource/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

// Package resource provides detecting and representing resources.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
//
// The fundamental struct is a Resource which holds identifying information
// about the entities for which telemetry is exported.
//
Expand Down
4 changes: 4 additions & 0 deletions sdk/trace/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
/*
Package trace contains support for OpenTelemetry distributed tracing.
This package is currently in a pre-GA phase. Backwards incompatible changes
may be introduced in subsequent minor version releases as we work to track the
evolving OpenTelemetry specification and user feedback.
The following assumes a basic familiarity with OpenTelemetry concepts.
See https://opentelemetry.io.
*/
Expand Down
4 changes: 4 additions & 0 deletions semconv/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

// Package semconv implements OpenTelemetry semantic conventions.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
//
// OpenTelemetry semantic conventions are agreed standardized naming
// patterns for OpenTelemetry things. This package aims to be the
// centralized place to interact with these conventions.
Expand Down
4 changes: 4 additions & 0 deletions unit/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
// limitations under the License.

// Package unit provides units.
//
// This package is currently in a pre-GA phase. Backwards incompatible changes
// may be introduced in subsequent minor version releases as we work to track
// the evolving OpenTelemetry specification and user feedback.
package unit // import "go.opentelemetry.io/otel/unit"

0 comments on commit 47aef30

Please sign in to comment.