Age | Commit message (Collapse) | Author |
|
* Make metrics compatible with the current proto definition.
* Fix minor comments from the review.
* Fix @Nullable.
|
|
|
|
* Split the public API from the data model.
* Small comment added about registration of the MetricProducer.
|
|
* Update gradle plugin versions.
* Update Gogle Cloud and Auth versions.
|
|
* Exporter/OCAgent: Add OcAgentNodeUtils.
Add utilities for detecting and creating Node.
Equivalent to
https://github.com/census-ecosystem/opencensus-go-exporter-ocagent/blob/master/nodeinfo.go.
* Fix nullness checker.
* Use a local VERSION string in OC-Agent Exporter.
|
|
Remove unsafe way to give permissions.
|
|
|
|
|
|
|
|
(#1467)
* Monitored Resource: replace gke_container with k8s_container in SD exporter
* remove instance_id from trace k8s_container
* Add CHANGELOG
|
|
all time. (#1468)
* Split SpanImpl into record/notrecord span impl to avoid checks of recording all time.
* Remove one extra SuppressWarnings.
|
|
|
|
|
|
* Contrib: Add opencensus-contrib-opencensus-proto-util.
* Update CHANGELOG.
|
|
This commit adds unit tests for
OpenCensusTraceContextDataInjector.rawContextData(). It also makes several
other minor improvements to the Log4j log correlation tests:
- Puts TestSpan in a separate file for reuse.
- Explicitly sets the SpanSelection in tests, where possible.
- Simplifies the tests by calling ReadOnlyStringMap.toMap().
|
|
|
|
* Common: Add an API Functions.returnToString().
* Fix comments and add tests.
|
|
|
|
This commit also sets the version of the com.google.guava:guava-jdk5 artifact in
the generate_workspace command and removes the
com_fasterxml_jackson_core_jackson_core dependency from BUILD.bazel.
|
|
|
|
|
|
* Pass a preconfigured HttpSender to the trace exporter
* Add createWithSender to changelog
|
|
|
|
Fixes #1436.
Log4j's SortedArrayStringMap can contain Object values, but
`SortedArrayStringMap.getValue` has signature `<V> V getValue(String key)` and
unsafely casts the Objects to type `V`. When the OpenCensus ContextDataInjector
returned a SortedArrayStringMap, and then a Log4j ContextMapLookup looked up
values as Strings to insert them into log entries
(https://github.com/apache/logging-log4j2/blob/fa27894c13c3890e4ae545f6b6365ea2e159757c/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/ContextMapLookup.java#L58),
it resulted in a ClassCastException.
This commit fixes the ClassCastException by only inserting String values into
the Log4j SortedArrayStringMap.
|
|
|
|
Also update Trace exporters and ZPages, and fix a few typos.
|
|
|
|
This commit also updates the gRPC dependency to 1.13.1 in the
Maven and Gradle examples in order to resolve a dependency
conflict in the Maven build.
|
|
Some directory names were changed, so the list of readmes in RELEASING.md needed
to be updated.
|
|
(#1426)" (#1432)
This reverts commit d3fa0e5c60903f95c184d7c7bafae8fdd12156ad.
|
|
Now protected branches can be specified with a pattern, so we can protect all
release branches with one rule. See
https://help.github.com/articles/about-protected-branches/. There is no need to
enable branch protection when making a release.
|
|
|
|
artifacts. (#1415)
This commit also updates the changelog.
|
|
This commit improves the thread safety of OpenCensusTraceContextDataInjector by
following the thread safety requirements in the Javadocs of the overridden
methods from ContextDataInjector. It also handles the possibility of
ThreadContext.getThreadContextMap() returning null by adding a Nullable
annotation in a Checker Framework stub file and adding null checks to the code.
|
|
|
|
The "metrics" package isn't ready to be released yet, so this commit moves it
out of the API artifact. The package can still be accessed by the stats
implementation in impl_core/. This commit can be reverted once the package is
ready to be exposed. The moved package names also contain "temporary" so that
there is no possibility of class name conflicts between different versions of
opencensus-api and opencensus-impl-core. For example,
io.opencensus.metrics.export is renamed to
io.opencensus.implcore.temporary.metrics.export.
|
|
|
|
This commit adds the internal package to import-control.xml and removes the use
of org.apache.logging.log4j.core.impl.ThreadContextDataInjector.
|
|
value. (#1420)
* Fix a memory reference issue caused by the fact that we allways appended a new value.
* Add Nullable annotations.
|
|
field. (#1418)
This change is consistent with the change to Log4j log correlation context key
names in #1414.
|
|
|
|
names. (#1414)
For example, this commit renames "openCensusTraceId" to "opencensusTraceId".
|
|
readme. (#1416)
This commit is a continuation of #1411.
|
|
|
|
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.
|
|
* Contrib/agent: detach() should take the context returned from attach().
* Put a try...finally block after attach.
* Compare context and value in the main thread.
* Remove unnecessary check on context value.
|
|
This change is similar to a change made to Log4j log correlation: https://github.com/census-instrumentation/opencensus-java/pull/1402#discussion_r213934235
|
|
(#1405)
|