This repository has been 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
AttributeValueDouble
toAttributeValue
. - Add
createWithSender
toJaegerTraceExporter
to 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_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 allExperimentalApi
annotations. - The histogram bucket boundaries (
BucketBoundaries
) and values (Count
andSum
) are no longer
supported for negative values. The Record API drops the negativevalue
and 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-util
that has helper utilities
on recording exemplars. - Reduce the default limit on
Link
s perSpan
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
- 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-trace
to0.52.0-beta
. - Upgrade
com.google.cloud:google-cloud-monitoring
to1.34.0
.
v0.14.0 Release
- Adds Tracing.getExportComponent().shutdown() for use within application shutdown hooks.
Duration.create
now throws anIllegalArgumentException
instead of
returning a zeroDuration
when the arguments are invalid.Timestamp.create
now throws anIllegalArgumentException
instead of
returning a zeroTimestamp
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
- 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
Window
andWindowData
. - 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
andMeanData
. - Sort
TagKey
s 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 withglobal
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 toglobal
with StackdriverStatsConfiguration. - Add
LastValue
,LastValueDouble
andLastValueLong
. 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.