Bogdan Drutu
02b5e08ac6
Update proto to include the latest changes ( #988 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-10 18:10:13 +01:00
Bogdan Drutu
b737392d79
Small fixes in Jaeger exporter. ( #983 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-10 05:36:07 -07:00
Bogdan Drutu
40e4091d41
Rename otprotocol module to otlp ( #982 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-09 16:51:05 -07:00
Bogdan Drutu
4c7072a1e4
Add javadoc link to all readmes ( #981 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-09 14:32:22 -07:00
Bogdan Drutu
2080fe196c
Remove generic usage in the metrics API ( #956 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-09 14:31:55 -07:00
Bogdan Drutu
bb6d4cb02d
Move otproto utils from exporter to a contrib sdk package ( #980 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-09 13:02:35 -07:00
Carlos Alberto Cortez
1d913cb639
Initial relocation of ContextUtils classes. ( #904 )
...
* Initial relocation of ContextUtils classes.
Now they will live within the child `propagation` package,
with a prefix based on their cross-cutting concern, to be
referenced easily.
2020-03-08 18:34:46 +01:00
Bogdan Drutu
54be683aa0
Update proto submodule to the latest commit ( #975 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-07 22:04:30 -08:00
Uladzislau Kiva
e15e6d3259
name method's according to return value ( #974 )
...
* refactor: name method's according to return value and https://github.com/open-telemetry/opentelemetry-java/blob/master/QUICKSTART.md#tracing
* refactor: name method's according to return value and https://github.com/open-telemetry/opentelemetry-java/blob/master/QUICKSTART.md#tracing-sdk-configuration
* refactor: name method's according to return value and https://github.com/open-telemetry/opentelemetry-java/blob/master/QUICKSTART.md#tracing
2020-03-07 11:06:21 -08:00
John Watson
6ca3d1deaf
Add missing thread safety & immutable annotations in the API. ( #972 )
2020-03-06 20:02:09 +01:00
Carlos Alberto Cortez
96ee305798
Make sure to shutdown the exporter when the processor is shut down. ( #966 )
2020-03-05 19:57:56 +01:00
Bogdan Drutu
ed98c35c05
Plugin default aggregation for measure, add tests, stresstests ( #961 )
2020-03-04 21:28:07 -05:00
Bogdan Drutu
01189f34c9
Add private ctor for singleton classes. ( #957 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-04 11:53:59 -08:00
Bogdan Drutu
a395039e4f
Add default service provider for CorrelationContextManager. ( #960 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-04 10:38:31 -08:00
Bogdan Drutu
b20edbe043
Update the gradle distro for the jaeger example. ( #959 )
...
And, make sure the gradlew is executable.
2020-03-04 10:20:08 -08:00
Bogdan Drutu
e824c45bdd
Implement collectAll for observers, need to still install default aggregation ( #952 )
...
* Implement collectAll for observers, need to still install default aggregation
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Move result callbacks as inner classes.
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-04 13:13:10 -05:00
David Barda
f6638bfd63
Update distributedcontext to correlationcontext ( #955 )
2020-03-03 16:19:29 -05:00
Carlos Alberto Cortez
26a4070d90
Remove Binary format and related members. ( #891 )
2020-03-03 08:47:41 -05:00
John Watson
bd6c6fc91f
Very minor cleanup to change the logging exporters to use string-interpolated logging. ( #954 )
2020-03-02 10:26:30 -08:00
Bogdan Drutu
06dfd95f99
Finish implementation for Aggregation.lastValue and add tests. ( #938 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-01 11:46:31 -08:00
John Watson
cd4d4ca1f4
A very simple logging metric exporter ( #951 )
...
* A very simple logging exporter for metrics.
* add comments about what we're testing.
* follow the rules
2020-03-01 11:27:58 -08:00
Uladzislau Kiva
43b59451ab
refactor: name method's according to return value and https://github.com/open-telemetry/opentelemetry-java/blob/master/QUICKSTART.md#tracing ( #953 )
2020-02-29 08:28:26 -08:00
John Watson
d5b0f8d816
Rename the exporter in preparation for creating one for metrics. ( #950 )
2020-02-28 14:05:02 -08:00
John Watson
c1811ee38d
Add in the aggregation for minMaxSumCount aggregations. ( #949 )
2020-02-28 13:45:40 -08:00
Bogdan Drutu
e06d254f9e
Add MetricProducer for OpenTelemetry metrics SDK ( #945 )
...
* Add MetricProducer for OpenTelemetry metrics SDK
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Move MetricProducerSdk to MeterSdkProvider as a privet class
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-28 13:24:16 -08:00
Bogdan Drutu
56719f02b6
Update InMemoryTracing to use builder, and limit the public API. ( #947 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-28 12:44:49 -08:00
John Watson
a21adeb45f
Add aggregators for double & long MinMaxSumCount aggregations ( #943 )
...
* Add aggregators for double & long MinMaxSumCount aggregations
* use the count to signal un-set min/max values
* make the aggregator constructors private; use the factories for access
* simplify the merge and reset
* early return & fix the default double values.
2020-02-28 10:30:47 -08:00
Bogdan Drutu
07f5622508
Fix indentation in quickstart, move configuration after usage example. ( #936 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-27 15:42:39 -08:00
Bogdan Drutu
c80d7f7a76
Small cleanups in async processor ( #934 )
...
* Small cleanups in async processor
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Customize the log messages for different actions happening after shutdown
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-27 15:42:01 -08:00
Bogdan Drutu
ecf7067a14
Add collectAll method to the Meter and MeterProvider ( #942 )
...
* Add collectAll method to the Meter and MeterProvider
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Minor fixes from the review.
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-27 15:02:13 -08:00
Bogdan Drutu
dc68060ddd
Plugin the InstrumentRegistry and register all created instruments ( #941 )
...
* Plugin the InstrumentRegistry and register all created instruments
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Update comments, use instrument equals.
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-27 11:38:35 -08:00
Pontus Rydin
bce734c2bd
Added SpanExporterFactory and Config ( #912 )
2020-02-27 20:33:05 +01:00
Bogdan Drutu
85a54f546e
Add a first implementation for LastValue aggregator for Observers ( #937 )
...
* Add a first implementation for LastValue aggregator for Observers
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Fix issue when last value aggregation has no records.
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-27 09:41:32 -08:00
John Watson
2afb61dccc
Add summary metric data type ( #940 )
...
* Add a double-valued summary type of MetricData.
* Add a test, rename some classes
2020-02-26 17:10:30 -08:00
Bogdan Drutu
9eeeb3da0c
Avoid calling processors that do not require an event. ( #935 )
...
* Avoid calling processors that do not require an event.
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Add tests for NoopSpanProcessor
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-26 12:10:58 -08:00
Bogdan Drutu
f8c55c199f
Add minimal benchmarks for Counter instruments ( #932 )
...
* Add minimal benchmarks for Counter instruments
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Update sdk/src/jmh/java/io/opentelemetry/sdk/metrics/DoubleCounterSdkBenchmark.java
Co-Authored-By: Armin Ruech <armin.ruech@gmail.com>
Co-authored-by: Armin Ruech <armin.ruech@gmail.com>
2020-02-26 09:46:55 -08:00
Giovanni Liva
c4537e0d67
Block Disruptor until flush is performed ( #913 )
...
* Block disruptor until flush is performed
* Fix format
* Fix test
* Single enqueue method
* General cleanup
* Refactor shutdown/forceFlush
2020-02-26 09:01:39 -08:00
Giovanni Liva
84fee45281
Quick Start guide ( #869 )
...
* Add initial description and configuration details
* QuickStart - First draft
* Wording
* Update QUICKSTART.md
Co-Authored-By: Armin Ruech <armin.ruech@dynatrace.com>
* Update QUICKSTART.md
Co-Authored-By: Armin Ruech <armin.ruech@dynatrace.com>
* Add quick start to readme.
* Apply suggestions of @jkwatson
* Address feedback of @arminru
* Fix example
* Address review comments
* Use opentelemetry website
Co-authored-by: Armin Ruech <armin.ruech@gmail.com>
2020-02-25 16:49:17 -08:00
Bogdan Drutu
06ebc99c42
Add a minimal implementation for BatchRecorder ( #921 )
...
* Add a minimal implementation for BatchRecorder
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Add null check and test
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-24 16:24:51 -08:00
Bogdan Drutu
4705b250cc
Add an InstrumentRegistry that tracks all created Instruments ( #907 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-24 15:25:24 -08:00
Bogdan Drutu
1f202a95ea
Cleanup jmh and trace context benchmarks ( #920 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-24 13:56:58 -08:00
Bogdan Drutu
8c9f928340
Remove the exclusion of TestExceptionRefactoring from errorprone config. ( #919 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-24 11:36:35 -08:00
Bogdan Drutu
30e3bc8c63
Fix build after race condition between PRs merge ( #917 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-24 11:31:00 -08:00
Bogdan Drutu
5a09b818d9
More gradle cleanups ( #910 )
...
* More gradle cleanups, separate jmh and jmhreport config
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Remove the need to includ jmhreport
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Only projects with the plugin maven-publish will be published
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-24 09:58:04 -08:00
John Watson
f37f5dc8ac
Make the HttpTraceContext be more forgiving in the face of invalid data. ( #899 )
2020-02-24 18:38:46 +01:00
Bogdan Drutu
c802811971
Return SDK builders in the MeterSdk to avoid casting in tests ( #909 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-21 14:03:00 -08:00
Giovanni Liva
073ece13b8
Implementing ForceFlush for SpanProcessor ( #882 )
...
* first implementation of ForceFlush
* Update sdk/src/main/java/io/opentelemetry/sdk/trace/SpanProcessor.java
Co-Authored-By: John Watson <jkwatson@gmail.com>
* Rename flush -> shutdown. Add test
* Better wording in Javadoc
Co-authored-by: John Watson <jkwatson@gmail.com>
2020-02-21 11:27:18 -08:00
Bogdan Drutu
2ebb3ef352
Add stress tests for counters ( #890 )
...
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-21 10:39:18 -08:00
Bogdan Drutu
a148263597
Switch to use pluginManagement, Use gradle plugin for jmh. ( #903 )
...
* Switch to use pluginManagement, Use gradle plugin for jmh.
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Fix jmh report
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Use ' for the moment for plugin ids in main gradle
2020-02-21 10:19:51 -08:00
Giovanni Liva
24e470522d
Use AttributeValue in Resources ( #883 )
...
* Introduce ResourceValue
* Reuse AttributeValue for ResourceValue
* Constant resource value as AttributeValue
* ./gradlew goJF
* Rebase
2020-02-21 10:15:15 -08:00