Giovanni Liva
945eed2046
readEnvironment->readEnvironmentVariables ( #1236 )
2020-05-18 07:39:47 -07:00
John Watson
d9aeb2fdca
Add a couple of tests for cases that weren't previously covered ( #1232 )
2020-05-15 17:48:04 -07:00
Bogdan Drutu
39f7954b4e
Add implementation for UpDownSumObservers ( #1224 )
...
* Add implementation for UpDownSumObservers
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix minor nits in tests
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-15 13:34:43 -07:00
Bogdan Drutu
317ccbc393
Add API for UpDownSumObservers ( #1220 )
...
* Add API for UpDownSumObservers
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix minor nits
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix more nits
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-15 12:07:12 -07:00
John Watson
d3768b24be
Move the span operations inside the scope in the http server example ( #1227 )
...
* Move the span operations inside the scope, to show better idiomatic usage of the API.
* rename parameter
* update to start the span before it is added to the scope
* properly parent the newly created span.
2020-05-15 11:29:20 -07:00
Armin Ruech
9091bc4296
Update owners in readme ( #1226 )
...
as per #1222 and #1223
2020-05-15 09:22:16 -07:00
Giovanni Liva
a99a571e7a
Unify config api ( #1217 )
...
* BatchSpanProcessor
* SimpleSpanProcessor
* package-info
* Expand variable names
2020-05-15 09:06:42 -07:00
Bogdan Drutu
019c4dbe19
Add a Builder in the SynchronousInstrument ( #1221 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-15 09:06:08 -07:00
Bogdan Drutu
1a420e111d
Proposal: Add @thisthat as an approval ( #1223 )
2020-05-15 16:43:30 +02:00
Bogdan Drutu
465baf3200
Remove inactive approval ( #1222 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-15 16:06:50 +02:00
John Watson
d7f6d5a641
Extract SpanData to an interface ( #1218 )
...
* Extract SpanData to an interface.
* Move the inner link and event classes to the top level and rename for consistency.
* clean up a few errant references to the impl
* use the right annotation
* move the Link and Event back into the SpanData and give them simple names.
2020-05-14 18:10:38 -07:00
Bogdan Drutu
f9c054c3c5
Remove absolute property from measure ( #1219 )
...
* Remove absolute property from measure
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix tests
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-14 12:25:55 -07:00
Bogdan Drutu
47b449ef1a
Add CounterUpDown implementation in the SDK ( #1201 )
...
* Add CounterUpDown implementation in the SDK
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Always unbind a bound instrument, even if an exception is thrown
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-13 11:55:40 -07:00
Bogdan Drutu
fcd627d717
Rename observers, cleanup comments ( #1215 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-13 11:43:07 -07:00
Bogdan Drutu
e67fe84c60
Add API for UpDownCounter ( #1210 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-13 10:00:09 -07:00
Bogdan Drutu
5b625d2e1f
Avoid unnecessary public classes. ( #1211 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-13 08:20:32 -07:00
Bogdan Drutu
5b31c5ae0c
Remove monotonic property from counters ( #1208 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-12 16:43:47 -07:00
Bogdan Drutu
ba772a7a7f
Ensure the total number of attributes is counted correctly ( #1207 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-12 16:31:30 -07:00
John Watson
450d4a8f80
Update the examples to work with 0.5.0-SNAPSHOT ( #1206 )
2020-05-12 14:01:08 -07:00
Bogdan Drutu
5dff1b9165
Remove unnecessary throws statements ( #1205 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-12 10:54:16 -07:00
Bogdan Drutu
7aec1aee71
More minor cleanups in the code ( #1204 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-12 10:00:51 -07:00
Bogdan Drutu
4d2f6cc91d
Cleanup names in metrics and ensure consistency with specs ( #1202 )
...
* Cleanup names in metrics and ensure consistency with specs
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Rename SyncInstrument to SynchronousInstrument
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update api/src/main/java/io/opentelemetry/metrics/SynchronousInstrument.java
Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
2020-05-12 09:50:02 -07:00
Giovanni Liva
b7510761db
Fix remove attributes from span after termination ( #1203 )
...
* Fix remove attributes from span after termination
* Remove attribute in the same synchronized block
* Simplify tests
2020-05-12 09:42:45 -07:00
Bogdan Drutu
528d51878d
Add instrument type and value type to InstrumentDescriptor ( #1200 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-12 09:33:00 -07:00
Bogdan Drutu
bcacf39a9c
Apply intelij inspect suggestions for Java code ( #1196 )
...
* Apply intelij inspect suggestions for Java code
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix comments.
2020-05-11 16:54:39 -07:00
Giovanni Liva
cd041c9d30
Fix getTracerLower behavior ( #1193 )
...
* Fix getTracerLower behavior
* Add test for negative trace representation
2020-05-11 11:21:14 -07:00
Giovanni Liva
fc911235d2
Add system/env vars and properties configuration for Metric classes ( #1168 )
...
* Add configuration to IntervalMetricReader
* Add configuration to OTLP
* Add documentation
* Fix year copyright
* Removing Jaeger from javadoc
* 0.4.0 -> 0.5.0
2020-05-10 08:21:55 -07:00
Uladzislau Kiva
506b36b1be
Bom generation ( #1192 )
...
* build: using external boms
* feat: bom generation
2020-05-10 07:38:56 -07:00
jarebudev
18466c3de0
add end to end test for zipkin exporter ( #1176 )
...
* add zipkin-junit dependency, moved jaeger-client test dependency to trace_propagators as only required there
* added end to end test for the zipkin exporter
* removed typo
* tidied up dependency declaration
* added local method to build zipkin span to aid readability
* extracted timestamps into constants and use consistent form
2020-05-08 10:17:07 -07:00
John Watson
414ddb05fa
Make the ZipkinSpanExporter public, so it can actually be used. ( #1186 )
2020-05-07 14:57:56 -07:00
Bogdan Drutu
217dca7bf0
Memoized the result of Resource.hashCode to optimize grpc mapping ( #1185 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-07 14:13:57 -07:00
Bogdan Drutu
4d80fa2b8e
Add tests for the shortcut versions ( #1184 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-07 08:44:25 -07:00
Bogdan Drutu
1082e107e0
Update changelog to reflect released changes ( #1183 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-07 08:12:31 -07:00
John Watson
c930d13788
Add a MetricExporterFactory so auto-instrumentation can use SPI to load an exporter. ( #1180 )
2020-05-06 11:30:49 -07:00
Gregor Zeitlinger
ebcd508a88
add shortcut methods to get tracers and meters ( #1159 )
...
* add shortcut methods to get tracers and meters
* add shortcut methods to get tracers and meters
* add shortcut methods to get tracers and meters
* add shortcut methods to get tracers and meters
2020-05-06 11:30:33 -07:00
Armin Ruech
19d7e03572
Fix typo in OpenTelemetry.getTracerProvider ( #1179 )
2020-05-06 08:48:41 -07:00
jarebudev
9cf374220b
moved jaeger_client dependency from all to trace_propagators ( #1177 )
2020-05-05 15:57:40 -07:00
Armin Ruech
f3ed548901
Extend bug report template ( #1175 )
2020-05-05 15:50:22 +02:00
Bogdan Drutu
d97880637d
Start 0.5.0 development cycle ( #1173 )
2020-05-04 14:01:26 -07:00
Uladzislau Kiva
121aa3307b
build: using external boms ( #1172 )
2020-05-04 11:15:30 -07:00
Bogdan Drutu
4c6f32b747
Add template for feature request ( #1171 )
...
I know that I did create a branch on this repo, but the github UI helped me created this template and I did not have other option. Thanks for understanding
2020-05-04 10:15:21 -07:00
Bogdan Drutu
d9669c1416
Add template for bug reporting ( #1170 )
...
I know that I did create a branch on this repo, but the github UI helped me created this template and I did not have other option. Thanks for understanding
2020-05-04 08:43:55 -07:00
Carlos Alberto Cortez
7577ef217c
Update the QUICKSTART with more metrics. ( #1167 )
...
* Update the QUICKSTART with more metrics.
* Use CPU usage for the Observer example.
2020-05-04 08:38:36 -07:00
Bogdan Drutu
12fa581795
Move CODEOWNERS to .github ( #1169 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-04 08:34:39 -07:00
Bogdan Drutu
1eb551bc77
Update changlog to reflect already released changes ( #1166 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-04 08:14:24 -07:00
David Barda
8090640c1a
Extracted Extractor and Injector code from B3Propagator ( #1133 )
...
* Split B3Propagator functionality to two helper classes B3PropagatorExtractor & B3PropagatorInjector
* Fix copyright header 2019 -> 2020
* Changed some classes/methods modifiers
* Changed some classes/methods modifiers
2020-05-03 09:27:47 -07:00
Simon Leigh
531d00ee5b
Ignore the parent span id when invalid ( #1165 )
...
Setting the parent span id on a span if it is invalid causes errors in the OpenTelemetry Collector.
The parent span should not be set on a span when it is exported if the span id is invalid.
Fixes #1164
2020-05-03 07:23:14 -07:00
John Watson
b323adf050
Add some clarifying javadoc to the ConfigBuilder class. ( #1163 )
2020-05-02 00:18:34 +02:00
Bogdan Drutu
f7334d176d
Fix build on master. ( #1162 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-01 13:14:16 -07:00
Trask Stalnaker
79d664fc10
Prevent casting to TraceProviderSdk ( #1152 )
...
* Prevent casting to TraceProviderSdk
* Fix javadoc
* Parameterize Obfuscated interface
2020-05-01 12:12:12 -07:00