opentelemetry-java/sdk_extensions
Terry (Tianyu) Wang 373fbf4a2e
Implemented base zPages classes and TraceZ zPage (#1380)
* Implemented a span processor for the TraceZ zPage

* Implemented aggregation logic for running and latency based spans,
summary table generation with running span logic

* Implemented aggregation logic for error based spans

* Finished implementation of TraceZ zPage summary table

* Finished implementation of HttpHandler, HttpServer, and TraceZ zPage

* Refactored the sdk_contrib folder to follow updated syntax

* Removed duplicate function

* Changed inline base64 images

* Fixed copyright statement

* Modified the TracezSpanProcessor to only allow for a limited number of completed spans (#17)

* Modified the TracezSpanProcessor to only allow for a limited number of completed spans

* Renamed count functions and reduced logic in addToBucket

* Fixed typos and turned SpanProcessor and DataAggregator to package private

* Separated SpanBuckets and LatencyBoundaries from TracezDataAggregator

* Switched to PrintStream, removed bufferWritter, removed factory and changed to package private constructor, added documentation for getTracerzHandler behavior, and other small fixes

* Fixed package name

* Changed way of registering handlers, changed atomicBoolean to final, removed unnecessary lock

* Changed registerTracezZPageHandler to package private

* Fixed javadoc styling and wording

* Added constants for splitters, changed httpserver to compileOnly dependency

* Removed FQNs from backend files

* Removed style errors

* Updated TracezSpanProcessor to maintain a set of span names incrementally

* Added visibleForTesting tag, adjusted HTML expression

* Removed unused functions in the data aggregator

* Made TracezSpanBuckets thread-safe

* Changed test to use Mockitorule, removed unnecessary Formatter, unrolled attribute value

* Changed test with @Mock to use Mockito test runner

* Renamed LatencyBoundaries to LatencyBoundary and cleaned up code

* Replaced the EvictingQueue with a faster SpanBucket class and modified checks in TracezDataAggregatorTest

* Addressed additional comments

* Migrated images to resources, used logger to log errors, and other minor fixes

* Moved a variable to within a class in TracezZPageHandler

* Removed printStackTrace, added test for query parameter

* Changed logger to static field, used log method to log detailed stackTrace

* Made minor fixes

* Resolved unmodifiable list error with getOkSpans and getErrorSpans

* Changed map @Mock to empty map, added more test

* Changed test runner

Co-authored-by: williamhu99 <wilhu@google.com>
Co-authored-by: William Hu <32604217+williamhu99@users.noreply.github.com>
2020-07-15 08:51:29 -07:00
..
async_processor Start using real java8 in tests. (#1352) 2020-06-18 09:09:28 -07:00
auto_config Rename contrib to extensions (#1335) 2020-06-17 16:51:14 +02:00
aws_v1_support support container id in AWS ECS plugin (#1384) 2020-07-01 10:26:52 -07:00
jaeger_remote_sampler update errorprone, grpc and autovalue (#1403) 2020-07-12 07:56:44 -07:00
otproto Rename contrib to extensions (#1335) 2020-06-17 16:51:14 +02:00
testbed Use lambda references where possible (#1355) 2020-06-18 11:54:14 -07:00
zpages Implemented base zPages classes and TraceZ zPage (#1380) 2020-07-15 08:51:29 -07:00