aboutsummaryrefslogtreecommitdiffstats
path: root/impl
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Temporarily move "metrics" package into impl_core/ for release. ↵Yang Song2018-09-142-3/+3
| | | | | (#1426)" (#1432) This reverts commit d3fa0e5c60903f95c184d7c7bafae8fdd12156ad.
* Temporarily move "metrics" package into impl_core/ for release. (#1426)sebright2018-09-122-3/+3
| | | | | | | | | | The "metrics" package isn't ready to be released yet, so this commit moves it out of the API artifact. The package can still be accessed by the stats implementation in impl_core/. This commit can be reverted once the package is ready to be exposed. The moved package names also contain "temporary" so that there is no possibility of class name conflicts between different versions of opencensus-api and opencensus-impl-core. For example, io.opencensus.metrics.export is renamed to io.opencensus.implcore.temporary.metrics.export.
* Update all targets to at least java7 and android14 (#1367)Bogdan Drutu2018-08-181-1/+1
| | | | | | | | * Update all targets to at least java7 and android14 * Change code to be android14 compatible. * Select a specific version for each signature.
* Add implementation for gauges. (#1365)Bogdan Drutu2018-08-142-1/+13
| | | | | | * Add implementation for gauges. * Remove usage of internal class in implcore tests.
* Metrics: Implement ExportComponent, make ProducerManager abstract. (#1347)Yang Song2018-08-132-0/+59
| | | | | | | | | | | | * Metrics: Implement ExportComponent, make ProducerManager abstract. * Metrics: Add impl and impllite. * Resolve two TODOs. * Fix import path, leave a TODO for getMetricRegistry. * Make NoopMetricProducerManager private. Add missing since tag.
* Remove warning suppression in DisruptorEventQueue.Kristen Kozak2018-05-111-2/+1
| | | | This commit fixes a varargs warning by creating an explicit array.
* Remove "nullness" warning suppression in DisruptorEventQueue.Kristen Kozak2018-05-111-7/+17
| | | | | | This commit fixes a nullness warning by splitting the constructor into a factory method and a constructor, to ensure that the DisruptorEventQueue is fully initialized before any events are enqueued.
* Adds Tracing.getExportComponent().flushAndShutdown() for use within ↵Chris K Wensel2018-05-111-8/+49
| | | | | | | | | | | application shutdown hooks. (#1141) Adds the ability to flush pending spans via a call to Tracing.getExportComponent().shutdown() This allows a developer to force a flush from within a shutdown hook or other means. Unfortunately the underlying Disruptor instance only provides a #shutdown() call, not a flush, or a public method for testing for backlog. Thus shutdown has propagated up to the above api call.
* Fix bugs, fix warnings and update disruptor. (#1021)Bogdan Drutu2018-02-261-16/+25
| | | | | | * Update disruptor and fix warnings. * Fix bug that holds the memory to all recorded events in disruptor.
* Suppress some Checker Framework warnings and add TODOs (issue #359).Kristen Kozak2017-12-191-0/+2
| | | | Fixing these warnings will require significant refactoring.
* Add more null annotations (issue #359).Kristen Kozak2017-12-191-1/+3
| | | | | | | This commit adds some Nullable annotations that are required by the Checker Framework, but it doesn't change any other code. It also suppresses some Error Prone and FindBugs warnings that conflict with the Checker Framework, since the three tools use different algorithms.
* Move implementation directories (#786)Yang Song2017-11-094-0/+136
| | | | * Move directories: core_impl to impl_core, core_impl_java to impl, core_impl_android to impl_lite.
* Extract the DeamonThreadFactory from Disruptor and clean code. (#783)Bogdan Drutu2017-11-061-61/+50
|
* Add gradle plugin for google java format. Enforce all files to be formatted. ↵Bogdan Drutu2017-11-033-13/+11
| | | | | | | | | | | | | | (#771) * Add gradle plugin for google java format. Enforce all files to be formatted. * Fix javadoc comments. * update to google-java-formatter 1.5 * Fix comments and run formatter only for java8. * Formatter works only on java8.
* Make disruptor thread daemon. (#706)Kun Zhang2017-10-171-1/+13
| | | | | | | | * Make disruptor thread daemon. Resolves https://github.com/grpc/grpc-java/issues/3578 * Make final final
* Add RedundantImport check and upgrade checkstyle to 8.0. (#579)Bogdan Drutu2017-09-021-1/+0
|
* Fix backwards compatibility between TraceComponentBaseImpl and ↵Bogdan Drutu2017-08-312-10/+73
| | | | TraceComponent. (#575)
* Change the licence to OpenCensus authors. (#539)Bogdan Drutu2017-08-236-6/+24
|
* Update TraceComponentImplLite package name in a comment.Kristen Kozak2017-08-171-1/+1
|
* Use different package names in each artifact. (fixes #379)Kristen Kozak2017-08-176-9/+10
| | | | | | | | | | This commit uses the following package name prefixes in each artifact, in order to ensure that no package is split across artifacts: opencensus-api: io.opencensus opencensus-impl-core: io.opencensus.implcore opencensus-impl: io.opencensus.impl opencensus-impl-lite: io.opencensus.impllite
* Move two more classes into 'impl' packages.Kristen Kozak2017-08-164-4/+4
|
* Move tracing implementation classes to io.opencensus.impl.trace.Kristen Kozak2017-08-166-6/+48
| | | | | | | | | | | | This is part of #379. The package name may still need to be changed again, but this commit includes all of the changes necessary to put the API and implementation in separate packages. Other changes in this commit: - Make TraceComponent's constructor public. - Leave deprecated copies of the TraceComponent subclasses in the io.opencensus.trace package so that they can be loaded by opencensus-api 0.5. - Move internal classes to io.opencensus.impl.internal. - Make TraceComponentImplBase and BinaryFormatImpl public.
* Fix Tracing method name to get ExportComponent (#382)Bogdan Drutu2017-06-221-1/+1
|
* Clean minor things. (#372)Bogdan Drutu2017-06-191-1/+0
|
* Move TestClock in opencensus-testing package. (#368)Bogdan Drutu2017-06-161-0/+3
|
* Prepare the release of the opencensus library. (#357)Bogdan Drutu2017-06-157-0/+407