aboutsummaryrefslogtreecommitdiff
path: root/api/src/test/java/io
AgeCommit message (Collapse)Author
2018-10-19 Plugs-in the DerivedLongGauge and DerivedDoubleGauge into the registry (#1505)Mayur Kale
* Plugs-in the DerivedLongGauge into the registry * Plugs-in the DerivedDoubleGauge into the registry
2018-10-18Gauge API : Add support for DerivedDoubleGauge (#1504)Mayur Kale
* Add support for DerivedDoubleGauge * Fix review comments * Fix reviews
2018-10-17Add support for DerivedLongGauge (#1497)Mayur Kale
* Add support for DerivedLongGauge * Fix minor issues * Fix test * Fix review comments * Add checker annotation * fix checker
2018-10-17Plugs-in the DoubleGauge into the registry (#1503)Mayur Kale
2018-10-17Remove Old Gauge and correct exception messages (#1502)Mayur Kale
2018-10-17Plugs-in the LongGauge into the registry (#1498)Mayur Kale
* plug-in longGauge into MetricRegistry * Minor fix * Add TODO and Fix build * Fix review comments
2018-10-15Gauge API : Add DoubleGauge Support (Part2) (#1496)Mayur Kale
* Gauge API : Add DoubleGauge Support (Part2) * Fix review comments
2018-10-14Metrics/Metric: Add a version of create that accepts only one timeseries. ↵Mayur Kale
(#1495) * Metrics/Metric: Add createWithOneTimeSeries method * Fix review comments
2018-10-13Gauge API : Add LongGauge Support (Part1) (#1489)Mayur Kale
* Gauge API : Add LongGauge Support (Part1) * Fix review comments * Fix review comments, removed LongGauge from registry * Add TODO and remove unnecessary check on removeTimeSeries
2018-10-13Cleanup metrics API exception messages. (#1494)Bogdan Drutu
* Cleanup metrics API exception messages. * Fix MutableAggregationTest.java
2018-10-13Add BucketOptions for DistributionValue (#1484)Mayur Kale
* Add BucketOptions for DistributionValue * Fix reviews
2018-10-10Metrics/TimeSeries: Add createWithOnePoint method to accept only one … (#1486)Mayur Kale
* Metrics/TimeSeries: Add createWithOnePoint method to accept only one point * Fix reviews * Minor Fix
2018-10-09Metrics: Copy TimeSeries list when creating a Metric. (#1485)Yang Song
* Metrics: Copy TimeSeries list when creating a Metric. * Check for null and add more tests.
2018-10-02Mode classes for metrics data model in the exporter package. (#1480)Bogdan Drutu
* Mode classes for metrics data model in the exporter package. Consistent with trace. * Fix test class coments.
2018-10-02Make metrics compatible with the current proto definition. (#1479)Bogdan Drutu
* Make metrics compatible with the current proto definition. * Fix minor comments from the review. * Fix @Nullable.
2018-09-18Common: Add an API Functions.returnToString(). (#1443)Yang Song
* Common: Add an API Functions.returnToString(). * Fix comments and add tests.
2018-09-17Tracing: Add AttributeValueDouble. (#1442)Yang Song
Also update Trace exporters and ZPages, and fix a few typos.
2018-09-14Revert "Temporarily move "metrics" package into impl_core/ for release. ↵Yang Song
(#1426)" (#1432) This reverts commit d3fa0e5c60903f95c184d7c7bafae8fdd12156ad.
2018-09-12Make LowerCaseBase16Encoding package protected. (#1427)Bogdan Drutu
2018-09-12Temporarily move "metrics" package into impl_core/ for release. (#1426)sebright
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.
2018-08-28Remove guava dependency from the API artifact. (#1393)Bogdan Drutu
* Remove guava dependency from the API artifact. * Make LowerCaseBase16Encoding static and remove import control.
2018-08-28Avoid doing string formatting when calling checkArgument. (#1394)Bogdan Drutu
2018-08-27Add get/from{Byte} methods on TraceOptions and deprecate get/from{Bytes}. ↵Bogdan Drutu
(#1392) * Add get/from{Byte} methods on TraceOptions and deprecate get/from{Bytes}. * Update changelog.
2018-08-21Metrics: Combine TimeSeriesCumulative and TimeSeriesGauge. (#1380)Yang Song
2018-08-13 Metrics: Implement ExportComponent, make ProducerManager abstract. (#1347)Yang Song
* 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.
2018-08-11Fix metrics tests by adding the RunWith annotation. (#1364)Bogdan Drutu
2018-08-10Metrics: Move metrics to opencensus-api. (#1346)Yang Song
* Metrics: Move to api. * Update package-info to warn users on using metrics.
2018-08-09Add Tracestate into SpanContext. (#1359)Bogdan Drutu
* Add Tracestate into SpanContext. * Remove empty constructor from Tracestate.Builder * Add info in the changelog.
2018-08-03Minor improvements for Tracestate. (#1358)Bogdan Drutu
2018-08-02Add the initial version of the TraceState class. (#1300)Bogdan Drutu
* 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.
2018-07-16Tracing: Reduce default limit on Links to 32. (#1315)Yang Song
* Tracing: Reduce default limit on Links to 32. * Add this change to CHANGELOG.
2018-06-29Stats: Add Exemplar class to DistributionData. (#1287)Yang Song
2018-06-28Stats: Add API MeasureMap.putAttachment() for recording exemplars. (#1285)Yang Song
* 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.
2018-06-21Summary Span: Add encoder/decoder for Server Stats. (#1272)rghetia
* Summary Span: Add encoder/decoder for Server Stats. * Fixed build errors reported by Kokoro/Travis. * Fixed review comments. - Added missing javadoc annotation. - included version in encoder/decoder. - renamed get methods for ServerStats. * Change version from 0.15 to 0.16 - also fixed CURRENT_VERSION for encoder/decoder and added test for it. * Make ServerStatsEncoding public. * Add Test ServerStatsFieldEnum.Size replace traceOption() wiht getTraceOption()
2018-06-20Stats: Only include the simple class name in the error message for ↵Yang Song
ViewData.check methods. (#1267) * Stats: Only include the simple class name in the error message for ViewData.check methods. * Copy checkArgument and lazily create error message. * Rename help methods to avoid InconsistentOverloads. * Improve error messages in the unit tests.
2018-06-13Error Prone: 2.2.0 -> 2.3.1Kristen Kozak
This commit contains several other changes as part of the upgrade: - Use -XepAllDisabledChecksAsWarnings to enable all available warnings so that we don't need to enable each warning explicitly. - Remove explicit suppression of warnings in generated code, since -XepDisableWarningsInGeneratedCode is now sufficient to suppress all warnings in AutoValue and Protocol Buffer generated classes. - Remove a suppression of "ConstructorLeaksThis", since https://github.com/google/error-prone/pull/789 was fixed. - Fix a few occurrences of "FieldCanBeFinal".
2018-05-31Add Span.Kind to the trace API. (#1223)Bogdan Drutu
* Add Span.Kind to the trace API. * Add @Nullable annotation where needed. * Add changes to changelog.
2018-05-15Throw IllegalArgumentException when Timestamp.create receives invalid arguments.Kristen Kozak
Throwing IllegalArgumentException for invalid arguments is more consistent with the rest of the opencensus-java API. This commit also fixes a test that created an invalid Timestamp.
2018-05-15Throw IllegalArgumentException when Duration.create receives invalid arguments.Kristen Kozak
Fixes #1179. Throwing IllegalArgumentException for invalid arguments is more consistent with the rest of the opencensus-java API.
2018-04-27Add Aggregation.LastValue and AggregationData.LastValueData to support Gauge ↵Yang Song
(#1055) * Add LastValue and LastValueData * Support LastValue and LastValueData in impl * Use Utils instead of Precondition * Add LastValue and remove Mean from match() method. * Support LastValue and LastValueData in exporters and zpages. * Update MutableLastValue, add comments on why Mean is still supported.
2018-04-27Check for null in more public methods in Span and its subclasses.Kristen Kozak
2018-04-24Added null checking to Span implementations (#1150)dvfeinblum
This PR adds null checking to classes that implement Span. Specifically, - BlankSpan - NoopSpan - Span - SpanImpl For the latter, I had to use Preconditions.checkNotNull because io.opencensus.internal shouldn't be imported into ImplCore.
2018-04-17Move utils used by Duration and Timestamp from i.o.internal.Utils to TimeUtils.Kristen Kozak
This change breaks the circular dependency between io.opencensus.internal and io.opencensus.common.
2018-04-16Improve Duration.toMillis() (#1132)Yang Song
* Improve java doc for toMillis(). * Make toMillis() non-static.
2018-04-16 Move toMillis(Duration) to Utils so that it can be reused. (#1114)Yang Song
* Add toMillis() method to TimeUtils. * Reuse toMillis() method in impl and exporters. * Add a note about overflow and precision loss. * Move toMillis() to Duration.
2018-04-04Remove usages of Guava Objects/MoreObjects from opencensus-api (issue #1081).Kristen Kozak
2018-04-04Remove usages of Guava LongMath from opencensus-api (issue #1081).Kristen Kozak
2018-04-04Remove usages of Guava Precondtions from opencensus-api (issue #1081).Kristen Kozak
This commit replaces the most commonly used precondtion checks with methods in a new utility class, io.opencensus.internal.Utils.
2018-04-04Rename "Util" classes to "Utils", for consistency with public "Utils" classes.Kristen Kozak
This commit adds an "s" to TimeUtil, StringUtil, and BaseMessageEventUtil, for consistency with utility classes that have been made public, such as ContextUtils.
2018-03-30Sort TagKeys in View.create(...) (fixes #1080).Kristen Kozak