aboutsummaryrefslogtreecommitdiff
path: root/impl_core/src
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-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-30Split the public metrics API from the data model. (#1477)Bogdan Drutu
* Split the public API from the data model. * Small comment added about registration of the MetricProducer.
2018-09-24Avoid using LinkedList and remove couple SuppressWarnings. (#1469)Bogdan Drutu
2018-09-22Split SpanImpl into record/notrecord span impl to avoid checks of recording ↵Bogdan Drutu
all time. (#1468) * Split SpanImpl into record/notrecord span impl to avoid checks of recording all time. * Remove one extra SuppressWarnings.
2018-09-21Avoid 3 allocs, one builders and two objects when startSpan. (#1466)Bogdan Drutu
2018-09-14Revert "Temporarily move "metrics" package into impl_core/ for release. ↵Yang Song
(#1426)" (#1432) This reverts commit d3fa0e5c60903f95c184d7c7bafae8fdd12156ad.
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-09-11Make jmh available for all subprojects. (#1425)Bogdan Drutu
2018-08-27Refactor propagation benchmarks and add b3format benchmarks. (#1390)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-22Add missing Javadoc. (#1383)Yang Song
2018-08-21Metrics: Combine TimeSeriesCumulative and TimeSeriesGauge. (#1380)Yang Song
2018-08-21Extract logic about current state in internal class. (#1381)Bogdan Drutu
2018-08-20Implement CurrentStatsState using atomic variables. (#1377)Bogdan Drutu
* Implement CurrentStatsState using atomic variables. * Ignore findbugs warning and add changelog comments.
2018-08-20Make an internal function static. (#1375)Yang Song
* Make an internal function static. * Make other functions static too.
2018-08-20Remove match pattern from MutableAggregation. (#1372)Bogdan Drutu
* Remove match pattern from MutableAggregation. * Update comments in MutableAggregation.
2018-08-19Use the internal get version for getting the current state. (#1373)Bogdan Drutu
2018-08-17Fix stats to metrics implementation. (#1368)Bogdan Drutu
* Fix stats to metrics implementation. * Fix imports and logic to handle gauges. * Fix checker framework * fix style.
2018-08-15Stats: Register MetricProducer in Stats-impl. (#1348)Yang Song
* Stats: Implement MetricProducer in Stats. * Add unit tests. * Remove MetricProduce from Stats API. Register it statically in the impl.
2018-08-14Add implementation for gauges. (#1365)Bogdan Drutu
* Add implementation for gauges. * Remove usage of internal class in implcore tests.
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-09Add Tracestate into SpanContext. (#1359)Bogdan Drutu
* Add Tracestate into SpanContext. * Remove empty constructor from Tracestate.Builder * Add info in the changelog.
2018-08-08Metrics: Produce and store Metrics in Stats impl. (#1338)Yang Song
Support recording `Metric`s in stats impl. This works as the following: - When a `View` is registered, convert that `View` to a `MetricDescriptor` and register it; - When a `Measurement` along with a `TagContext` are recorded, convert them into a data row consisting of `LabelValue`s and `Point`s; - If `getMetrics()` is called, convert the `MetricDescriptor`s and data rows into `Metric`s. Then flush all data rows. This PR only contains internal support in the impl. None of these changes are user-visible yet.
2018-08-08Remove protected method from final class. (#1363)Bogdan Drutu
2018-08-01Fix incorrect argument to Checker Framework, and fix nullness warnings. (#1354)sebright
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.
2018-07-25Cleanup: Move static util methods to util class. (#1343)Yang Song
* Cleanup: Move static util methods to util class. * Fix checker framework.
2018-07-10Stats: Support recording Exemplars in the impl. (#1294)Yang Song
* Stats: Support recording Exemplars in the impl. * Add more comments and tests. * Exemplar array will be null with no histogram.
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-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-11Adds Tracing.getExportComponent().flushAndShutdown() for use within ↵Chris K Wensel
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.
2018-05-02Checker Framework: 2.5.0 -> 2.5.1Kristen Kozak
2.5.1 includes a fix for https://github.com/typetools/checker-framework/issues/1838. This commit also adds a few more @Nullable annotations that are required now.
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-17Remove dependency between io.opencensus.implcore and io.opencensus.internal.Kristen Kozak
io.opencensus.internal should only be accessed by the API library.
2018-04-16Improve Duration.toMillis() (#1132)Yang Song
* Improve java doc for toMillis(). * Make toMillis() non-static.