- fix: Shutdown
MetricServiceClientproperly onStackdriverStatsExporter.unregister()(#2007)
- fix: Return public access to unsafe
ContextUtilsapi. Remove bincompat issue from 0.27.1. (#2072) - fix: When time rewinds, avoid throwing exceptions and crashing the disruptor thread. (#2071)
- feat: Make TracerImpl public for OpenTelemetry migration. (#2064)
Note: no binary available for 0.28.2
- feat: Add Support for Opencensus to OpenTelemetry migration (#2059)
Breaking change: ContextUtils is no longer public
- Remove finalize from RecordEventsSpanImpl (#2043)
- deps: update protobuf (#2029)
- Update release versions for all readme and build files. (#2028)
- deps: update Guava to 29.0 (#2032)
- Add more InstanaExporterHandler tests (#2014)
- feat: Allow users to specify a metric display name prefix, separately from the metric name prefix (#2050)
- feat: Allow users to register the same Meter multiple times without exception (#2017)
- update gRPC (#2024): Since gRPC v1.27.0, census dependency is removed from grpc-core. A grpc-census artifact now exists to provide interceptor/stream tracer factory that applies census stats/tracing features. For users not using gRPC’s integration of census, nothing should be affected. Users who want census integration need to add grpc-census artifact to runtime classpath.
- deps: update GSON (#2025)
- deps: update auth libraries (#2023)
- update guava (#2018)
- Add an experimental artifact
opencensus-contrib-observability-ready-util, that allows users to use OpenCensus easily.
- Remove
CONTEXT_SPAN_KEYandTAG_CONTEXT_KEYfrom API. This will be a breaking change to those who depend on these two keys, but anyone except gRPC shouldn't use it directly anyway.
- Make
StackdriverStatsExporter.unregister()a public API. - Add support spring plugin for http servlet and AsyncRestTemplate.
- Increase the buffer size for the trace export batch to 2500 (previously it was 32).
- Disable RunningSpanStore by default unless the z-pages contrib is linked and initialized. This may break behaviors for applications that rely on this to be always enabled.
- Provide a
Deadlineoption to Stackdriver Trace exporter. Default value is 10 seconds if it's not set. - Provide a
Deadlineoption to Stackdriver Stats exporter. Default value is 10 seconds. Also provide aMetricServiceStuboption so that advanced users can use a custom Stackdriver Monitoring client to make RPCs. - Use
Configurationbuilder pattern for creatingJaegerTraceExporter,ZipkinTraceExporterandInstanaTraceExporter. Provide aDeadlineoption with default value 10 seconds. - Provide a
Deadlineoption to Datadog, Elasticsearch and OcAgent exporter. Default value is 10 seconds. - Extract the common timeout logic of Trace exporters to
opencensus-exporter-trace-util.
- Add HTTP text format serializer to Tag propagation component.
- Support constant labels in Gauge APIs.
- Add an option to allow users to override the default "opencensus_task" metric label in Stackdriver Stats Exporter.
- Allow setting custom namespace in Prometheus exporter.
- Add Cumulative (
DoubleCumulative,LongCumulative,DerivedDoubleCumulative,DerivedLongCumulative) APIs. - Add convenience APIs
TagContextBuilder.putLocal()that adds non-propagating tags, andTagContextBuilder.putPropagating()that adds unlimited propagating tags. - Deprecate context keys for tags and spans. Provide helper methods for interacting with context.
- Add OpenCensus Java OC-Agent Trace Exporter.
- Add OpenCensus Java OC-Agent Metrics Exporter.
- Add config option for Http-Servlet.
- Add config option for Jetty Http Client.
- Modified default value to false for publicEndpoint property in Http-Servlet.
- Add a generic
AttachmentValueclass to supportExemplar. - Add Elasticsearch Trace Exporter.
- Add
metrics.datapackage to hold common classes shared between stats and metrics. - Refactor
ExemplarandAttachmentValueto be undermetrics.data. Note that this is a breaking change if you're using theExemplarclasses or APIs in the previous releases. - Add
TagMetadatathat defines the properties associated with aTag. - Add
QueueMetricProducerthat supports pushing and bufferingMetrics.
- Add an artifact
opencensus-contrib-http-jetty-clientfor instrumenting jetty http client. Add extractor for Jetty Client. - Add an artifact
opencensus-contrib-http-servletsfor instrumenting http servlets. Add extractor for Http Servlets. - Add support generic http server handler.
- Add support for generic http client handler.
- Add ability to filter metrics collected from Dropwizard registry.
- Add an util artifact opencensus-contrib-dropwizard5 to translate Dropwizard metrics5 to OpenCensus.
- Add metrics util package to be shared by all metrics exporters.
- Add Datadog Trace Exporter.
- Set the
trace_sampledfield in the StackdriverLogEntryprotocol buffer inopencensus-contrib-log-correlation-stackdriver. - Add support for w3c/distributed-tracing propagation format.
- Add gRPC measures and views for real-time metrics in streaming RPCs.
- Add Summary Metric support for Stackdriver exporter.
- Reduce CPU usage for low qps applications.
- Add
AttributeValueDoubletoAttributeValue. - Add
createWithSendertoJaegerTraceExporterto allow use ofHttpSenderwith 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_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-log4j2andopencensus-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.
- 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.
- 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 aTraceServiceStubinstance to be used for export RPC calls. - Add an experimental artifact,
opencensus-contrib-log-correlation-log4j2, for adding tracing data to Log4j 2 LogEvents.
- Improve propagation performance by avoiding doing string formatting when calling checkArgument.
- Expose the factory methods of MonitoredResource.
- Add an experimental artifact,
opencensus-contrib-log-correlation-stackdriver, for correlating traces and logs with Stackdriver Logging.
- 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.
- Map http attributes to Stackdriver format (fix #1153).
- Fix a typo on displaying Aggregation Type for a View on StatsZ page.
- Set bucket bounds as "le" labels for Prometheus Stats exporter.
- 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. - 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().
- Substitute non-ascii characters in B3Format header key.
- Upgrade disruptor to include the fix for SleepingWaitStrategy causing 100% CPU.
- Fix performance issue where unused objects were referenced by the Disruptor.
- Fix synchonization issue in the use of the Disruptor.
- Rename trace exporters that have inconsistent naming. Exporters with legacy names are deprecated.
- Fixed bug in CloudTraceFormat that made it impossible to use short span id's.
- Add
sinceJavadoc tag to all APIs. - Add a configuration class to create StackdriverTraceExporter.
- Add MessageEvent and deprecate NetworkEvent.
- Instana Trace Exporter.
- Prometheus Stats Exporter.
- Stats Zpages: RpcZ and StatsZ.
- Dependency updates.
- Fixed bug that made it impossible to use short span id's (#950).
- Add TextFormat API and two implementations (B3Format and CloudTraceFormat).
- Add helper class to configure and create StackdriverStatsExporter.
- Add helper methods in tracer to wrap Runnable and Callbacks and to run them.
- Increase trace exporting interval to 5s.
- Add helper class to register views.
- Make stackdriver stats exporter compatible with GAE Java7.
- Add SignalFX stats exporter.
- Add http propagation APIs.
- Dependency updates.
- Add NoopRunningSpanStore and NoopSampledSpanStore.
- Change the message event to include (un)compressed sizes for Tracez Zpage.
- Use AppEngine compatible way to create threads.
- Add new factory methods that support setting custom Stackdriver MonitoredResource for Stackdriver Stats Exporter.
- Dependency updates.
- Fix several implementation bugs in Stackdriver Stats Exporter (#830, #831, etc.).
- Update length limit for View.Name to 255 (previously it's 256).
- Initial stats and tagging implementation for Java (
impl) and Android (impl-lite). This implements all the stats and tagging APIs since v0.8.0. - Deprecate Tags.setState and Stats.setState.
- Add a setStatus method in the Span.
- OpenCensus Stackdriver Stats Exporter.
- OpenCensus Stackdriver Trace Exporter is updated to use Stackdriver Trace V2 APIs.
- Dependency updates.