Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update metrics API and SDK #819

Merged
merged 5 commits into from Jul 25, 2022
Merged

Commits on Jun 22, 2022

  1. Update metrics API and SDK

    This change aligns metrics with the spec, changes include:
    
    * Rename `MeterProvider::meter` to `MeterProvider::versioned_meter` for
      consistency with `TracerProvider` trait.
    * Move metrics sdk api types to `opentelemetry-sdk`
    * Consolidate instrument builders into `InstrumentBuilder`
    * Remove value observers and add gauges.
    * Move from batch observer to registered callbacks.
    * Rename `ExportKindFor` to `TemporalitySelector`
    * Consolidate `PushController` and `PullController` into
      `BasicController`
    * Remove `MinMaxSumCountAggregator` and `ArrayAggregator`
    * Update examples and exporters for new api/sdk
    jtescher committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    de300df View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2022

  1. Apply suggestions from TommyCpp

    Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
    jtescher and TommyCpp committed Jul 24, 2022
    Configuration menu
    Copy the full SHA
    4b27fa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c3301e View commit details
    Browse the repository at this point in the history
  3. Fix MSRV regressions

    jtescher committed Jul 24, 2022
    Configuration menu
    Copy the full SHA
    69dff69 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    715e205 View commit details
    Browse the repository at this point in the history