opentelemetry-erlang-contrib/instrumentation
Guilherme de Maio 901b571b07
[opentelemetry_tesla] Conditionally override propagator (#176)
* Optionally disable trace propagation for Tesla

While we always want spans being produced, trace progation is not
desirable in all cases - namely, when calling external parties, as that
may leak sensitive information, like one present on Baggage.

This patch introduces a new option `:propagate`, that defaults to
`true`.

Some tweaks are made to existing propagation test, fixing how options
are used. The approach here is closer to what we see in some middleware
tests of Tesla itself.

* change to propagator override

* change propagator to it uses global default

* mix format

* improve docs

---------

Co-authored-by: Andrew Rosa <dev@andrewhr.io>
2023-05-29 04:53:21 -06:00
..
opentelemetry_cowboy propagator v0.2.2 (#158) 2023-03-17 10:36:26 -06:00
opentelemetry_dataloader Make exdocs settings a bit more similar between different packages (#168) 2023-04-30 12:10:03 -06:00
opentelemetry_ecto Bump version to 1.1.1 (#175) 2023-05-23 05:04:01 -06:00
opentelemetry_elli bump otel-elli version number (#74) 2022-03-28 10:13:13 -06:00
opentelemetry_finch Make exdocs settings a bit more similar between different packages (#168) 2023-04-30 12:10:03 -06:00
opentelemetry_grpcbox [grpcbox] bump version (#156) 2023-03-31 05:35:27 -06:00
opentelemetry_nebulex Make exdocs settings a bit more similar between different packages (#168) 2023-04-30 12:10:03 -06:00
opentelemetry_oban Make exdocs settings a bit more similar between different packages (#168) 2023-04-30 12:10:03 -06:00
opentelemetry_phoenix Make exdocs settings a bit more similar between different packages (#168) 2023-04-30 12:10:03 -06:00
opentelemetry_redix Make exdocs settings a bit more similar between different packages (#168) 2023-04-30 12:10:03 -06:00
opentelemetry_req Make exdocs settings a bit more similar between different packages (#168) 2023-04-30 12:10:03 -06:00
opentelemetry_tesla [opentelemetry_tesla] Conditionally override propagator (#176) 2023-05-29 04:53:21 -06:00