| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
| | |
|
| | |
|
| |
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
| |
* 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)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
* Exclude javadoc for internal package add Internal annotation to the internal package.
* Add internal annotation in core_impl, move @Internal in common.
|
| |
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
Including instrumentation-java-core-impl-java-7,
instrumentation-java-core-impl-java-8, and
instrumentation-java-core-impl-android in all/build.gradle caused the Gradle
javadoc command to throw a NPE because there were multiple StatsManagerImpls.
|
| | |
|
| |
|
|
| |
name as the main directory. (#169)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change the trace API to directly depend on the Context implementation.
Other changes in this PR:
Enable maven tests for core (common and trace).
Make trace tests in core to compile with java6.
Reasons to change to directly use the io.grpc.Context API:
We would need to have a different API that allows users to pass the generic context between threads and via Executors (similar with io.grpc.Context).
io.grpc.Context is an API the Storage is decoupled and can be backed by any mechanism not necessary thread-local.
Support for Deadline and Cancellation is a nice to have.
Other products may already support propagation of the io.grpc.Context.
It would have been very hard to make binaries work correctly when they have libraries that are using io.grpc.Context and libraries that are using something different.
|
|
|
* Add support for gradle to build the instrumentation-java.
* Change the version to 0.4.0-SNAPSHOT.
|