Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
package. (#1395)
|
|
|
|
(#1392)
* Add get/from{Byte} methods on TraceOptions and deprecate get/from{Bytes}.
* Update changelog.
|
|
|
|
|
|
|
|
* Update all targets to at least java7 and android14
* Change code to be android14 compatible.
* Select a specific version for each signature.
|
|
This commit also merges new changes to checkstyle.xml and fixes new checkstyle
warnings related to Javadocs.
|
|
* 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 support for Gauges in OpenCensus.
* Minor comment fix.
|
|
* 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.
|
|
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.
|
|
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.
|
|
|
|
* Tracing: Reduce default limit on Links to 32.
* Add this change to CHANGELOG.
|
|
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 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.
|
|
See census-instrumentation/opencensus-specs#99.
|
|
* 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 package-info for all main packages in opencensus-api.
* Fix format.
|
|
* Move Metrics to a separate artifact.
* Fix review comments.
* Update one TODO about the naming of the artifact.
|
|
|
|
abstract. (#1226)
|
|
* Add Span.Kind to the trace API.
* Add @Nullable annotation where needed.
* Add changes to changelog.
|
|
* Start adding a metrics package.
* Add ExperimentalApi annotation to the package.
|
|
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.
|
|
Throw IllegalArgumentException when Duration.create receives invalid arguments.
|
|
Fixes #1179. Throwing IllegalArgumentException for invalid arguments is more
consistent with the rest of the opencensus-java API.
|
|
This method is already used by the Stackdriver stats exporter to convert status
types, so it should be part of the API.
|
|
|
|
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.
|
|
Checker Framework: 2.5.0 -> 2.5.1
|
|
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.
|
|
The Checker Framework didn't detect this error, because the method used
@SuppressWarnings("unchecked") for a different reason.
This commit also fixes a potential NPE in ZipkinExporterHandler.
|
|
|