Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Traces/Transactions via Opentelemetry #784

Closed
wants to merge 53 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
ec16ca8
Support configurable DSN for phoenix test app
solnic Sep 24, 2024
f214b82
Initial work on OTel-based Transactions
solnic Sep 4, 2024
59f0c2b
Move SpanStorage to its own file
solnic Sep 25, 2024
025ec6e
Rename Sentry.Telemetry => Sentry.Opentelemetry
solnic Sep 25, 2024
f7fb086
Introduce SpanRecord to simplify processing
solnic Sep 25, 2024
ab82965
Move casting trace_id to the SpanRecord struct
solnic Sep 25, 2024
e953b26
Move casting of span ids to the SpanRecord struct
solnic Sep 25, 2024
2d97073
No need to pass trace_id around anymore
solnic Sep 25, 2024
91ef16f
Handle casting timestamps in the SpanRecord struct
solnic Sep 25, 2024
4f2e63b
Extract SpanRecord into its own file
solnic Sep 25, 2024
6e19f48
Remove redundant function
solnic Sep 25, 2024
fca71df
Move setting platform info to the Client
solnic Sep 25, 2024
2f62ce7
Extract setting root span context
solnic Sep 25, 2024
fc91ca7
Improve ecto span/transaction
solnic Sep 25, 2024
a79dbc3
Unify top-level ecto transactions and ecto spans
solnic Sep 25, 2024
e9b6ef5
Return full URL and status info in Phoenix transactions
solnic Sep 25, 2024
b8c0c86
Fix extracting span record when sentry is an external dep
solnic Sep 25, 2024
5883053
Support for liveview traces/spans
solnic Sep 26, 2024
3155116
Remove span records after sending a transaction
solnic Sep 26, 2024
d2e3669
Fix formatting
solnic Sep 26, 2024
23f7122
Fix formatting
solnic Sep 26, 2024
83180e6
Fix dialyzer warnings
solnic Sep 27, 2024
770c67e
More dialyzer fixes
solnic Sep 27, 2024
8d9e81d
Fix build for 1.16
solnic Oct 23, 2024
8bab636
Remove debugging statement
solnic Oct 23, 2024
72c7d98
Update lib/sentry/opentelemetry/span_processor.ex
solnic Oct 25, 2024
7061f3c
WIP - rework SpanStorage to use ETS
solnic Oct 28, 2024
631b824
Refactor span storage (#817)
savhappy Dec 6, 2024
3dd1a94
Add tests for Sentry.send_transaction
solnic Dec 9, 2024
aa9f5f5
Opentelemetry => OpenTelemetry
solnic Dec 9, 2024
6301fe5
Use SpanStorage alias in the test
solnic Dec 9, 2024
3e93cfa
Tests for SpanStorage
solnic Dec 9, 2024
b7eb637
Remove child spans from SpanStorage automatically
solnic Dec 9, 2024
70f8e61
Add sweeping of expired spans
solnic Dec 9, 2024
54d1f20
Make opentelemetry libs optional deps
solnic Dec 9, 2024
6788ad5
Fix tests under 1.13
solnic Dec 13, 2024
7b2fc02
Support Transaction in client reports
solnic Dec 13, 2024
4f3ada1
wip - initial work on oban support
solnic Dec 13, 2024
1856faa
wip - add a UI for testing Oban workers
solnic Dec 13, 2024
6c2d80c
Refactor OTel (#835)
danschultzer Dec 18, 2024
b7b1dc6
Update dep specs for opentelemetry_*
solnic Dec 18, 2024
10224eb
[tmp] use opentelemetry_oban from git
solnic Dec 18, 2024
f67446e
Fix warning in get_op_description
solnic Dec 18, 2024
4a175a9
Fix formatting
solnic Dec 18, 2024
d2f88a2
Refine how we set values for Oban jobs
solnic Dec 18, 2024
469b5cd
Extend the test worker UI with auto-scheduling
solnic Dec 18, 2024
9c59d36
Filter out Oban internal traces
solnic Dec 18, 2024
0832054
Oops, fix filtering Oban Stager spans
solnic Dec 18, 2024
01fcd87
Address dialyzer warning (I think)
solnic Dec 18, 2024
4c32d87
Set sdk version dynamically
solnic Dec 19, 2024
9b4d700
Fix client report data category for transactions
solnic Dec 20, 2024
7ad38bb
Add Sentry's Sampler for OTel
solnic Dec 20, 2024
a808377
Remove conditional we longer need
solnic Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set sdk version dynamically
Co-authored-by: Dan Schultzer <1254724+danschultzer@users.noreply.github.com>
solnic and danschultzer committed Dec 27, 2024
commit 4c32d870d726e9e2da7c8cf1f5dce42e21983726
2 changes: 1 addition & 1 deletion lib/sentry/client.ex
Original file line number Diff line number Diff line change
@@ -290,7 +290,7 @@ defmodule Sentry.Client do
platform: "elixir",
sdk: %{
name: "sentry.elixir",
version: "10.7.1"
version: Application.spec(:sentry, :vsn)
}
})
end