Skip to content

Commit

Permalink
all the snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbayer committed Jun 4, 2024
1 parent d97f11e commit 41379d3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion relay-event-schema/src/protocol/span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,11 +453,11 @@ mod tests {
"timestamp": 0.0,
"start_timestamp": -63158400.0,
"exclusive_time": 1.23,
"description": "desc",
"op": "operation",
"span_id": "fa90fdead5f74052",
"trace_id": "4c79f60c11214eb38604f4ae0781bfb2",
"status": "ok",
"description": "desc",
"origin": "auto.http",
"measurements": {
"memory": {
Expand Down
2 changes: 1 addition & 1 deletion relay-event-schema/src/protocol/span/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ mod tests {
timestamp: ~,
start_timestamp: ~,
exclusive_time: 123.4,
description: "my 1st transaction",
op: "myop",
span_id: SpanId(
"fa90fdead5f74052",
Expand All @@ -264,6 +263,7 @@ mod tests {
),
is_segment: true,
status: Ok,
description: "my 1st transaction",
tags: ~,
origin: "manual",
profile_id: EventId(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 2000.0,
description: ~,
op: "app.start.cold",
span_id: SpanId(
"bd429c44b67a3eb4",
Expand All @@ -24,6 +23,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: ~,
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -60,7 +60,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: ~,
op: "ui.load.initial_display",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -72,6 +71,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: ~,
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -185,7 +185,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: "Cold Start",
op: "app.start.cold",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -197,6 +196,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: "Cold Start",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -235,7 +235,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: "Custom Op",
op: "custom.op",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -247,6 +246,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: "Custom Op",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -282,7 +282,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: "io.sentry.android.core.SentryPerformanceProvider.onCreate",
op: "contentprovider.load",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -294,6 +293,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: "io.sentry.android.core.SentryPerformanceProvider.onCreate",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -331,7 +331,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: "io.sentry.samples.android.MyApplication.onCreate",
op: "application.load",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -343,6 +342,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: "io.sentry.samples.android.MyApplication.onCreate",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -380,7 +380,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: "io.sentry.samples.android.MainActivity.onCreate",
op: "activity.load",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -392,6 +391,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: "io.sentry.samples.android.MainActivity.onCreate",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -480,7 +480,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: "Process Initialization",
op: "process.load",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -492,6 +491,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: "Process Initialization",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -578,7 +578,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: "somebackup.212321",
op: "file.read",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -590,6 +589,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: "somebackup.212321",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -628,7 +628,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: "www.example.com",
op: "http.client",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -640,6 +639,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: "www.example.com",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down Expand Up @@ -728,7 +728,6 @@ expression: "(&event.value().unwrap().spans, metrics)"
2020-08-21T02:18:20Z,
),
exclusive_time: 3000.0,
description: "www.example.com",
op: "http.client",
span_id: SpanId(
"bd429c44b67a3eb2",
Expand All @@ -740,6 +739,7 @@ expression: "(&event.value().unwrap().spans, metrics)"
segment_id: ~,
is_segment: ~,
status: ~,
description: "www.example.com",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down
2 changes: 1 addition & 1 deletion relay-server/src/metrics_extraction/transactions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,6 @@ mod tests {
2020-08-21T02:18:20Z,
),
exclusive_time: 2000.0,
description: "<OrganizationContext>",
op: "react.mount",
span_id: SpanId(
"bd429c44b67a3eb4",
Expand All @@ -655,6 +654,7 @@ mod tests {
segment_id: ~,
is_segment: ~,
status: ~,
description: "<OrganizationContext>",
tags: ~,
origin: ~,
profile_id: ~,
Expand Down
2 changes: 1 addition & 1 deletion relay-spans/src/span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,6 @@ mod tests {
1970-01-01T00:02:03Z,
),
exclusive_time: 500.0,
description: ~,
op: "myop",
span_id: SpanId(
"fa90fdead5f74052",
Expand All @@ -618,6 +617,7 @@ mod tests {
),
is_segment: ~,
status: Ok,
description: ~,
tags: ~,
origin: ~,
profile_id: EventId(
Expand Down

0 comments on commit 41379d3

Please sign in to comment.