@odigos/vmagent-api-apollo-client 0.32.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,8 @@ import * as v0_29_0 from "./v0_29_0/graphql";
22
22
  import * as v0_30_0 from "./v0_30_0/graphql";
23
23
  import * as v0_31_0 from "./v0_31_0/graphql";
24
24
  import * as v0_32_0 from "./v0_32_0/graphql";
25
+ import * as v0_33_0 from "./v0_33_0/graphql";
26
+ import * as v0_34_0 from "./v0_34_0/graphql";
25
27
  import * as nextDialect from "./next/graphql";
26
28
  export declare const dialects: {
27
29
  readonly "v0.6.0": typeof v0_6_0;
@@ -48,6 +50,8 @@ export declare const dialects: {
48
50
  readonly "v0.30.0": typeof v0_30_0;
49
51
  readonly "v0.31.0": typeof v0_31_0;
50
52
  readonly "v0.32.0": typeof v0_32_0;
53
+ readonly "v0.33.0": typeof v0_33_0;
54
+ readonly "v0.34.0": typeof v0_34_0;
51
55
  };
52
56
  export declare const NEXT_DIALECT: typeof nextDialect;
53
- export declare const LATEST_DIALECT_VERSION: "v0.32.0";
57
+ export declare const LATEST_DIALECT_VERSION: "v0.34.0";
@@ -26,6 +26,8 @@ import * as v0_29_0 from "./v0_29_0/graphql";
26
26
  import * as v0_30_0 from "./v0_30_0/graphql";
27
27
  import * as v0_31_0 from "./v0_31_0/graphql";
28
28
  import * as v0_32_0 from "./v0_32_0/graphql";
29
+ import * as v0_33_0 from "./v0_33_0/graphql";
30
+ import * as v0_34_0 from "./v0_34_0/graphql";
29
31
  import * as nextDialect from "./next/graphql";
30
32
  // Every frozen dialect, keyed by its snapshot version. The published package
31
33
  // ships all of them so central-ui can resolve a dialect per connected
@@ -55,9 +57,11 @@ export const dialects = {
55
57
  "v0.30.0": v0_30_0,
56
58
  "v0.31.0": v0_31_0,
57
59
  "v0.32.0": v0_32_0,
60
+ "v0.33.0": v0_33_0,
61
+ "v0.34.0": v0_34_0,
58
62
  };
59
63
  // The live, unreleased dialect (generated from graphql/ HEAD). Deliberately
60
64
  // excluded from `dialects` so it never participates in version resolution.
61
65
  export const NEXT_DIALECT = nextDialect;
62
66
  // Highest frozen dialect: the default surface and the floor-resolution ceiling.
63
- export const LATEST_DIALECT_VERSION = "v0.32.0";
67
+ export const LATEST_DIALECT_VERSION = "v0.34.0";
@@ -280,10 +280,12 @@ export type CreateInstrumentationRuleInput = {
280
280
  /** Exactly one config branch must match ruleType (validated server-side). */
281
281
  customInstrumentation?: InputMaybe<CustomInstrumentationConfigInput>;
282
282
  enabled: Scalars['Boolean']['input'];
283
+ kernelTraces?: InputMaybe<KernelTracesConfigInput>;
283
284
  name: Scalars['String']['input'];
284
285
  notes?: InputMaybe<Scalars['String']['input']>;
285
286
  payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
286
287
  ruleType: RuleType;
288
+ sampling?: InputMaybe<SamplingConfigInput>;
287
289
  };
288
290
  export type CreateManagedCollectorDestinationInput = {
289
291
  /** Field values keyed by DestinationField.name for this type (validated server-side). */
@@ -634,6 +636,40 @@ export type GolangProbeInput = {
634
636
  receiverMethodName?: InputMaybe<Scalars['String']['input']>;
635
637
  receiverName?: InputMaybe<Scalars['String']['input']>;
636
638
  };
639
+ export type HeadSamplingHttpClientMatcher = {
640
+ __typename?: 'HeadSamplingHttpClientMatcher';
641
+ method?: Maybe<Scalars['String']['output']>;
642
+ serverAddress?: Maybe<Scalars['String']['output']>;
643
+ templatedPath?: Maybe<Scalars['String']['output']>;
644
+ templatedPathPrefix?: Maybe<Scalars['String']['output']>;
645
+ };
646
+ export type HeadSamplingHttpClientMatcherInput = {
647
+ method?: InputMaybe<Scalars['String']['input']>;
648
+ serverAddress?: InputMaybe<Scalars['String']['input']>;
649
+ templatedPath?: InputMaybe<Scalars['String']['input']>;
650
+ templatedPathPrefix?: InputMaybe<Scalars['String']['input']>;
651
+ };
652
+ export type HeadSamplingHttpServerMatcher = {
653
+ __typename?: 'HeadSamplingHttpServerMatcher';
654
+ method?: Maybe<Scalars['String']['output']>;
655
+ route?: Maybe<Scalars['String']['output']>;
656
+ routePrefix?: Maybe<Scalars['String']['output']>;
657
+ };
658
+ export type HeadSamplingHttpServerMatcherInput = {
659
+ method?: InputMaybe<Scalars['String']['input']>;
660
+ route?: InputMaybe<Scalars['String']['input']>;
661
+ routePrefix?: InputMaybe<Scalars['String']['input']>;
662
+ };
663
+ /** Exactly one matcher must be set. */
664
+ export type HeadSamplingOperationMatcher = {
665
+ __typename?: 'HeadSamplingOperationMatcher';
666
+ httpClient?: Maybe<HeadSamplingHttpClientMatcher>;
667
+ httpServer?: Maybe<HeadSamplingHttpServerMatcher>;
668
+ };
669
+ export type HeadSamplingOperationMatcherInput = {
670
+ httpClient?: InputMaybe<HeadSamplingHttpClientMatcherInput>;
671
+ httpServer?: InputMaybe<HeadSamplingHttpServerMatcherInput>;
672
+ };
637
673
  export type HeadersCollectionConfig = {
638
674
  __typename?: 'HeadersCollectionConfig';
639
675
  headerKeys: Array<Scalars['String']['output']>;
@@ -886,6 +922,46 @@ export type JavaProbeInput = {
886
922
  className: Scalars['String']['input'];
887
923
  methodName: Scalars['String']['input'];
888
924
  };
925
+ export type KernelCpuDelayTraces = {
926
+ __typename?: 'KernelCpuDelayTraces';
927
+ enabled?: Maybe<Scalars['Boolean']['output']>;
928
+ };
929
+ export type KernelCpuDelayTracesInput = {
930
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
931
+ };
932
+ export type KernelFilesystemTraces = {
933
+ __typename?: 'KernelFilesystemTraces';
934
+ enabled?: Maybe<Scalars['Boolean']['output']>;
935
+ };
936
+ export type KernelFilesystemTracesInput = {
937
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
938
+ };
939
+ export type KernelSubprocessTraces = {
940
+ __typename?: 'KernelSubprocessTraces';
941
+ recordCommandArgs?: Maybe<Scalars['Boolean']['output']>;
942
+ };
943
+ export type KernelSubprocessTracesInput = {
944
+ recordCommandArgs?: InputMaybe<Scalars['Boolean']['input']>;
945
+ };
946
+ export type KernelTracesConfig = {
947
+ __typename?: 'KernelTracesConfig';
948
+ cpuDelay?: Maybe<KernelCpuDelayTraces>;
949
+ filesystem?: Maybe<KernelFilesystemTraces>;
950
+ subprocesses?: Maybe<KernelSubprocessTraces>;
951
+ };
952
+ export type KernelTracesConfigInput = {
953
+ cpuDelay?: InputMaybe<KernelCpuDelayTracesInput>;
954
+ filesystem?: InputMaybe<KernelFilesystemTracesInput>;
955
+ subprocesses?: InputMaybe<KernelSubprocessTracesInput>;
956
+ };
957
+ export type KernelTracesRule = InstrumentationRule & {
958
+ __typename?: 'KernelTracesRule';
959
+ config?: Maybe<KernelTracesConfig>;
960
+ enabled: Scalars['Boolean']['output'];
961
+ name: Scalars['String']['output'];
962
+ notes?: Maybe<Scalars['String']['output']>;
963
+ ruleType: RuleType;
964
+ };
889
965
  /** One key/value pair for data whose keys are defined by the customer rather than by Odigos. */
890
966
  export type KeyValue = {
891
967
  __typename?: 'KeyValue';
@@ -1505,6 +1581,28 @@ export type MutationUpdateOnPremLicenseArgs = {
1505
1581
  export type MutationUpdateSourceArgs = {
1506
1582
  input: UpdateSourceInput;
1507
1583
  };
1584
+ export type NoisyOperation = {
1585
+ __typename?: 'NoisyOperation';
1586
+ /**
1587
+ * Disabled operations are still forwarded to the agent so metrics keep being
1588
+ * recorded, but they do not affect sampling decisions.
1589
+ */
1590
+ disabled?: Maybe<Scalars['Boolean']['output']>;
1591
+ name: Scalars['String']['output'];
1592
+ notes?: Maybe<Scalars['String']['output']>;
1593
+ operation?: Maybe<HeadSamplingOperationMatcher>;
1594
+ /** 0-100. Unset means 0 (drop every matching trace). */
1595
+ percentageAtMost?: Maybe<Scalars['Float']['output']>;
1596
+ sourceScopes?: Maybe<SamplingSourceScopes>;
1597
+ };
1598
+ export type NoisyOperationInput = {
1599
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
1600
+ name: Scalars['String']['input'];
1601
+ notes?: InputMaybe<Scalars['String']['input']>;
1602
+ operation?: InputMaybe<HeadSamplingOperationMatcherInput>;
1603
+ percentageAtMost?: InputMaybe<Scalars['Float']['input']>;
1604
+ sourceScopes?: InputMaybe<SamplingSourceScopesInput>;
1605
+ };
1508
1606
  export type PayloadCollectionConfig = {
1509
1607
  __typename?: 'PayloadCollectionConfig';
1510
1608
  collectDbQuery?: Maybe<Scalars['Boolean']['output']>;
@@ -1861,7 +1959,9 @@ export declare enum RuleType {
1861
1959
  CodeAttributes = "CodeAttributes",
1862
1960
  CustomInstrumentation = "CustomInstrumentation",
1863
1961
  HeadersCollection = "HeadersCollection",
1864
- PayloadCollection = "PayloadCollection"
1962
+ KernelTraces = "KernelTraces",
1963
+ PayloadCollection = "PayloadCollection",
1964
+ Sampling = "Sampling"
1865
1965
  }
1866
1966
  export type RuntimeOverride = {
1867
1967
  __typename?: 'RuntimeOverride';
@@ -1872,6 +1972,34 @@ export type RuntimeOverrideInput = {
1872
1972
  language?: InputMaybe<Scalars['String']['input']>;
1873
1973
  version?: InputMaybe<Scalars['String']['input']>;
1874
1974
  };
1975
+ export type SamplingConfig = {
1976
+ __typename?: 'SamplingConfig';
1977
+ noisyOperations?: Maybe<Array<NoisyOperation>>;
1978
+ };
1979
+ export type SamplingConfigInput = {
1980
+ noisyOperations?: InputMaybe<Array<NoisyOperationInput>>;
1981
+ };
1982
+ export type SamplingRule = InstrumentationRule & {
1983
+ __typename?: 'SamplingRule';
1984
+ config?: Maybe<SamplingConfig>;
1985
+ enabled: Scalars['Boolean']['output'];
1986
+ name: Scalars['String']['output'];
1987
+ notes?: Maybe<Scalars['String']['output']>;
1988
+ ruleType: RuleType;
1989
+ };
1990
+ /**
1991
+ * Limits a noisy operation to specific sources on this agent. Empty lists match
1992
+ * all sources; values inside a list are OR'ed, lists are AND'ed together.
1993
+ */
1994
+ export type SamplingSourceScopes = {
1995
+ __typename?: 'SamplingSourceScopes';
1996
+ languages?: Maybe<Array<Scalars['String']['output']>>;
1997
+ services?: Maybe<Array<Scalars['String']['output']>>;
1998
+ };
1999
+ export type SamplingSourceScopesInput = {
2000
+ languages?: InputMaybe<Array<Scalars['String']['input']>>;
2001
+ services?: InputMaybe<Array<Scalars['String']['input']>>;
2002
+ };
1875
2003
  export type ServiceHotFunctions = {
1876
2004
  __typename?: 'ServiceHotFunctions';
1877
2005
  functions: Array<HotFunction>;
@@ -2100,10 +2228,12 @@ export type UpdateInstrumentationRuleInput = {
2100
2228
  codeAttributes?: InputMaybe<CodeAttributesConfigInput>;
2101
2229
  customInstrumentation?: InputMaybe<CustomInstrumentationConfigInput>;
2102
2230
  enabled: Scalars['Boolean']['input'];
2231
+ kernelTraces?: InputMaybe<KernelTracesConfigInput>;
2103
2232
  name: Scalars['String']['input'];
2104
2233
  notes?: InputMaybe<Scalars['String']['input']>;
2105
2234
  payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
2106
2235
  ruleType?: InputMaybe<RuleType>;
2236
+ sampling?: InputMaybe<SamplingConfigInput>;
2107
2237
  };
2108
2238
  /**
2109
2239
  * A partial update: an omitted field keeps its current value, and `config`, when given, replaces the
@@ -3779,6 +3909,28 @@ type InstrumentationRuleFields_HeadersCollectionRule_Fragment = {
3779
3909
  headerKeys: Array<string>;
3780
3910
  } | null;
3781
3911
  };
3912
+ type InstrumentationRuleFields_KernelTracesRule_Fragment = {
3913
+ __typename: 'KernelTracesRule';
3914
+ name: string;
3915
+ ruleType: RuleType;
3916
+ enabled: boolean;
3917
+ notes?: string | null;
3918
+ config?: {
3919
+ __typename?: 'KernelTracesConfig';
3920
+ filesystem?: {
3921
+ __typename?: 'KernelFilesystemTraces';
3922
+ enabled?: boolean | null;
3923
+ } | null;
3924
+ subprocesses?: {
3925
+ __typename?: 'KernelSubprocessTraces';
3926
+ recordCommandArgs?: boolean | null;
3927
+ } | null;
3928
+ cpuDelay?: {
3929
+ __typename?: 'KernelCpuDelayTraces';
3930
+ enabled?: boolean | null;
3931
+ } | null;
3932
+ } | null;
3933
+ };
3782
3934
  type InstrumentationRuleFields_PayloadCollectionRule_Fragment = {
3783
3935
  __typename: 'PayloadCollectionRule';
3784
3936
  name: string;
@@ -3793,7 +3945,45 @@ type InstrumentationRuleFields_PayloadCollectionRule_Fragment = {
3793
3945
  collectMessaging?: boolean | null;
3794
3946
  } | null;
3795
3947
  };
3796
- export type InstrumentationRuleFieldsFragment = InstrumentationRuleFields_CodeAttributesRule_Fragment | InstrumentationRuleFields_CustomInstrumentationRule_Fragment | InstrumentationRuleFields_HeadersCollectionRule_Fragment | InstrumentationRuleFields_PayloadCollectionRule_Fragment;
3948
+ type InstrumentationRuleFields_SamplingRule_Fragment = {
3949
+ __typename: 'SamplingRule';
3950
+ name: string;
3951
+ ruleType: RuleType;
3952
+ enabled: boolean;
3953
+ notes?: string | null;
3954
+ config?: {
3955
+ __typename?: 'SamplingConfig';
3956
+ noisyOperations?: Array<{
3957
+ __typename?: 'NoisyOperation';
3958
+ name: string;
3959
+ disabled?: boolean | null;
3960
+ notes?: string | null;
3961
+ percentageAtMost?: number | null;
3962
+ sourceScopes?: {
3963
+ __typename?: 'SamplingSourceScopes';
3964
+ services?: Array<string> | null;
3965
+ languages?: Array<string> | null;
3966
+ } | null;
3967
+ operation?: {
3968
+ __typename?: 'HeadSamplingOperationMatcher';
3969
+ httpServer?: {
3970
+ __typename?: 'HeadSamplingHttpServerMatcher';
3971
+ route?: string | null;
3972
+ routePrefix?: string | null;
3973
+ method?: string | null;
3974
+ } | null;
3975
+ httpClient?: {
3976
+ __typename?: 'HeadSamplingHttpClientMatcher';
3977
+ serverAddress?: string | null;
3978
+ templatedPath?: string | null;
3979
+ templatedPathPrefix?: string | null;
3980
+ method?: string | null;
3981
+ } | null;
3982
+ } | null;
3983
+ }> | null;
3984
+ } | null;
3985
+ };
3986
+ export type InstrumentationRuleFieldsFragment = InstrumentationRuleFields_CodeAttributesRule_Fragment | InstrumentationRuleFields_CustomInstrumentationRule_Fragment | InstrumentationRuleFields_HeadersCollectionRule_Fragment | InstrumentationRuleFields_KernelTracesRule_Fragment | InstrumentationRuleFields_PayloadCollectionRule_Fragment | InstrumentationRuleFields_SamplingRule_Fragment;
3797
3987
  export type GetInstrumentationRuleQueryVariables = Exact<{
3798
3988
  name: Scalars['String']['input'];
3799
3989
  }>;
@@ -3849,6 +4039,27 @@ export type GetInstrumentationRuleQuery = {
3849
4039
  __typename?: 'HeadersCollectionConfig';
3850
4040
  headerKeys: Array<string>;
3851
4041
  } | null;
4042
+ } | {
4043
+ __typename: 'KernelTracesRule';
4044
+ name: string;
4045
+ ruleType: RuleType;
4046
+ enabled: boolean;
4047
+ notes?: string | null;
4048
+ config?: {
4049
+ __typename?: 'KernelTracesConfig';
4050
+ filesystem?: {
4051
+ __typename?: 'KernelFilesystemTraces';
4052
+ enabled?: boolean | null;
4053
+ } | null;
4054
+ subprocesses?: {
4055
+ __typename?: 'KernelSubprocessTraces';
4056
+ recordCommandArgs?: boolean | null;
4057
+ } | null;
4058
+ cpuDelay?: {
4059
+ __typename?: 'KernelCpuDelayTraces';
4060
+ enabled?: boolean | null;
4061
+ } | null;
4062
+ } | null;
3852
4063
  } | {
3853
4064
  __typename: 'PayloadCollectionRule';
3854
4065
  name: string;
@@ -3862,6 +4073,43 @@ export type GetInstrumentationRuleQuery = {
3862
4073
  collectDbQuery?: boolean | null;
3863
4074
  collectMessaging?: boolean | null;
3864
4075
  } | null;
4076
+ } | {
4077
+ __typename: 'SamplingRule';
4078
+ name: string;
4079
+ ruleType: RuleType;
4080
+ enabled: boolean;
4081
+ notes?: string | null;
4082
+ config?: {
4083
+ __typename?: 'SamplingConfig';
4084
+ noisyOperations?: Array<{
4085
+ __typename?: 'NoisyOperation';
4086
+ name: string;
4087
+ disabled?: boolean | null;
4088
+ notes?: string | null;
4089
+ percentageAtMost?: number | null;
4090
+ sourceScopes?: {
4091
+ __typename?: 'SamplingSourceScopes';
4092
+ services?: Array<string> | null;
4093
+ languages?: Array<string> | null;
4094
+ } | null;
4095
+ operation?: {
4096
+ __typename?: 'HeadSamplingOperationMatcher';
4097
+ httpServer?: {
4098
+ __typename?: 'HeadSamplingHttpServerMatcher';
4099
+ route?: string | null;
4100
+ routePrefix?: string | null;
4101
+ method?: string | null;
4102
+ } | null;
4103
+ httpClient?: {
4104
+ __typename?: 'HeadSamplingHttpClientMatcher';
4105
+ serverAddress?: string | null;
4106
+ templatedPath?: string | null;
4107
+ templatedPathPrefix?: string | null;
4108
+ method?: string | null;
4109
+ } | null;
4110
+ } | null;
4111
+ }> | null;
4112
+ } | null;
3865
4113
  } | null;
3866
4114
  };
3867
4115
  export type GetInstrumentationRulesQueryVariables = Exact<{
@@ -3919,6 +4167,27 @@ export type GetInstrumentationRulesQuery = {
3919
4167
  __typename?: 'HeadersCollectionConfig';
3920
4168
  headerKeys: Array<string>;
3921
4169
  } | null;
4170
+ } | {
4171
+ __typename: 'KernelTracesRule';
4172
+ name: string;
4173
+ ruleType: RuleType;
4174
+ enabled: boolean;
4175
+ notes?: string | null;
4176
+ config?: {
4177
+ __typename?: 'KernelTracesConfig';
4178
+ filesystem?: {
4179
+ __typename?: 'KernelFilesystemTraces';
4180
+ enabled?: boolean | null;
4181
+ } | null;
4182
+ subprocesses?: {
4183
+ __typename?: 'KernelSubprocessTraces';
4184
+ recordCommandArgs?: boolean | null;
4185
+ } | null;
4186
+ cpuDelay?: {
4187
+ __typename?: 'KernelCpuDelayTraces';
4188
+ enabled?: boolean | null;
4189
+ } | null;
4190
+ } | null;
3922
4191
  } | {
3923
4192
  __typename: 'PayloadCollectionRule';
3924
4193
  name: string;
@@ -3932,6 +4201,43 @@ export type GetInstrumentationRulesQuery = {
3932
4201
  collectDbQuery?: boolean | null;
3933
4202
  collectMessaging?: boolean | null;
3934
4203
  } | null;
4204
+ } | {
4205
+ __typename: 'SamplingRule';
4206
+ name: string;
4207
+ ruleType: RuleType;
4208
+ enabled: boolean;
4209
+ notes?: string | null;
4210
+ config?: {
4211
+ __typename?: 'SamplingConfig';
4212
+ noisyOperations?: Array<{
4213
+ __typename?: 'NoisyOperation';
4214
+ name: string;
4215
+ disabled?: boolean | null;
4216
+ notes?: string | null;
4217
+ percentageAtMost?: number | null;
4218
+ sourceScopes?: {
4219
+ __typename?: 'SamplingSourceScopes';
4220
+ services?: Array<string> | null;
4221
+ languages?: Array<string> | null;
4222
+ } | null;
4223
+ operation?: {
4224
+ __typename?: 'HeadSamplingOperationMatcher';
4225
+ httpServer?: {
4226
+ __typename?: 'HeadSamplingHttpServerMatcher';
4227
+ route?: string | null;
4228
+ routePrefix?: string | null;
4229
+ method?: string | null;
4230
+ } | null;
4231
+ httpClient?: {
4232
+ __typename?: 'HeadSamplingHttpClientMatcher';
4233
+ serverAddress?: string | null;
4234
+ templatedPath?: string | null;
4235
+ templatedPathPrefix?: string | null;
4236
+ method?: string | null;
4237
+ } | null;
4238
+ } | null;
4239
+ }> | null;
4240
+ } | null;
3935
4241
  }>;
3936
4242
  };
3937
4243
  export type CreateInstrumentationRuleMutationVariables = Exact<{
@@ -3989,6 +4295,27 @@ export type CreateInstrumentationRuleMutation = {
3989
4295
  __typename?: 'HeadersCollectionConfig';
3990
4296
  headerKeys: Array<string>;
3991
4297
  } | null;
4298
+ } | {
4299
+ __typename: 'KernelTracesRule';
4300
+ name: string;
4301
+ ruleType: RuleType;
4302
+ enabled: boolean;
4303
+ notes?: string | null;
4304
+ config?: {
4305
+ __typename?: 'KernelTracesConfig';
4306
+ filesystem?: {
4307
+ __typename?: 'KernelFilesystemTraces';
4308
+ enabled?: boolean | null;
4309
+ } | null;
4310
+ subprocesses?: {
4311
+ __typename?: 'KernelSubprocessTraces';
4312
+ recordCommandArgs?: boolean | null;
4313
+ } | null;
4314
+ cpuDelay?: {
4315
+ __typename?: 'KernelCpuDelayTraces';
4316
+ enabled?: boolean | null;
4317
+ } | null;
4318
+ } | null;
3992
4319
  } | {
3993
4320
  __typename: 'PayloadCollectionRule';
3994
4321
  name: string;
@@ -4002,6 +4329,43 @@ export type CreateInstrumentationRuleMutation = {
4002
4329
  collectDbQuery?: boolean | null;
4003
4330
  collectMessaging?: boolean | null;
4004
4331
  } | null;
4332
+ } | {
4333
+ __typename: 'SamplingRule';
4334
+ name: string;
4335
+ ruleType: RuleType;
4336
+ enabled: boolean;
4337
+ notes?: string | null;
4338
+ config?: {
4339
+ __typename?: 'SamplingConfig';
4340
+ noisyOperations?: Array<{
4341
+ __typename?: 'NoisyOperation';
4342
+ name: string;
4343
+ disabled?: boolean | null;
4344
+ notes?: string | null;
4345
+ percentageAtMost?: number | null;
4346
+ sourceScopes?: {
4347
+ __typename?: 'SamplingSourceScopes';
4348
+ services?: Array<string> | null;
4349
+ languages?: Array<string> | null;
4350
+ } | null;
4351
+ operation?: {
4352
+ __typename?: 'HeadSamplingOperationMatcher';
4353
+ httpServer?: {
4354
+ __typename?: 'HeadSamplingHttpServerMatcher';
4355
+ route?: string | null;
4356
+ routePrefix?: string | null;
4357
+ method?: string | null;
4358
+ } | null;
4359
+ httpClient?: {
4360
+ __typename?: 'HeadSamplingHttpClientMatcher';
4361
+ serverAddress?: string | null;
4362
+ templatedPath?: string | null;
4363
+ templatedPathPrefix?: string | null;
4364
+ method?: string | null;
4365
+ } | null;
4366
+ } | null;
4367
+ }> | null;
4368
+ } | null;
4005
4369
  };
4006
4370
  };
4007
4371
  export type UpdateInstrumentationRuleMutationVariables = Exact<{
@@ -4059,6 +4423,27 @@ export type UpdateInstrumentationRuleMutation = {
4059
4423
  __typename?: 'HeadersCollectionConfig';
4060
4424
  headerKeys: Array<string>;
4061
4425
  } | null;
4426
+ } | {
4427
+ __typename: 'KernelTracesRule';
4428
+ name: string;
4429
+ ruleType: RuleType;
4430
+ enabled: boolean;
4431
+ notes?: string | null;
4432
+ config?: {
4433
+ __typename?: 'KernelTracesConfig';
4434
+ filesystem?: {
4435
+ __typename?: 'KernelFilesystemTraces';
4436
+ enabled?: boolean | null;
4437
+ } | null;
4438
+ subprocesses?: {
4439
+ __typename?: 'KernelSubprocessTraces';
4440
+ recordCommandArgs?: boolean | null;
4441
+ } | null;
4442
+ cpuDelay?: {
4443
+ __typename?: 'KernelCpuDelayTraces';
4444
+ enabled?: boolean | null;
4445
+ } | null;
4446
+ } | null;
4062
4447
  } | {
4063
4448
  __typename: 'PayloadCollectionRule';
4064
4449
  name: string;
@@ -4072,6 +4457,43 @@ export type UpdateInstrumentationRuleMutation = {
4072
4457
  collectDbQuery?: boolean | null;
4073
4458
  collectMessaging?: boolean | null;
4074
4459
  } | null;
4460
+ } | {
4461
+ __typename: 'SamplingRule';
4462
+ name: string;
4463
+ ruleType: RuleType;
4464
+ enabled: boolean;
4465
+ notes?: string | null;
4466
+ config?: {
4467
+ __typename?: 'SamplingConfig';
4468
+ noisyOperations?: Array<{
4469
+ __typename?: 'NoisyOperation';
4470
+ name: string;
4471
+ disabled?: boolean | null;
4472
+ notes?: string | null;
4473
+ percentageAtMost?: number | null;
4474
+ sourceScopes?: {
4475
+ __typename?: 'SamplingSourceScopes';
4476
+ services?: Array<string> | null;
4477
+ languages?: Array<string> | null;
4478
+ } | null;
4479
+ operation?: {
4480
+ __typename?: 'HeadSamplingOperationMatcher';
4481
+ httpServer?: {
4482
+ __typename?: 'HeadSamplingHttpServerMatcher';
4483
+ route?: string | null;
4484
+ routePrefix?: string | null;
4485
+ method?: string | null;
4486
+ } | null;
4487
+ httpClient?: {
4488
+ __typename?: 'HeadSamplingHttpClientMatcher';
4489
+ serverAddress?: string | null;
4490
+ templatedPath?: string | null;
4491
+ templatedPathPrefix?: string | null;
4492
+ method?: string | null;
4493
+ } | null;
4494
+ } | null;
4495
+ }> | null;
4496
+ } | null;
4075
4497
  };
4076
4498
  };
4077
4499
  export type DeleteInstrumentationRuleMutationVariables = Exact<{