Age | Commit message (Collapse) | Author |
|
* Plugs-in the DerivedLongGauge into the registry
* Plugs-in the DerivedDoubleGauge into the registry
|
|
* Add support for DerivedDoubleGauge
* Fix review comments
* Fix reviews
|
|
* Add support for DerivedLongGauge
* Fix minor issues
* Fix test
* Fix review comments
* Add checker annotation
* fix checker
|
|
|
|
|
|
* plug-in longGauge into MetricRegistry
* Minor fix
* Add TODO and Fix build
* Fix review comments
|
|
* Gauge API : Add DoubleGauge Support (Part2)
* Fix review comments
|
|
(#1495)
* Metrics/Metric: Add createWithOneTimeSeries method
* Fix review comments
|
|
* 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.
* Fix MutableAggregationTest.java
|
|
* Add BucketOptions for DistributionValue
* Fix reviews
|
|
* Metrics/TimeSeries: Add createWithOnePoint method to accept only one point
* Fix reviews
* Minor Fix
|
|
* 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. Consistent with trace.
* Fix test class coments.
|
|
* Make metrics compatible with the current proto definition.
* Fix minor comments from the review.
* Fix @Nullable.
|
|
* Common: Add an API Functions.returnToString().
* Fix comments and add tests.
|
|
Also update Trace exporters and ZPages, and fix a few typos.
|
|
(#1426)" (#1432)
This reverts commit d3fa0e5c60903f95c184d7c7bafae8fdd12156ad.
|
|
|
|
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.
|
|
* Remove guava dependency from the API artifact.
* Make LowerCaseBase16Encoding static and remove import control.
|
|
|
|
(#1392)
* Add get/from{Byte} methods on TraceOptions and deprecate get/from{Bytes}.
* Update changelog.
|
|
|
|
* 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.
|
|
|
|
* Metrics: Move to api.
* Update package-info to warn users on using metrics.
|
|
* Add Tracestate into SpanContext.
* Remove empty constructor from Tracestate.Builder
* Add info in the changelog.
|
|
|
|
* 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.
|
|
* Tracing: Reduce default limit on Links to 32.
* Add this change to CHANGELOG.
|
|
|
|
* 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.
|
|
* 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()
|
|
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.
|
|
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".
|
|
* Add Span.Kind to the trace API.
* Add @Nullable annotation where needed.
* Add changes to changelog.
|
|
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.
|
|
Fixes #1179. Throwing IllegalArgumentException for invalid arguments is more
consistent with the rest of the opencensus-java API.
|
|
(#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.
|
|
|
|
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.
|
|
This change breaks the circular dependency between io.opencensus.internal and
io.opencensus.common.
|
|
* Improve java doc for toMillis().
* Make toMillis() non-static.
|
|
* Add toMillis() method to TimeUtils.
* Reuse toMillis() method in impl and exporters.
* Add a note about overflow and precision loss.
* Move toMillis() to Duration.
|
|
|
|
|
|
This commit replaces the most commonly used precondtion checks with methods in
a new utility class, io.opencensus.internal.Utils.
|
|
This commit adds an "s" to TimeUtil, StringUtil, and BaseMessageEventUtil, for
consistency with utility classes that have been made public, such as
ContextUtils.
|
|
|