Skip to content

Commit 87efbdb

Browse files
committed
Include span events in request.
1 parent 3c9a586 commit 87efbdb

File tree

3 files changed

+94
-0
lines changed

3 files changed

+94
-0
lines changed

sdk/highlight-run/src/client/graph/generated/operations.ts

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,27 @@ export type InitializeSessionMutation = {
437437
matchValue?: any | null
438438
}
439439
}> | null
440+
events?: Array<{
441+
__typename?: 'SpanEventMatchConfig'
442+
name?: {
443+
__typename?: 'MatchConfig'
444+
regexValue?: string | null
445+
matchValue?: any | null
446+
} | null
447+
attributes?: Array<{
448+
__typename?: 'AttributeMatchConfig'
449+
key: {
450+
__typename?: 'MatchConfig'
451+
regexValue?: string | null
452+
matchValue?: any | null
453+
}
454+
attribute: {
455+
__typename?: 'MatchConfig'
456+
regexValue?: string | null
457+
matchValue?: any | null
458+
}
459+
}> | null
460+
}> | null
440461
}> | null
441462
logs?: Array<{
442463
__typename?: 'LogSamplingConfig'
@@ -504,6 +525,27 @@ export type GetSamplingConfigQuery = {
504525
matchValue?: any | null
505526
}
506527
}> | null
528+
events?: Array<{
529+
__typename?: 'SpanEventMatchConfig'
530+
name?: {
531+
__typename?: 'MatchConfig'
532+
regexValue?: string | null
533+
matchValue?: any | null
534+
} | null
535+
attributes?: Array<{
536+
__typename?: 'AttributeMatchConfig'
537+
key: {
538+
__typename?: 'MatchConfig'
539+
regexValue?: string | null
540+
matchValue?: any | null
541+
}
542+
attribute: {
543+
__typename?: 'MatchConfig'
544+
regexValue?: string | null
545+
matchValue?: any | null
546+
}
547+
}> | null
548+
}> | null
507549
}> | null
508550
logs?: Array<{
509551
__typename?: 'LogSamplingConfig'
@@ -677,6 +719,19 @@ export const InitializeSessionDocument = gql`
677719
...MatchParts
678720
}
679721
}
722+
events {
723+
name {
724+
...MatchParts
725+
}
726+
attributes {
727+
key {
728+
...MatchParts
729+
}
730+
attribute {
731+
...MatchParts
732+
}
733+
}
734+
}
680735
samplingRatio
681736
}
682737
logs {
@@ -721,6 +776,19 @@ export const GetSamplingConfigDocument = gql`
721776
...MatchParts
722777
}
723778
}
779+
events {
780+
name {
781+
...MatchParts
782+
}
783+
attributes {
784+
key {
785+
...MatchParts
786+
}
787+
attribute {
788+
...MatchParts
789+
}
790+
}
791+
}
724792
samplingRatio
725793
}
726794
logs {

sdk/highlight-run/src/client/graph/operators/mutation.gql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,19 @@ mutation initializeSession(
132132
...MatchParts
133133
}
134134
}
135+
events {
136+
name {
137+
...MatchParts
138+
}
139+
attributes {
140+
key {
141+
...MatchParts
142+
}
143+
attribute {
144+
...MatchParts
145+
}
146+
}
147+
}
135148
samplingRatio
136149
}
137150
logs {

sdk/highlight-run/src/client/graph/operators/query.gql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ query GetSamplingConfig($project_id: ID!) {
1212
...MatchParts
1313
}
1414
}
15+
events {
16+
name {
17+
...MatchParts
18+
}
19+
attributes {
20+
key {
21+
...MatchParts
22+
}
23+
attribute {
24+
...MatchParts
25+
}
26+
}
27+
}
1528
samplingRatio
1629
}
1730
logs {

0 commit comments

Comments
 (0)