John Watson
931ad5b723
Properly shutdown tracer providers synchronously via close() ( #2828 )
...
* Properly shutdown tracer providers synchronously via close()
Resolves #2825
* formatting
2021-02-17 10:39:19 +09:00
John Watson
0960999d62
Set the default propagators if none are specified. ( #2827 )
2021-02-16 16:30:05 -08:00
Anuraag Agrawal
29140bdf7b
Add docs for autoconfiguration options. ( #2812 )
...
* Add docs for autoconfiguration options.
* Better docs
* quickstart
2021-02-17 09:23:25 +09:00
Anuraag Agrawal
1a10c83506
Default exporters to OTLP per spec. ( #2811 )
2021-02-15 12:37:37 +09:00
Anuraag Agrawal
e4886283a7
Migrate sdk-extensions to kts. ( #2814 )
2021-02-15 12:21:10 +09:00
Anuraag Agrawal
9ee2bdddee
Update ottrace env var value. ( #2813 )
2021-02-12 07:56:42 -08:00
Anuraag Agrawal
4670252e20
Move AwsXrayPropagator to extension artifact. ( #2771 )
2021-02-09 11:36:58 +09:00
Carlos Alberto Cortez
73d17911e4
Rename OtTracerPropagator to OtTracePropagator. ( #2718 )
...
* Rename OtTracerPropagator to OtTracePropagator.
* fix
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-02-08 18:23:01 +09:00
John Watson
e7fcbb7e46
Move the parsing of the otel.resource.attributes into an SPI impl ( #2713 )
2021-02-04 18:35:05 -08:00
Anuraag Agrawal
b8c5acd3ff
Rename TraceConfig -> SpanLimits and move to upper package. ( #2686 )
2021-02-04 09:10:05 +09:00
John Watson
04ae15da36
update the trace-related env vars to match the spec ( #2677 )
2021-02-03 11:35:05 +09:00
Bogdan Drutu
301a29d7a3
Move labels outside of the stable package ( #2647 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-02 10:24:06 -08:00
Anuraag Agrawal
4a7e94e2dc
Use duration parser in autoconfiguration. ( #2608 )
2021-01-29 10:25:06 -08:00
Josh Suereth
5c45bc1ae4
Add a Duration parser for configuration. ( #2439 )
...
* Add a Duration parser for autoconfigure helpers.
- Create a new `getDuration()` method that reads configuration properties as "duration strings"
- Add a utiility parser for extraction of `{number}{unit}` type configuration values.
- Add a parser for `{unit}` strings that convert to a time unit (millis, seconds, minutes, hours, days)
- Update unit tests.
* Update sdk-extensions/autoconfigure/src/main/java/io/opentelemetry/sdk/autoconfigure/ConfigProperties.java
* Public / docstring consistency
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-01-29 15:45:43 +09:00
John Watson
d66135c625
Enable auto-configuration of custom, named span exporters. ( #2595 )
...
* Enable auto-configuration of custom, named span exporters.
* Update sdk-extensions/autoconfigure/src/main/java/io/opentelemetry/sdk/autoconfigure/spi/ConfigurableSpanExporterProvider.java
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
* simplify the test for the configuration a bit
* Update the javadoc a bit.
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
2021-01-27 17:21:53 -08:00
Anuraag Agrawal
32a63fb8e3
Migrate to using gradle platform to manage dependency versions instea… ( #2586 )
...
* Migrate to using gradle platform to manage dependency versions instead of global variables.
* Remove unused and fix test
* Revert test yolo
* Workaround test ordering issue by just merging them
* Spot
2021-01-27 13:54:58 +09:00
Anuraag Agrawal
15fcadd8d7
Move Sampler to SdkTracerProvider ( #2585 )
...
* Move Sampler to SdkTracerProvider
* Better zpages
* Test
2021-01-26 20:32:49 -08:00
John Watson
90574a3134
enable auto-configuring the logging metrics exporter ( #2580 )
...
* enable auto-configuring the logging metrics exporter
* fix the class name for the metrics exporter
* extract a method for configuring the IMR
2021-01-26 12:53:12 -08:00
Anuraag Agrawal
6dd4db3b0c
Allow setting trusted certificate variable. ( #2569 )
...
* Allow setting trusted certificate variable.
* Merge
2021-01-25 13:29:06 +09:00
John Watson
5dd187ed28
a few missed updates to remove _MILLIS to the BSP configs ( #2574 )
2021-01-22 14:55:36 -08:00
John Watson
d516879084
remove the `millis` from the BSP config options ( #2568 )
2021-01-21 20:29:29 -08:00
John Watson
2afae7b024
Reverse the direction of the Resource.merge ( #2542 )
2021-01-20 08:10:07 -08:00
John Watson
66ca483ede
Generate the ResourceAttributes class ( #2540 )
...
* Generate the ResourceAttributes class
* deprecate the old one
* convert usages to the new one
* re-use the template with some special logic for the addition
* deprecate the old resource attributes in the wrong class
2021-01-19 23:02:11 -08:00
Anuraag Agrawal
6dc33fe634
Register global in autoconfigure ( #2552 )
...
* Register global in autoconfigure
* Spot
2021-01-19 08:21:48 -08:00
Anuraag Agrawal
af546a42df
Set autoconfigure release to alpha. ( #2551 )
2021-01-19 07:50:07 -08:00
Anuraag Agrawal
cd1dbe5395
Use endpoint scheme in OTLP exporters ( #2536 )
...
* Use endpoint scheme in OTLP exporters
* Tests with authy authority
2021-01-17 14:15:00 +09:00
Anuraag Agrawal
6bee59e912
Remove OpenTelemetry SPI ( #2504 )
2021-01-14 11:35:41 +09:00
Anuraag Agrawal
efd559f1e0
Update exporter environment variable to latest spec's singular forms. ( #2499 )
...
* Update exporter environment variable to latest spec's singular forms.
* Fix!
* Use check per test-sets recommendation
* Missed one more
2021-01-13 13:46:26 +09:00
Bogdan Drutu
a6d2047b23
Implement MetricProducer directly by the SdkMeterProvider ( #2489 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-12 14:51:05 -08:00
Anuraag Agrawal
1fc179e546
Add a PropagatorProvider for custom propagators with autoconfiguration. ( #2475 )
...
* Add a PropagatorProvider for custom propagators with autoconfiguration.
* Dedupe / comment
* ConfigurablePropagatorProvider
* Comment
* doc
2021-01-12 15:06:29 +09:00
John Watson
f1f9cbccc1
Set the default traceidratio to 1.0 when it is not specified ( #2476 )
2021-01-11 12:30:45 -08:00
Anuraag Agrawal
620969556f
Cleanup OTLP exporter timeout settings. ( #2446 )
...
* Cleanup OTLP exporter timeout settings.
* error prone
2021-01-09 15:32:20 +09:00
Bogdan Drutu
72dd37b757
Extract Builder as a top-level class ( #2469 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-01-08 15:39:50 -08:00
Anuraag Agrawal
62251dd3d2
Accept TimeUnit and Duration for BSP values instead of forcing millis. ( #2444 )
...
* Accept TimeUnit and Duration for BSP values instead of forcing millis.
* Test invalid
* Clean
2021-01-08 11:44:51 -08:00
Anuraag Agrawal
4b8a0c8591
Add TraceConfig.builder() ( #2445 )
2021-01-07 10:02:53 -08:00
Anuraag Agrawal
e749f2b262
Add autoconfiguration wrapper artifact ( #2401 )
...
* Add autoconfiguration wrapper artifact
* WIP
* WIP
* WIP
* WIP
* WIP
* Mostly done
* Propagator classpath
* Finish
* Cleanup
* Cleanup
* Not visible
* Update sdk-extensions/autoconfigure/src/main/java/io/opentelemetry/sdk/autoconfigure/ConfigProperties.java
Co-authored-by: John Watson <jkwatson@gmail.com>
* More merge
Co-authored-by: John Watson <jkwatson@gmail.com>
2021-01-07 12:02:09 +09:00