aboutsummaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Use AutoValue from external/autoandroid-r-beta-3android-r-beta-2Colin Cross2020-06-191-2/+2
| | | | | | | | | Use the AutoValue built from source instead of the prebuilts from external/dagger2. Bug: 158870037 Test: m checkbuild Change-Id: I29b9f02f81ec294b02df8b575770d956b9c4cafa
* Add OpenCensus build modules required for gRPCHadrien Zalek2020-05-271-0/+31
| | | | | | | | | | | Add Soong build modules that are required compile-time and runtime dependencies of gRPC Java client libraries. Note that the current grpc-java-core module is imported which explains why there are no build-time errors. Test: m opencensus-java-api && m opencensus-java-contrib-grpc-metrics Bug: 148404241 Change-Id: Ie92d1ca959ca2104bae7b92b4509b42f8e4184f7
* Plugs-in the DerivedLongGauge and DerivedDoubleGauge into the registry (#1505)Mayur Kale2018-10-194-2/+142
| | | | | | * Plugs-in the DerivedLongGauge into the registry * Plugs-in the DerivedDoubleGauge into the registry
* Gauge API : Add support for DerivedDoubleGauge (#1504)Mayur Kale2018-10-184-5/+251
| | | | | | | | * Add support for DerivedDoubleGauge * Fix review comments * Fix reviews
* Add support for DerivedLongGauge (#1497)Mayur Kale2018-10-174-4/+247
| | | | | | | | | | | | | | * Add support for DerivedLongGauge * Fix minor issues * Fix test * Fix review comments * Add checker annotation * fix checker
* Plugs-in the DoubleGauge into the registry (#1503)Mayur Kale2018-10-173-5/+77
|
* Remove Old Gauge and correct exception messages (#1502)Mayur Kale2018-10-179-23/+23
|
* Plugs-in the LongGauge into the registry (#1498)Mayur Kale2018-10-174-198/+58
| | | | | | | | | | * plug-in longGauge into MetricRegistry * Minor fix * Add TODO and Fix build * Fix review comments
* Gauge API : Add DoubleGauge Support (Part2) (#1496)Mayur Kale2018-10-153-3/+306
| | | | | | * Gauge API : Add DoubleGauge Support (Part2) * Fix review comments
* Metrics/Metric: Add a version of create that accepts only one timeseries. ↵Mayur Kale2018-10-142-11/+69
| | | | | | | | (#1495) * Metrics/Metric: Add createWithOneTimeSeries method * Fix review comments
* Gauge API : Add LongGauge Support (Part1) (#1489)Mayur Kale2018-10-132-0/+298
| | | | | | | | | | * Gauge API : Add LongGauge Support (Part1) * Fix review comments * Fix review comments, removed LongGauge from registry * Add TODO and remove unnecessary check on removeTimeSeries
* Cleanup metrics API exception messages. (#1494)Bogdan Drutu2018-10-132-27/+31
| | | | | | * Cleanup metrics API exception messages. * Fix MutableAggregationTest.java
* Add BucketOptions for DistributionValue (#1484)Mayur Kale2018-10-134-76/+255
| | | | | | * Add BucketOptions for DistributionValue * Fix reviews
* Metrics/TimeSeries: Add createWithOnePoint method to accept only one … (#1486)Mayur Kale2018-10-102-3/+68
| | | | | | | | * Metrics/TimeSeries: Add createWithOnePoint method to accept only one point * Fix reviews * Minor Fix
* Metrics: Copy TimeSeries list when creating a Metric. (#1485)Yang Song2018-10-092-1/+38
| | | | | | * Metrics: Copy TimeSeries list when creating a Metric. * Check for null and add more tests.
* Mode classes for metrics data model in the exporter package. (#1480)Bogdan Drutu2018-10-0218-37/+41
| | | | | | * Mode classes for metrics data model in the exporter package. Consistent with trace. * Fix test class coments.
* Make metrics compatible with the current proto definition. (#1479)Bogdan Drutu2018-10-029-34/+516
| | | | | | | | * Make metrics compatible with the current proto definition. * Fix minor comments from the review. * Fix @Nullable.
* Uptade since tag for the entire metrics package. (#1478)Bogdan Drutu2018-10-0113-66/+67
|
* Split the public metrics API from the data model. (#1477)Bogdan Drutu2018-09-302-17/+12
| | | | | | * Split the public API from the data model. * Small comment added about registration of the MetricProducer.
* Common: Add an API Functions.returnToString(). (#1443)Yang Song2018-09-182-0/+26
| | | | | | * Common: Add an API Functions.returnToString(). * Fix comments and add tests.
* Tracing: Add AttributeValueDouble. (#1442)Yang Song2018-09-172-4/+185
| | | Also update Trace exporters and ZPages, and fix a few typos.
* Revert "Temporarily move "metrics" package into impl_core/ for release. ↵Yang Song2018-09-1430-2/+2831
| | | | | (#1426)" (#1432) This reverts commit d3fa0e5c60903f95c184d7c7bafae8fdd12156ad.
* Start 0.17.0 development cycle (#1429)sebright2018-09-141-1/+1
|
* Make LowerCaseBase16Encoding package protected. (#1427)Bogdan Drutu2018-09-124-10/+6
|
* Temporarily move "metrics" package into impl_core/ for release. (#1426)sebright2018-09-1230-2831/+2
| | | | | | | | | | 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.
* Make jmh available for all subprojects. (#1425)Bogdan Drutu2018-09-111-2/+4
|
* Remove guava dependency from the API artifact. (#1393)Bogdan Drutu2018-08-285-20/+185
| | | | | | * Remove guava dependency from the API artifact. * Make LowerCaseBase16Encoding static and remove import control.
* Avoid doing string formatting when calling checkArgument for Metrics ↵Bogdan Drutu2018-08-281-6/+3
| | | | package. (#1395)
* Avoid doing string formatting when calling checkArgument. (#1394)Bogdan Drutu2018-08-289-35/+151
|
* Add get/from{Byte} methods on TraceOptions and deprecate get/from{Bytes}. ↵Bogdan Drutu2018-08-272-17/+59
| | | | | | | | (#1392) * Add get/from{Byte} methods on TraceOptions and deprecate get/from{Bytes}. * Update changelog.
* Use Utils.checkNotNull instead of writing the null check. (#1385)Bogdan Drutu2018-08-271-3/+1
|
* Add missing Javadoc. (#1383)Yang Song2018-08-222-2/+7
|
* Metrics: Combine TimeSeriesCumulative and TimeSeriesGauge. (#1380)Yang Song2018-08-219-578/+129
|
* Update all targets to at least java7 and android14 (#1367)Bogdan Drutu2018-08-181-1/+2
| | | | | | | | * Update all targets to at least java7 and android14 * Change code to be android14 compatible. * Select a specific version for each signature.
* checkstyle: 8.0 -> 8.12 (#1369)sebright2018-08-167-13/+29
| | | | This commit also merges new changes to checkstyle.xml and fixes new checkstyle warnings related to Javadocs.
* Metrics: Implement ExportComponent, make ProducerManager abstract. (#1347)Yang Song2018-08-135-74/+38
| | | | | | | | | | | | * 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.
* Fix metrics tests by adding the RunWith annotation. (#1364)Bogdan Drutu2018-08-112-0/+10
|
* Metrics: Move metrics to opencensus-api. (#1346)Yang Song2018-08-1033-0/+3298
| | | | | | * Metrics: Move to api. * Update package-info to warn users on using metrics.
* Add support for recording Gauges. (#1344)Bogdan Drutu2018-08-102-0/+77
| | | | | | * Add support for Gauges in OpenCensus. * Minor comment fix.
* Add Tracestate into SpanContext. (#1359)Bogdan Drutu2018-08-093-15/+53
| | | | | | | | * Add Tracestate into SpanContext. * Remove empty constructor from Tracestate.Builder * Add info in the changelog.
* Add a warning about try-with-resource to auto-close spans. (#1362)Bogdan Drutu2018-08-071-0/+10
|
* Minor improvements for Tracestate. (#1358)Bogdan Drutu2018-08-032-4/+16
|
* Add the initial version of the TraceState class. (#1300)Bogdan Drutu2018-08-022-0/+500
| | | | | | | | | | | | | | * Add the initial version of the TraceState class. * Add builder pattern. * Clean API and add tests. * Rename addOrUpdate to set and apply trailing rules for value. * Apply google java format. * Fix check framework.
* Add Checker Framework stub file for gRPC Context.Key. (#1357)sebright2018-08-012-1/+8
| | | | The stub file adds Nullable annotations to indicate that Context.Key.get can return null when the key has no default or the key has a nullable value type.
* Fix incorrect argument to Checker Framework, and fix nullness warnings. (#1354)sebright2018-08-012-2/+4
| | | | | | 709d97aa321d5729988fd63b960bbece04cfba10 modified the -AskipDefs argument to the Checker Framework (a regular expression) in a way that caused it to skip checking all files. This commit fixes the regular expression and the new Checker Framework warnings.
* Remove copy of the internal.Utils. (#1332)Bogdan Drutu2018-07-201-0/+16
|
* Tracing: Reduce default limit on Links to 32. (#1315)Yang Song2018-07-162-2/+2
| | | | | | * Tracing: Reduce default limit on Links to 32. * Add this change to CHANGELOG.
* Mention that SampledSpanStore.getRegisteredSpanNamesForCollection is for ↵Kristen Kozak2018-07-092-42/+5
| | | | | | | | | | | testing. This commit fixes the last part of #977. getRegisteredSpanNamesForCollection was originally public and annotated with VisibleForTesting because it was meant for testing code that uses OpenCensus. However, VisibleForTesting is not ideal because it adds a dependency on Guava and it does not appear in Javadocs. This commit instead describes the purpose of the method in the Javadocs. It also removes the temporary PublicForTesting annotation.
* Stats: Add Exemplar class to DistributionData. (#1287)Yang Song2018-06-292-3/+179
|
* Stats: Add API MeasureMap.putAttachment() for recording exemplars. (#1285)Yang Song2018-06-282-0/+37
| | | | | | | | | | | | | | * Stats: Add API MeasureMap.withAttachments() for recording exemplars. * Add this change to CHANGELOG * Stats: implement the new API in impl. * Rename API and merge the string maps on multiple calls. * Update the API to putAttachment(String, String) for simplicity. * Fix a typo and add a TODO about making putAttachment abstract.