Age | Commit message (Collapse) | Author |
|
* Add dropwizard metrics producer
* Use Summary Type
* Fix reviews
* Fix reviews
|
|
|
|
|
|
* Contrib: Add opencensus-contrib-opencensus-proto-util.
* Update CHANGELOG.
|
|
|
|
log4j2. (#1411)
This commit renames the artifact to opencensus-contrib-log-correlation-log4j2
and renames the package to io.opencensus.contrib.logcorrelation.log4j2. The
name change emphasizes that the artifact only works with Log4j 2 and allows us
to add support for other versions of Log4j in the future.
|
|
* Initial import of OpenCensus/Sleuth integration.
* Minor fixes for integration with master.
* Adds a README.
* Removes hardcoded dependencies in build file.
* Adds contrib to spring_sleuth file path.
* Updates package names appropriately based on file renames.
* Fixes build paths.
* Fixes for build checks.
* Mark as experimental.
* Minor fixes for build files (space vs tab).
* Minor fixes for build files (space vs tab).
* Update README to absolve Spring Sleuth team of any responsibility for this spring_sleuth plugin.
* Minor fixes for import control (space vs tab).
* Tag public classes @since 0.16
* Adds javadoc for public methods not already documented.
* Updates OpenCensusSleuthTracer to pass nullness checks.
* Fixes for formatting issues.
* Fixes for typos.
* Suppresses the check return value warning added by gRPC.
* Suppresses the check return value warning added by gRPC.
|
|
This commit takes the approach of implementing Log4j's ContextDataInjector. It
inserts three keys into each log event: "`openCensusTraceId`", "`openCensusSpanId`",
and "`openCensusTraceSampled`". The tracing data can be accessed with
LogEvent.getContextData() or included in a layout. See
https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/ContextDataInjector.html.
Here is an example of a pattern layout that includes all three tracing fields
and a log entry that could be produced by the layout:
Pattern layout:
"`%d{HH:mm:ss.SSS} [%t] traceId=%X{openCensusTraceId} spanId=%X{openCensusSpanId} sampled=%X{openCensusTraceSampled} %-5level %logger{36} - %msg%n`"
Log entry:
"`20:45:52.929 [main] traceId=0af7a7bef890695f1c5e85a8e7290164 spanId=d3f07c467ec2fbb2 sampled=true WARN io.opencensus.contrib.logcorrelation.log4j.demo.OpenCensusLog4jLogCorrelationDemo - my log message`"
The ContextDataInjector implementation must be specified with a system property,
i.e.,
"`-Dlog4j2.contextDataInjector=io.opencensus.contrib.logcorrelation.log4j.OpenCensusTraceContextDataInjector`".
The system property
"`io.opencensus.contrib.logcorrelation.log4j.OpenCensusTraceContextDataInjector.spanSelection`"
controls whether tracing data is added to all spans, no spans, or only sampled spans.
|
|
* Metrics: Move to api.
* Update package-info to warn users on using metrics.
|
|
|
|
|
|
* Stats: Add attachment key for TraceId and SpanId.
* Move the keys to an independent artifact and add methods for encoding.
* Add this change to CHANGELOG.
* Update description and tests.
* Have one method that takes SpanContext instead of two.
* Rename method to putSpanContextAttachments.
|
|
* Include opencensus-metrics in settings.gradle.
* Add LabelKey and LabelValue.
* Improve unit tests.
* Use Nullable string value for LabelValue. Null value indicates unset.
* Remove hasValue().
|
|
The demo project will be moved to
https://github.com/census-ecosystem/opencensus-experiments.
|
|
|
|
* Move Metrics to a separate artifact.
* Fix review comments.
* Update one TODO about the naming of the artifact.
|
|
|
|
Move monitored resource detection utils to a separate artifact, so that it can be reused by both Stackdriver Monitoring and Stackdriver Trace.
|
|
* Add git-ignores.
* Add traces exporter to Jaeger (+tests).
* Add string tag with events' description to Jaeger exporter (+tests).
* Add integration test for Jaeger exporter (manually run).
|
|
* Cleanup benchmarks and test both impl and impl-lite.
* Fix comments.
|
|
* Implement Prometheus Stats exporter
* Add PromethuesStatsExporter README to releasing update list
* Made some special strings as constants.
* Simplify registration of Prometheus collector
* Add javadoc for data model conversions. Add @since.
|
|
|
|
* Add http propagation APIs.
* Add an API in `PropagationComponent` for B3 format access.
* Add contrib-http-util, with initial SD format support.
|
|
* SignalFx stats exporter
This commit implements a stats exporter that sends stats as metrics to
SignalFx (https://signalfx.com). It is modeled on the Stackdriver stats
exporter in that it uses a background worker thread that periodically
inspects all the views and constructs datapoints to send to SignalFx for
their corresponding metric timeseries (identified by the view name as
metric name, and tag key/value pairs as dimensions).
* Review feedback (squash me)
* More review feedback (squash me)
* Use a configuration builder pattern (squash me)
* Fixes for checker framework compliance (squash me)
* Review feedback (squash me)
* Remove support for AggregationWindow.Interval (squash me)
|
|
|
|
* Move directories: core_impl to impl_core, core_impl_java to impl, core_impl_android to impl_lite.
|
|
* Add a StackDriver exporter for stats
* Update to match our recent API changes
* Update to use current version of Mockito
* Run formatter
* Improve comments
* Add a TODO to remove exporter.registerView
* A few renaming
|
|
|
|
|
|
|
|
This commit moves RpcMeasureConstants.java and RpcViewConstants.java into the
new library so that they are no longer part of the core API. The new library is
called opencensus-grpc-rpc-constants. It isn't enabled for release yet.
|
|
This adds `ZipkinExporter` which allows you to report traces to Zipkin.
By default, this uses http, but it can also work with Kafka, SQS, etc
as you can override the `Sender`.
|
|
* Add a new artifact for gRPC utility classes for instrumentation.
* Add code conversion and fix readme.
* Enable exporting to maven for grpc_util.
* Use Code for gRPC not CanonicalCode.
|
|
javadocs only for public APIs. (#578)
|
|
* Add a Stackdriver trace exporter using V1 Stackdriver Trace API.
* Change to use google cloud java for the Stackdriver Client.
* Fix more comments.
* Few fixes in the README.
|
|
|
|
* Add initial implementation of the tracez page.
* Fix HTML when premature return. Add DOCTYPE and charset.
* URLEncode the given spanName.
* Build zpages only for java8.
* Move Tester->ZPagesTester, add tests for query parsing.
* Fix more comments.
|
|
* Move logging exporter into an independent package.
* Change package to opencensus-trace-logging-exporter
|
|
* Add the *OpenCensus Agent for Java* to the build process.
* Moved agent to contrib/agent/ (was agent/).
|
|
|
|
|
|
|
|
the directory names.
|
|
* Move VarInt to core_impl and change the package name.
* Suppress warnings in VarInt.java.
|
|
* Rename gradle subprojects name to match the directories name. Change the api jar name to match the maven artifact. Update gradle projects name in travis.
|
|
(#292)
|
|
* Set correct source and target in gradle for java7 and java8 artifacts.
* Build instrumentation-java8 and instrumentation-benchmark artifacts only if java8 is available.
|
|
This directory structure will allow us to support the three Java versions but
also take advantage of the features available in each one. Each directory has a
readme.
I refactored the stats code so that there is one StatsManagerImpl for each of
Android, Java 7, and Java 8. StatsManagerImpl is loaded with reflection, and it
specifies the stats classes that should be used for the implementation. I also
moved DisruptorEventQueue to core_impl_java, since it isn't Android-compatible.
This commit doesn't affect tracing.
|
|
* Remove proto sub-module and related rules in settings.gradle and build.gradle.
|
|
name as the main directory. (#169)
|