This repository was archived by the owner on Dec 23, 2023. It is now read-only.
Releases: census-instrumentation/opencensus-java
Releases · census-instrumentation/opencensus-java
v0.17.0 Release
- Add
AttributeValueDoubletoAttributeValue. - Add
createWithSendertoJaegerTraceExporterto allow use ofHttpSender
with extra configurations. - Add an API
Functions.returnToString(). - Migrate to new Stackdriver Kubernetes monitored resource. This could be a breaking change
if you are usinggke_containerresources. For more info,
https://cloud.google.com/monitoring/kubernetes-engine/migration#incompatible - Add an util artifact
opencensus-contrib-dropwizardto translate Dropwizard metrics to
OpenCensus. - Add Gauges (
DoubleGauge,LongGauge,DerivedDoubleGauge,DerivedLongGauge) APIs. - Update
opencensus-contrib-log-correlation-log4j2and
opencensus-contrib-log-correlation-stackdriverto match the
OpenCensus log correlation spec
and remove allExperimentalApiannotations. - The histogram bucket boundaries (
BucketBoundaries) and values (CountandSum) are no longer
supported for negative values. The Record API drops the negativevalueand logs the warning.
This could be a breaking change if you are recording negative value for anymeasure. - Remove support for min/max in the stats Distribution to make it compatible with Metrics.
- Dependency updates.
v0.16.1 Release
- 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
- 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-utilthat has helper utilities
on recording exemplars. - Reduce the default limit on
Links perSpanto 32 (was 128 before). - Add Spring support for
@Tracedannotation 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
StackdriverTraceConfigurationto allow setting a
TraceServiceStubinstance 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
- Improve propagation performance by avoiding doing string formatting when calling checkArgument.
v0.15.0 Release
- 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-traceto0.52.0-beta. - Upgrade
com.google.cloud:google-cloud-monitoringto1.34.0.
v0.14.0 Release
- Adds Tracing.getExportComponent().shutdown() for use within application shutdown hooks.
Duration.createnow throws anIllegalArgumentExceptioninstead of
returning a zeroDurationwhen the arguments are invalid.Timestamp.createnow throws anIllegalArgumentExceptioninstead of
returning a zeroTimestampwhen 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-utilto 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
- Map http attributes to Stackdriver format (fix #1153).
v0.13.1 Release
- 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
- Support building with Java 9.
- Add a QuickStart example.
- Remove extraneous dependencies from the Agent's
pom.xml. - Deprecate
WindowandWindowData. - 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
compileOnlydependencies. - Deprecate
MeanandMeanData. - Sort
TagKeys inView.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 withglobalresource, 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 toglobalwith StackdriverStatsConfiguration. - Add
LastValue,LastValueDoubleandLastValueLong. Also support them in
stats exporters and zpages. Please note that there is an API breaking change
in methodsAggregation.match()andAggregationData.match(). - Dependency update.
v0.12.3 Release
- Substitute non-ascii characters in B3Format header key.