GithubHelp home page GithubHelp logo

bbigras / opentelemetry-rust Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-telemetry/opentelemetry-rust

0.0 2.0 0.0 862 KB

OpenTelemetry API and SDK for Rust

Home Page: https://docs.rs/opentelemetry

License: Apache License 2.0

Rust 99.92% Shell 0.08%

opentelemetry-rust's Introduction

OpenTelemetry-Rust

Crates.io: opentelemetry Documentation Crates.io GitHub Actions CI Gitter chat

The Rust OpenTelemetry client.

OpenTelemetry provides a single set of APIs, libraries, agents, and collector services to capture distributed traces and metrics from your application. You can analyze them using Prometheus, Jaeger, and other observability tools.

Quick Start

use opentelemetry::{api::TracerGenerics, global, sdk};

fn main() {
    global::set_provider(sdk::Provider::default());

    global::tracer("component-a").in_span("foo", |_context| {
        global::tracer("component-b").in_span("bar", |_context| {
            global::tracer("component-c").in_span("baz", |_context| {

            })
        })
    });
}

See the opentelemetry-example-app for a complete example.

Contributing

See the contributing file.

Release Schedule

OpenTelemetry Rust is under active development. Below is the release schedule for the Rust library. The first version of a 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.

Component Version Target Date
Tracing API Alpha March 31 2020
Tracing SDK Alpha April 31 2020
Metrics API Alpha March 31 2020
Metrics SDK Alpha April 30 2020
Zipkin Trace Exporter Alpha Unknown
Jaeger Trace Exporter Alpha April 30 2020
Prometheus Metrics Exporter Alpha April 30 2020
Context Propagation Alpha April 30 2020
OpenTracing Bridge Alpha Unknown
OpenCensus Bridge Alpha Unknown

opentelemetry-rust's People

Contributors

jtescher avatar kichristensen avatar iredelmeier avatar knabben avatar tensorchen avatar swilcox3 avatar bogdandrutu avatar danburkert avatar inanna-malick avatar xaeroxe avatar jodh-intel avatar lukemathwalker avatar schallert avatar mikegoldsmith avatar monkeyanator avatar vineethreddy02 avatar xd009642 avatar

Watchers

James Cloos avatar  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.