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

feat: custom apm #155

Draft
wants to merge 48 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
4490409
add basic instrumentation setup
buenaflor Apr 27, 2023
34c70d8
format
buenaflor Apr 27, 2023
265ebef
add transaction wrappers
buenaflor Apr 28, 2023
ad838ee
add span provider
buenaflor Apr 28, 2023
02286be
improvement
buenaflor May 2, 2023
9fbd4b6
Merge branch 'main' into feat/custom-transactions
buenaflor May 2, 2023
eb51730
remove dead code
buenaflor May 2, 2023
385f8ba
add basic setup for jvm
buenaflor May 2, 2023
a9c3bb4
add tracesSampler for apple
buenaflor May 2, 2023
7d15ad0
add tests
buenaflor May 3, 2023
71c8ba4
add tests and sample code
buenaflor May 4, 2023
d924a22
adjust boolean decision
buenaflor May 4, 2023
79a82bf
remove unnecessary code
buenaflor May 4, 2023
539d6bf
change doc of SpanContexT
buenaflor May 4, 2023
9f932e4
Merge branch 'main' into feat/apm
buenaflor Nov 23, 2023
a21eb17
Update providers
buenaflor Nov 23, 2023
50688e2
Fix test
buenaflor Nov 23, 2023
201eb34
Add comments
buenaflor Nov 23, 2023
9d59d28
Formatting
buenaflor Nov 23, 2023
d9d2cc8
Adjust tests
buenaflor Nov 23, 2023
71b7218
improve
buenaflor Nov 23, 2023
39acf70
improve
buenaflor Nov 23, 2023
e29cb9c
Format
buenaflor Nov 23, 2023
9d65233
Update demos
buenaflor Nov 23, 2023
7fc7469
Update CHANGELOG
buenaflor Nov 23, 2023
aaafa5e
Update API
buenaflor Nov 23, 2023
a29e638
Fix tests
buenaflor Nov 23, 2023
816f2df
Fix sample
buenaflor Nov 23, 2023
21dcc4b
Format code
getsentry-bot Nov 23, 2023
46dc594
Formatting
buenaflor Nov 23, 2023
3869b4b
Remove instrumenter
buenaflor Nov 23, 2023
645d4b1
Format
buenaflor Nov 23, 2023
b1c3b4e
Add more startTransaction methods
buenaflor Nov 24, 2023
41a4d4b
Update tests
buenaflor Nov 24, 2023
c58cfb0
Update sample
buenaflor Nov 24, 2023
3bf1246
apiDump
buenaflor Nov 24, 2023
a460bce
Update comment
buenaflor Nov 24, 2023
4738932
Remove unnecessary test
buenaflor Nov 24, 2023
122de2a
Merge branch 'main' into feat/apm
buenaflor Dec 4, 2023
2054042
Merge branch 'main' into feat/apm
buenaflor Dec 7, 2023
e43a09d
Merge branch 'main' into feat/apm
buenaflor Dec 7, 2023
c3cf0ba
Fix jvm api error
buenaflor Dec 7, 2023
417ce29
Format code
getsentry-bot Dec 7, 2023
590bb64
trigger ci
buenaflor Dec 7, 2023
264dcdb
Retrigger ci
buenaflor Dec 7, 2023
78d7ab1
Update provider to adapter
buenaflor Dec 11, 2023
b10efb0
Revert deps bump
buenaflor Dec 11, 2023
2b27001
Fix analyze
buenaflor Dec 11, 2023
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
remove dead code
  • Loading branch information
buenaflor committed May 2, 2023
commit eb5173087d0efab1506ec8238d1e56b12adbc5ac
Original file line number Diff line number Diff line change
@@ -65,7 +65,6 @@ internal actual object SentryBridge {

actual fun startTransaction(operation: String, description: String): Span {
val cocoaSpan = SentrySDK.startTransactionWithName(operation, description)

return CocoaSpanProvider(cocoaSpan)
}

Original file line number Diff line number Diff line change
@@ -46,8 +46,7 @@ internal fun JvmSentryOptions.applyJvmBaseOptions(options: SentryOptions) {
setBeforeBreadcrumb { jvmBreadcrumb, _ ->
options.beforeBreadcrumb?.invoke(jvmBreadcrumb.toKmpBreadcrumb())?.toJvmBreadcrumb()
}
setBeforeSend { jvmSentryEvent, hint ->
println("beforeSend: ${jvmSentryEvent.throwable}")
setBeforeSend { jvmSentryEvent, _ ->
if (options.beforeSend == null) {
jvmSentryEvent
} else {