aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-02Make metrics compatible with the current proto definition. (#1479)Bogdan Drutu
* Make metrics compatible with the current proto definition. * Fix minor comments from the review. * Fix @Nullable.
2018-10-01Uptade since tag for the entire metrics package. (#1478)Bogdan Drutu
2018-09-30Split the public metrics API from the data model. (#1477)Bogdan Drutu
* Split the public API from the data model. * Small comment added about registration of the MetricProducer.
2018-09-27Update dependencies. (#1474)Yang Song
* Update gradle plugin versions. * Update Gogle Cloud and Auth versions.
2018-09-26Exporter/OCAgent: Add OcAgentNodeUtils. (#1471)Yang Song
* 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.
2018-09-25Update releasing (#1472)Bogdan Drutu
Remove unsafe way to give permissions.
2018-09-24Exporter/OCAgent: Move TraceProtoUtils to exporter. (#1470)Yang Song
2018-09-24Exporter: Start adding OC-Agent Trace Exporter. (#1455)Yang Song
2018-09-24Avoid using LinkedList and remove couple SuppressWarnings. (#1469)Bogdan Drutu
2018-09-24 Monitored Resource: replace gke_container with k8s_container in SD exporter ↵Mayur Kale
(#1467) * Monitored Resource: replace gke_container with k8s_container in SD exporter * remove instance_id from trace k8s_container * Add CHANGELOG
2018-09-22Split SpanImpl into record/notrecord span impl to avoid checks of recording ↵Bogdan Drutu
all time. (#1468) * Split SpanImpl into record/notrecord span impl to avoid checks of recording all time. * Remove one extra SuppressWarnings.
2018-09-21Avoid 3 allocs, one builders and two objects when startSpan. (#1466)Bogdan Drutu
2018-09-20Update .gitignore (#1463)Yang Song
2018-09-20Contrib: Add opencensus-contrib-opencensus-proto-util. (#1459)Yang Song
* Contrib: Add opencensus-contrib-opencensus-proto-util. * Update CHANGELOG.
2018-09-20Improve tests for OpenCensusTraceContextDataInjector. (#1422)sebright
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().
2018-09-20Travis: Temporarily disable JDK 9 build. (#1461)Yang Song
2018-09-18Common: Add an API Functions.returnToString(). (#1443)Yang Song
* Common: Add an API Functions.returnToString(). * Fix comments and add tests.
2018-09-18Update a typo in CHANGELOG. (#1454)Yang Song
2018-09-18Update release version for Bazel build files. (#1457)sebright
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.
2018-09-18Update release versions for all readme and build files. (#1452)sebright
2018-09-18Update changelog for 0.16.1 release. (#1451)sebright
2018-09-18Pass a preconfigured HttpSender to the trace exporter (#1444)Ashwin Chandrasekar
* Pass a preconfigured HttpSender to the trace exporter * Add createWithSender to changelog
2018-09-17Update links to Log4j log correlation demo. (#1439)sebright
2018-09-17Fix ClassCastException in opencensus-contrib-log-correlation-log4j2. (#1437)sebright
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.
2018-09-17allow arbitrary metric prefixes (#1440)Mayur Kale
2018-09-17Tracing: Add AttributeValueDouble. (#1442)Yang Song
Also update Trace exporters and ZPages, and fix a few typos.
2018-09-15Update changelog for 0.16.0 release. (#1438)sebright
2018-09-15Update release versions for all readme and build files. (#1435)sebright
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.
2018-09-14Update directory names in RELEASING.md. (#1434)sebright
Some directory names were changed, so the list of readmes in RELEASING.md needed to be updated.
2018-09-14Revert "Temporarily move "metrics" package into impl_core/ for release. ↵Yang Song
(#1426)" (#1432) This reverts commit d3fa0e5c60903f95c184d7c7bafae8fdd12156ad.
2018-09-14Update release instructions for new Github branch protection rules. (#1430)sebright
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.
2018-09-14Start 0.17.0 development cycle (#1429)sebright
2018-09-14Add opencensus-contrib-log-correlation-log4j2 to the list of released ↵sebright
artifacts. (#1415) This commit also updates the changelog.
2018-09-14Improve implementation of OpenCensusTraceContextDataInjector. (#1413)sebright
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.
2018-09-12Make LowerCaseBase16Encoding package protected. (#1427)Bogdan Drutu
2018-09-12Temporarily move "metrics" package into impl_core/ for release. (#1426)sebright
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.
2018-09-11Make jmh available for all subprojects. (#1425)Bogdan Drutu
2018-09-09Avoid using internal org.apache.logging.log4j.core.impl package. (#1421)sebright
This commit adds the internal package to import-control.xml and removes the use of org.apache.logging.log4j.core.impl.ThreadContextDataInjector.
2018-09-07Fix a memory reference issue caused by the fact that we always append a new ↵Bogdan Drutu
value. (#1420) * Fix a memory reference issue caused by the fact that we allways appended a new value. * Add Nullable annotations.
2018-09-07Stackdriver log correlation: Use lowercase c in "openCensusTraceSampled" ↵sebright
field. (#1418) This change is consistent with the change to Log4j log correlation context key names in #1414.
2018-09-07Change spring-sleuth package to include version. (#1417)Bogdan Drutu
2018-09-06Log4j log correlation: Capitalize "opencensus" as one word in context key ↵sebright
names. (#1414) For example, this commit renames "openCensusTraceId" to "opencensusTraceId".
2018-09-06Update opencensus-contrib-log-correlation-log4j2 artifact/package names in ↵sebright
readme. (#1416) This commit is a continuation of #1411.
2018-09-06Added ability to specify a custom gRPC stub for the stackdriver exporter (#1410)Steven Niemitz
2018-09-06Rename opencensus-contrib-log-correlation-log4j artifact/package to use ↵sebright
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.
2018-09-06Checker Framework: 2.5.4 -> 2.5.5 (#1412)sebright
2018-09-05Spring sleuth (#1378)Dino Oliva
* 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.
2018-09-05Contrib/agent: detach() should take the context returned from attach(). (#1409)Yang Song
* 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.
2018-09-04Stackdriver log correlation: Improve description of library stability. (#1406)sebright
This change is similar to a change made to Log4j log correlation: https://github.com/census-instrumentation/opencensus-java/pull/1402#discussion_r213934235
2018-09-04Log4j log correlation: Add unit tests for handling configuration properties. ↵sebright
(#1405)