opentelemetry-java/sdk/metrics
Josh Suereth 0ef19291c2
Swap old Metrics API for currently specified Metrics API (#3423)
* Update the API to the latest SDK specification.

* API updates to other sdk areas.

* First half of SDK updates for API.

Passing off to other cmoputer.

* Get SDK compiling again.

* Get tests compiling again (and failing).

* Fix bad copy-paste error.

* Get all SDK tests passing.

* More fixes to builds across SDK impls.

* Remove unecessary publics

* more fixes for new API.

* spotless fixes.

* Make tests for metric points order independent.

* Restore readme.

* Fix readmes.

* Add noop meter provider tests for code coverage.

* Add code coverage for assertion library.

* Fix wierd test failure that gradle cache is preventing me from seeing locally.

* Fix javadoc/spelling comments from review.

* Remove marker interfaces.

* Switch from atomic ref to volatile.

* Fixes from review.

* Apply suggestions from code review

Co-authored-by: John Watson <jkwatson@gmail.com>

* Fixes from review.

* Fixes from review.

* Update OTLP HTTP exporter to use new metrics api

Co-authored-by: John Watson <jkwatson@gmail.com>
2021-08-05 13:58:49 -07:00
..
src Swap old Metrics API for currently specified Metrics API (#3423) 2021-08-05 13:58:49 -07:00
README.md Swap old Metrics API for currently specified Metrics API (#3423) 2021-08-05 13:58:49 -07:00
build.gradle.kts Format build.gradle.kts files (#3427) 2021-07-29 13:21:38 +09:00
gradle.properties Have projects set their release state to alpha instead of recognizing word metrics (#2428) 2021-01-05 09:07:18 -08:00

README.md

OpenTelemetry Metrics SDK

The code in this directory is currently the legacy impelmentation of the previous experimental metrics SDK specification.

The following set of known issues will be fixed aas the new SDK specification stabilizes:

  • The names of SDK insturments do not line up with API instruments.
  • Baggage / Context are not available to metrics / views.
  • The View API still uses the term LabelsProcessor.
  • Only one exporter is allowed.
  • Histograms are generating summaries.
  • Exemplars are not sampled
  • The set of Aggregators goes well beyond the expected "stable" list and (likely) will have some moved to extensions.
  • There is no exposed MetricProcessor interface.