19 Commits

Author SHA1 Message Date
3137c1fa41 Upgrade black (#802) 2021-11-10 20:57:01 +00:00
224780f38d Move AWS X-Ray Propagator into its own package (#720)
Co-authored-by: Owais Lone <owais@users.noreply.github.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-10-12 15:44:03 +00:00
b8fe7fc7cd EKS Detector should return empty string, not resource if env var missing (#613)
* EKS Detector returns string if missing env var

* Update sdk-extension/opentelemetry-sdk-extension-aws/src/opentelemetry/sdk/extension/aws/resource/eks.py

Add return value typing to _get_cluster_name method

Co-authored-by: Aaron Abbott <aaronabbott@google.com>

Co-authored-by: Aaron Abbott <aaronabbott@google.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2021-08-13 17:14:41 -04:00
ebcdbdb660 Exit AWS ECS and EKS Detector container file reads early if container id found (#612) 2021-08-13 09:25:14 -07:00
1157eb294d Add AWS resource detectors to extension package (#586) 2021-07-23 15:57:23 -07:00
3a7eb5364c Make propagators conform to spec (#488)
* Make propagators conform to spec

* do not modify / set an invalid span in the passed context in case
  a propagator did not manage to extract
* in case no context is passed to propagator.extract assume the root
  context as default so that a new trace is started instead of continung
  the current active trace in case extraction fails
* fix also ot-trace propagator which compared int with str trace/span ids
  when checking for validity in extract
2021-05-31 09:35:28 -07:00
d89f865221 Sync with Make setters and getters optional (#372) 2021-03-26 10:20:01 -07:00
10a448ee75 move textmap propagators to opentelemetry.propagators (#355) 2021-03-02 16:47:29 -08:00
79809976d5 Rename DefaultSpan to NonRecordingSpan (#354) 2021-03-02 10:30:52 -08:00
1c8852f99e Rename IdsGenerator to IdGenerator (#350) 2021-02-26 14:56:30 -08:00
b3aa7a79d3 Update TraceState (#276) 2021-01-20 12:13:12 -08:00
e5a0153794 Add test case for DataDog fields and AWS SDK Extension (#231) 2020-12-11 12:48:01 -08:00
91bfc9afe5 Add performance tests to AWS SDK Extension (#243) 2020-12-11 11:22:17 -08:00
70b425a588 Add test to validate propagator fields method (#228) 2020-12-03 16:53:06 -08:00
c0a3ea96d9 Expose AWS Progagator variables and update readme 2020-11-09 15:01:17 -08:00
ea0988a26a Make AWS Propagator tests more readable 2020-11-09 14:51:32 -08:00
26db369ec9 Use an exception to catch inability to parse 2020-11-09 14:51:32 -08:00
ccb7a83922 More pythonic propagator + package clean up 2020-11-09 14:51:32 -08:00
c81995d0ce Add SDK Extension for Compatibility with AWS X-Ray 2020-11-09 14:51:30 -08:00