Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Releases: census-instrumentation/opencensus-java

v0.17.0 Release

02 Nov 23:10
Compare
Choose a tag to compare
  • Add AttributeValueDouble to AttributeValue.
  • Add createWithSender to JaegerTraceExporter to allow use of HttpSender
    with extra configurations.
  • Add an API Functions.returnToString().
  • Migrate to new Stackdriver Kubernetes monitored resource. This could be a breaking change
    if you are using gke_container resources. For more info,
    https://cloud.google.com/monitoring/kubernetes-engine/migration#incompatible
  • Add an util artifact opencensus-contrib-dropwizard to translate Dropwizard metrics to
    OpenCensus.
  • Add Gauges (DoubleGauge, LongGauge, DerivedDoubleGauge, DerivedLongGauge) APIs.
  • Update opencensus-contrib-log-correlation-log4j2 and
    opencensus-contrib-log-correlation-stackdriver to match the
    OpenCensus log correlation spec
    and remove all ExperimentalApi annotations.
  • The histogram bucket boundaries (BucketBoundaries) and values (Count and Sum) are no longer
    supported for negative values. The Record API drops the negative value and logs the warning.
    This could be a breaking change if you are recording negative value for any measure.
  • Remove support for min/max in the stats Distribution to make it compatible with Metrics.
  • Dependency updates.

v0.16.1 Release

18 Sep 18:14
Compare
Choose a tag to compare
  • Fix ClassCastException in Log4j log correlation (#1436).
  • Allow users to report metrics for their registered domain (using custom prefix). This could be a
    breaking change if you have custom prefix without (registered) domain.

v0.16.0 Release

15 Sep 02:42
Compare
Choose a tag to compare
  • Add APIs to register gRPC client and server views separately.
  • Add an API MeasureMap.putAttachment() for recording exemplars.
  • Add Exemplar class and an API to get Exemplar list to DistributionData.
  • Improve the styling of Rpcz, Statsz, Tracez, and Traceconfigz pages.
  • Add an artifact opencensus-contrib-exemplar-util that has helper utilities
    on recording exemplars.
  • Reduce the default limit on Links per Span to 32 (was 128 before).
  • Add Spring support for @Traced annotation and java.sql.PreparedStatements
    tracing.
  • Allow custom prefix for Stackdriver metrics in StackdriverStatsConfiguration.
  • Add support to handle the Tracestate in the SpanContext.
  • Remove global synchronization from the get current stats state.
  • Add get/from{Byte} methods on TraceOptions and deprecate get/from{Bytes}.
  • Add an API to StackdriverTraceConfiguration to allow setting a
    TraceServiceStub instance to be used for export RPC calls.
  • Add an experimental artifact, opencensus-contrib-log-correlation-log4j2, for
    adding tracing data to Log4j 2 LogEvents.

v0.15.1 Release

29 Aug 01:35
Compare
Choose a tag to compare
  • Improve propagation performance by avoiding doing string formatting when calling checkArgument.

v0.15.0 Release

21 Jun 00:54
Compare
Choose a tag to compare
  • Expose the factory methods of MonitoredResource.
  • Add an experimental artifact, opencensus-contrib-log-correlation-stackdriver, for correlating traces and logs with Stackdriver Logging.
  • Add resource labels to Spans in Stackdriver Trace Exporter.
  • Fix a performance issue due to unnecessary calls to toString() (#1265).
  • Upgrade com.google.cloud:google-cloud-trace to 0.52.0-beta.
  • Upgrade com.google.cloud:google-cloud-monitoring to 1.34.0.

v0.14.0 Release

05 Jun 02:24
Compare
Choose a tag to compare
  • Adds Tracing.getExportComponent().shutdown() for use within application shutdown hooks.
  • Duration.create now throws an IllegalArgumentException instead of
    returning a zero Duration when the arguments are invalid.
  • Timestamp.create now throws an IllegalArgumentException instead of
    returning a zero Timestamp when the arguments are invalid.
  • Remove namespace and help message prefix for Prometheus exporter. This could be
    a breaking change if you have Prometheus metrics from OpenCensus Prometheus exporter
    of previous versions, please point to the new metrics with no namespace instead.
  • Add an util artifact opencensus-contrib-appengine-standard-util to interact with the AppEngine
    CloudTraceContext.
  • Add support for Span kinds. (fix #1054).
  • Add client/server started_rpcs measures and views to RPC constants.

v0.13.2 Release

08 May 22:01
Compare
Choose a tag to compare
  • Map http attributes to Stackdriver format (fix #1153).

v0.13.1 Release

03 May 01:22
Compare
Choose a tag to compare
  • Fix a typo on displaying Aggregation Type for a View on StatsZ page.
  • Set bucket bounds as "le" labels for Prometheus Stats exporter.

v0.13.0 Release

27 Apr 22:37
Compare
Choose a tag to compare
  • Support building with Java 9.
  • Add a QuickStart example.
  • Remove extraneous dependencies from the Agent's pom.xml.
  • Deprecate Window and WindowData.
  • Add a configuration class to the Prometheus stats exporter.
  • Fix build on platforms that are not supported by netty-tcnative.
  • Add Jaeger trace exporter.
  • Add a gRPC Hello World example.
  • Remove usages of Guava collections in opencensus-api.
  • Set unit "1" when the aggregation type is Count.
  • Auto detect GCE and GKE Stackdriver MonitoredResources.
  • Make Error Prone and FindBugs annotations compileOnly dependencies.
  • Deprecate Mean and MeanData.
  • Sort TagKeys in View.create(...).
  • Add utility class to expose default HTTP measures, tags and view, and register
    default views.
  • Add new RPC measure and view constants, deprecate old ones.
  • Makes the trace and span ID fields mandatory in binary format.
  • Auto detect AWS EC2 resources.
  • Add Duration.toMillis().
  • Make monitored resource utils a separate artifact opencensus-contrib-monitored-resource-util,
    so that it can be reused across exporters. Please note that this could potentially break your Stackdriver graphs if you're using OpenCensus Stackdriver stats exporter on GCE, GKE or AWS EC2. This is because previously we export all stats with global resource, while now we'll associate stats with a GCE, GKE or AWS EC2 resource based on the environment. You can either update the config of graphs to use the appropriate resource, or override the resource type to global with StackdriverStatsConfiguration.
  • Add LastValue, LastValueDouble and LastValueLong. Also support them in
    stats exporters and zpages. Please note that there is an API breaking change
    in methods Aggregation.match() and AggregationData.match().
  • Dependency update.

v0.12.3 Release

13 Apr 18:35
Compare
Choose a tag to compare
  • Substitute non-ascii characters in B3Format header key.