Git Product home page Git Product logo

rocklib.distributedtracing's People

Contributors

bfriesen avatar cdraper033 avatar eslutz avatar jasonbock avatar jjmckain avatar justinmoss avatar kristycurrier avatar motionsuggests avatar neilschiefer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rocklib.distributedtracing's Issues

Add Prometheus Support for Metrics Collection

Prometheus will provide correlation to the 3rd pillar of observability, metrics. This library already provides correlation of the other two, logs & traces. Tracing is provided by this library, while logging is largely handled by RockLib.Logging. (Logging simply needs to be configured to enable the HttpContextProvider, by the app.)

Dotnet’s OpenTelemetry framework is expected to reveal Prometheus support by mid-2021, with the formal release (by Microsoft) coming later in the year. We anticipate largely a plug-n-play effort to integrate that library into this one; there-in exposing support to RockLib-instrumented applications.

Actionable tasks; eventually to be storied in TFS:

  1. Integrate the OpenTelemetry Prometheus exporter into this library. (Includes configuration from AppSettings.)
  2. Write an Exporter for RockLib.Metrics that can transpose our existing metrics collection (style & format) into Prometheus format.
  3. Document how to install a Prometheus Exporter (Agent) to the localhost. This agent will probe the OpenTelemetry endpoint (http://localhost:<port>/metrics) to ‘scrape’ the metrics from the application, and relay them to the Prometheus Collector.
  4. Conditional: Should OpenTelemetry expose better methods to collect our structured metrics, incorporate those into this and/or the Metrics library so developers can adopt them. Obsolete/deprecate the legacy (“InfluxDB”) ways. Perhaps we can abstract this support from the Metrics library (via an Adapter pattern), but it’s impossible to know until the specs are released.

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.