|
1 | 1 | ## Unreleased
|
2 | 2 |
|
3 |
| -- Tweak credit card regex handling for OTP-28 ([#898](https://github.com/getsentry/sentry-elixir/pull/898)) |
| 3 | +This release comes with a beta support for Traces using OpenTelemetry - please test it out and report any issues you find. |
| 4 | + |
| 5 | +### New features |
| 6 | + |
| 7 | +- Beta support for Traces using OpenTelemetry ([#902](https://github.com/getsentry/sentry-elixir/pull/902)) |
| 8 | + |
| 9 | + To enable Tracing in your Phoenix application, you need to add the following to your `mix.exs`: |
| 10 | + |
| 11 | + ```elixir |
| 12 | + def deps do |
| 13 | + [ |
| 14 | + # ... |
| 15 | + {:sentry, "~> 11.0.0"}, |
| 16 | + {:opentelemetry, "~> 1.5"}, |
| 17 | + {:opentelemetry_api, "~> 1.4"}, |
| 18 | + {:opentelemetry_exporter, "~> 1.0"}, |
| 19 | + {:opentelemetry_semantic_conventions, "~> 1.27"}, |
| 20 | + {:opentelemetry_phoenix, "~> 2.0"}, |
| 21 | + {:opentelemetry_ecto, "~> 1.2"}, |
| 22 | + # ... |
| 23 | + ] |
| 24 | + ``` |
| 25 | + |
| 26 | + And then configure Tracing in Sentry and OpenTelemetry in your `config.exs`: |
| 27 | + |
| 28 | + ```elixir |
| 29 | + config :sentry, |
| 30 | + # ... |
| 31 | + traces_sample_rate: 1.0 # any value between 0 and 1.0 enables tracing |
| 32 | + |
| 33 | + config :opentelemetry, span_processor: {Sentry.OpenTelemetry.SpanProcessor, []} |
| 34 | + config :opentelemetry, sampler: {Sentry.OpenTelemetry.Sampler, []} |
| 35 | + ``` |
| 36 | + |
| 37 | +### Various improvements |
| 38 | + |
4 | 39 | - Add installer (based on Igniter) ([#876](https://github.com/getsentry/sentry-elixir/pull/876))
|
5 | 40 |
|
| 41 | +### Various improvements |
| 42 | + |
| 43 | +- Tweak credit card regex handling for OTP-28 ([#898](https://github.com/getsentry/sentry-elixir/pull/898)) |
| 44 | + |
6 | 45 | # Changelog
|
7 | 46 |
|
8 | 47 | ## 10.10.0
|
|
0 commit comments