Age | Commit message (Collapse) | Author |
|
|
|
|
|
* 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.
|
|
* Update all targets to at least java7 and android14
* Change code to be android14 compatible.
* Select a specific version for each signature.
|
|
|
|
|
|
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.
|
|
allocations. (#1336)
* Extract constant functions when used in match to reduce number of allocations.
* Fix names for non-constant functions. Fix deprecated warnings.
* Add more optimization and clean zipkin exporter.
* Use correct name format for RETURN_STRING.
* Fix formatting.
* Fix import for Nullable.
|
|
* Zipkin exporter: Use the correct attribute value.
* Add a unit test.
|
|
* Small cleanup in Stackdriver trace exporter.
* Remove unused imports.
|
|
* census-instrumentation/opencensus-java#1307 Prometheus does cumulative counts in the historgram buckets, see also io.prometheus.client.Histogram.Child.observe(..)
* Rename variable to be more precise about its purpose
|
|
* Update release versions for all readme and build files.
* Fix the gRPC version conflict for example mvn build.
|
|
|
|
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".
|
|
* Stackdriver Trace Exporter: improve unit tests on resource labels.
* Have separate tests for getResourceLabels and generateSpan.
* Add missing Javadoc for unit tests.
* Make a helper method static.
|
|
|
|
* Stackdriver Trace Exporter: add resource labels to Spans.
* Fix review comments.
* Make resource labels static and only initialize once.
* Remove SuppressWarnings("unchecked")
* Passing resource_label map to generateSpan().
* Fix a checkstyle error.
* Add more unit tests on resource labels.
|
|
|
|
* Update release versions for all readme and build files.
* Manually update gRPC version in example build.
* Remove a stale TODO.
|
|
|
|
|
|
* Add a note about Guava version conflicts in cloud client library.
* Make the note more general about Guava version conficts.
* Fix a typo
|
|
* Overwrite the sampling probability to default for stats exporters.
* Fix a typo
|
|
bad format. (#1205)
|
|
* Prometheus exporter: remove namespace and prefix for help message.
* Add this change 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.
|
|
|
|
|
|
|
|
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.
|
|
Closes #1164.
Previously we don't set the bucket bounds for Prometheus Samples,
since bucket bounds is a built-in feature for Prometheus Histogram.
However, as #1164 suggested, we can manually set the bucket bounds
with the same label le that the built-in Histogram uses,
to get the same output as the built-in Prometheus Histogram Samples.
|
|
Update release versions for readme and build files.
|
|
(#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.
|
|
Move monitored resource detection utils to a separate artifact, so that it can be reused by both Stackdriver Monitoring and Stackdriver Trace.
|
|
|
|
* 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.
|
|
* Auto detect AWS EC2 resources.
* Add a test for JSON parsing.
* Work around nullness checker
* Add AWS and GCP prefix to a few constants.
* Extract methods on reading and parsing AWS document to another class.
* Add missing constructor for Util class.
|
|
|
|
Before, the Jaeger integration test hand-rolled docker setup which
failed on my machine, distracting from other unrelated change. When
looking at it, I noticed non standard test libraries as well. This
cleans up everything and now works as expected.
|
|
|
|
|
|
* Deprecate Mean and MeanData
* Suppress deprecation warnings.
* Suppress warning InconsistentOverloads
* CopyAnnotations for AutoValue Mean and MeanData
|
|
This change allows the Checker Framework to check the classes annotated with
@AutoValue, even though their generated subclasses are skipped. This commit
also fixes some previously suppressed warnings in the ViewData class.
|
|
* Auto detect GCE and GKE Stackdriver MonitoredResources.
* Use MetadataConfig to set project id for default resources.
|
|
marccarre/issues/1066-more-robust-jaeger-integration-test
More robust integration test for Jaeger exporter.
|
|
|
|
The default instructions should rely on default settings. There's a section further below that provides instructions on how to configure auth + project.
|