opentelemetry-java/dependencyManagement
Josh Suereth 3b1be74340
Expand test coverage of OpenCensus-Shim by testing metrics integrations. (#3835)
* Improve tests for OpenCensus metric conversions.

- Move metric conversion into its own utility (outside exporter)
- Add a series of tests for all open-census types.
- Update conversion code to work for ALL features of OTel metrics and
  OpenCensus metrics.  Notes:
  - OC exemplars have wonky trace-attachments.  Using crazy "no binary"
    workaround.
  - OC has gauge histogram.  Encoding as DELTA with same start/stop
    timestamp as closest OTEL equivalent
  - OC has summaries, so we'll need to keep that data type around for
    compatibility, unless we can tackle the raw measurements and push
    them into Histograms.

* Create new mechanism to attach OpenCensus metrics to OpenTelemetry that's more amenable to autoconfiguring.

* Fix interoperability test failures.

* Fix style issue.

* Force tests to be in different JVM instnaces to account for OpenCEnsus global pollution.

* Bump timeout for disruptor queue in tests, for now.

* Fix up old interoperability tests and move them to their own file.

* Fix import wonkyness

* Move to Awaitility

* Fixes from review.

* Move MetricAdapter to internal package.

* Fix test against finding span-context in exemplars.
2021-11-09 18:05:37 -08:00
..
build.gradle.kts Expand test coverage of OpenCensus-Shim by testing metrics integrations. (#3835) 2021-11-09 18:05:37 -08:00