0.9.0 • Published 4 years ago

opentelemetry-base v0.9.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
4 years ago


About this project

This is the JavaScript version of OpenTelemetry, a framework for collecting traces and metrics from applications.

Quick start

Application Owner

To get started tracing your own application, see the Getting Started Guide. For more information about automatic instrumentation see @opentelemetry/node, which provides auto-instrumentation for Node.js applications. If the automatic instrumentation does not suit your needs, or you would like to create manual traces, see @opentelemetry/tracing

Library Author

If you are a library author looking to build OpenTelemetry into your library, please see the documentation. As a library author, it is important that you only depend on properties and methods published on the public API. If you use any properties or methods from the SDK that are not officially a part of the public API, your library may break if an Application Owner uses a different SDK implementation.

Supported Runtimes

Platform VersionSupported
Node.JS v14
Node.JS v12
Node.JS v10
Node.JS v8See Node Support below
Web Browsers✅ See Browser Support below

Node Support

Automated tests are run using the latest release of each currently active version of Node.JS. While Node.JS v8 is no longer supported by the Node.JS team, the latest version of Node.JS v8 is still included in our testing suite. Please note that versions of Node.JS v8 prior to v8.5.0 will NOT work, because OpenTelemetry Node depends on the perf_hooks module introduced in v8.5.0

Browser Support

Automated browser tests are run in the latest version of Headless Chrome. There is currently no list of officially supported browsers, but OpenTelemetry is developed using standard web technologies with wide support and should work in currently supported versions of major browsers.

Release Schedule

OpenTelemetry JS is under active development. This release isn't guaranteed to conform to a specific version of the specification, and future releases will not attempt to maintain backwards compatibility with the alpha release.

ComponentInitial VersionRelease Date
Tracing APIAlpha v0.1.0October 14 2019
Tracing SDK (Node and Web)Alpha v0.1.0October 14 2019
Jaeger Trace ExporterAlpha v0.1.0October 14 2019
Trace Context PropagationAlpha v0.1.0October 14 2019
Zipkin Trace ExporterAlpha v0.1.0October 14 2019
OpenTracing BridgeAlpha v0.1.0October 14 2019
Metrics APIAlpha v0.2.0November 04 2019
Metrics SDKAlpha v0.2.0November 04 2019
Prometheus Metric ExporterAlpha v0.3.0December 13 2019
ResourcesBeta v0.5.0March 16 2020
Metrics SDK (Complete)Beta v0.5.0March 16 2020
OpenCensus BridgeUnknownUnknown
Support for Tags/BaggageUnknownUnknown

Feature Status

Last updated March 2020

FeatureAPI StatusSpecification TargetSDK Status
TracingBetav0.3Beta
MetricsBetav0.3Beta
ContextBetav0.3Beta
PropagationBetav0.3Beta
Correlation ContextAlphav0.3Development
OpenTracing BridgeN/Av0.3Beta
ResourcesN/Av0.3Beta

See the project milestones for details on upcoming releases. The dates and features described here are estimates, and subject to change.

Contributing

We'd love your help!. Use tags up-for-grabs and good first issue to get started with the project. Follow CONTRIBUTING guide to report issues or submit a proposal.

We have a weekly SIG meeting! See the community page for meeting details and notes.

Approvers (@open-telemetry/js-approvers):

Find more about the approver role in community repository.

Maintainers (@open-telemetry/js-maintainers):

Find more about the maintainer role in community repository.

Thanks to all the people who already contributed

Packages

API

PackageDescription
@opentelemetry/apiThis package provides TypeScript interfaces, enums and no-op implementations for the OpenTelemetry core trace and metrics model. It is intended for use both on the server and in the browser.
@opentelemetry/coreThis package provides default and no-op implementations of the OpenTelemetry api for trace and metrics. It's intended for use both on the server and in the browser.

Implementation / SDKs

PackageDescription
@opentelemetry/tracingThis module provides a full control over instrumentation and span creation. It doesn't load async_hooks or any instrumentation plugin by default. It is intended for use both on the server and in the browser.
@opentelemetry/metricsThis module provides instruments and meters for reporting of time series data.
@opentelemetry/nodeThis module provides automatic tracing for Node.js applications. It is intended for use on the server only.
@opentelemetry/webThis module provides automated instrumentation and tracing for Web applications. It is intended for use in the browser only.

Compatible Exporters

OpenTelemetry is vendor-agnostic and can upload data to any backend with various exporter implementations. Even though, OpenTelemetry provides support for many backends, vendors/users can also implement their own exporters for proprietary and unofficially supported backends.

See the OpenTelemetry registry for a list of exporters available.

Plugins

OpenTelemetry can collect tracing data automatically using plugins. Vendors/Users can also create and use their own. Currently, OpenTelemetry supports automatic tracing for:

Node Plugins

Core
Contrib

These plugins are hosted at https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/node

Web Plugins

Core
Contrib

These plugins are hosted at https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/plugins/web

To request automatic tracing support for a module not on this list, please file an issue. Alternatively, you can write a plugin yourself.

Shims

PackageDescription
@opentelemetry/shim-opentracingOpenTracing shim allows existing OpenTracing instrumentation to report to OpenTelemetry

Useful links

License

Apache 2.0 - See LICENSE for more information.

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.4.0

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.1.1

4 years ago