aboutsummaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2017-11-13Enable PrivateConstructorForUtilityClass Error Prone warning.Kristen Kozak
This commit also adds some private constructors to utility and example classes.
2017-11-09 Move implementation directories (#786)Yang Song
* Move directories: core_impl to impl_core, core_impl_java to impl, core_impl_android to impl_lite.
2017-11-03Add gradle plugin for google java format. Enforce all files to be formatted. ↵Bogdan Drutu
(#771) * Add gradle plugin for google java format. Enforce all files to be formatted. * Fix javadoc comments. * update to google-java-formatter 1.5 * Fix comments and run formatter only for java8. * Formatter works only on java8.
2017-10-31Rename StatsRecord to MeasureMap (#757)Yang Song
2017-10-25Remove support for multiple tag types.Kristen Kozak
This commit removes the class hierarchies for TagKey, TagValue, and Tag. The three classes are now concrete AutoValue classes that use Strings for keys and values. The serialization format isn't affected, because it already only supported string tags.
2017-10-23Rename StatsBuilder to StatsRecord.Kristen Kozak
This commit also renames StatsRecorder.newStatsBuilder to newRecord and StatsRecorder.newStatsBuilderWithExplicitTagContext to newRecordWithExplicitTagContext.
2017-10-23Rename StatsRecorder.builder to newStatsBuilder.Kristen Kozak
2017-10-23Move MeasureMap from the API to the implementation.Kristen Kozak
2017-10-23Move stats and tags packages to opencensus-api to prepare for release. (#723)sebright
2017-10-23Add instructions how to use zpages examples. (#722)Bogdan Drutu
2017-09-19Refactor MeasureMap.Builder (#636)Yang Song
* Rename MeasureMap.set to put * Overwrite existing Measure values
2017-09-16Rename TagContexts to Tagger (fixes #588).Kristen Kozak
2017-09-13Rename TagContextBuilder.set methods to "put".Kristen Kozak
"put" is a more descriptive name, since these methods behave like Map.put. The name is also more consistent with Span.putAttribute.
2017-08-29Fix zpages readme and add helper function that starts a server. (#570)Bogdan Drutu
2017-08-29Merge pull request #564 from sebright/tag-value-classsebright
Add a TagValue class.
2017-08-28Rename the package for exporters to match the artifact name. (#566)Bogdan Drutu
2017-08-28Rename zpage package to match the artifact name. (#567)Bogdan Drutu
2017-08-28Add a Stackdriver trace exporter using V1 Stackdriver Trace API. (#554)Bogdan Drutu
* 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.
2017-08-25Update StatsRunner for new tagging API.Kristen Kozak
2017-08-25Add a TagValue class.Kristen Kozak
This commit adds TagValue, which can represent a String, long, or boolean tag value. It replaces Object as the type for representing tag values in ViewData. TagValue is an abstract class with three subclasses, similar to TagKey and Tag. It provides a 'match' method for accessing the contained value. TagValueString is now a subclass of TagValue instead of an independent, top-level class.
2017-08-25Update README for zpages configuration. Add a generic class that registers ↵Bogdan Drutu
all Handlers. (#555) * Update README for zpages configuration. Add a generic class that registers all Handlers. * renames and more tests. * Update FAQ section in README. * Fix second round of comments
2017-08-24Cleanup LoggingExporter. (#553)Bogdan Drutu
2017-08-24Rename contrib projects. (#551)Stefan Schmidt
2017-08-23Change the licence to OpenCensus authors. (#539)Bogdan Drutu
2017-08-16Add initial implementation of the tracez page. (#517)Bogdan Drutu
* 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.
2017-08-14Replace original tag classes with classes in the tags package.Kristen Kozak
I removed all of the original tag classes and tests. There are still a few things that need to be done after this commit: - The tags package doesn't have a class to represent a tag value yet, so I used Object instead of TagValue in the ViewData API. - There are no methods for manipulating the current TagContext yet, since #498 hasn't been merged. I couldn't update StatsRunner, so I temporarily commented most of it out. - We need to add a StatsRecorder.record method that uses the current context.
2017-07-11Add Scope as interface for NonThrowingCloseables that work with current context.Kristen Kozak
This interface allows users to write a shorter, more descriptive type name when using scoped tags or spans.
2017-07-06Rename Measure and Measurement subclasses. (#414)Yang Song
2017-07-06Refactor MeasurementValue and MeasurementMap (#405)Yang Song
2017-07-05Move logging exporter into an independent package. (#416)Bogdan Drutu
* Move logging exporter into an independent package. * Change package to opencensus-trace-logging-exporter
2017-07-04Mark benchmark variables to be final. Add javadoc for main argument. (#409)Bogdan Drutu
2017-07-03Change tracer API names to create a SpanBuilder. (#407)Bogdan Drutu
2017-06-30Refactor MeasurementDescriptor. (#396)Yang Song
* Refactor MeasurementDescriptor. * Remove Measure.Name class for now.
2017-06-30Change API to remove the "Option" logic and keep only Builder. (#380)Bogdan Drutu
2017-06-22Change examples to use runtime dependency on implementations. (#383)Bogdan Drutu
2017-06-22Fix Tracing method name to get ExportComponent (#382)Bogdan Drutu
2017-06-16Move stats classes to io.opencensus.stats.Kristen Kozak
The stats classes are still in different directories from tracing, so they won't be included in the next release.
2017-06-16Move TestClock in opencensus-testing package. (#368)Bogdan Drutu
2017-06-13Add README.md for examples, change all reference to Instrumentation to ↵Bogdan Drutu
OpenCensus. (#354)
2017-06-07Split TraceExporter class into ExportComponent and all the sub-components in ↵Bogdan Drutu
an export package. (#332)
2017-06-06Move internal & common & trace to the new package io.opencensus (#339)Bogdan Drutu
2017-06-01Update stats example to use APIs in StatsContextFactory. (#330)Yang Song
2017-05-13Change the interface of Logging service to enforce that maximum one instance ↵Bogdan Drutu
is registered at any moment. Change examples to use the logging service exporter. (#301)
2017-05-13Fix the examples application. (#300)Bogdan Drutu
2017-05-12Rename gradle subprojects name to match the directories name. (#298)Bogdan Drutu
* 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.
2017-05-10Remove java7/8 directories. Currently we do not need any feature from java8. ↵Bogdan Drutu
(#292)
2017-04-27Update other build files for core_impl split.Kristen Kozak
2017-04-14Add a new class Trace which holds the global state for the trace ↵Bogdan Drutu
implementation. (#201) * Add a new class Tracing which holds the global state for the trace component. * Update names of the classes and comments. TraceService -> TraceComponent and Trace -> Tracing. * Make all methods in TraceComponent abstract to allow dependency injection.
2017-04-13Run google java formatter on the tracing. (#205)Bogdan Drutu
2017-03-28Add build rule for examples to generate executable binaries. Fix javadoc ↵Bogdan Drutu
errors in examples. (#175)