@odigos/vmagent-api-apollo-client 0.31.0 → 0.33.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.
@@ -55,6 +55,11 @@ export type Action = {
55
55
  notes?: Maybe<Scalars['String']['output']>;
56
56
  orderHint?: Maybe<Scalars['Int']['output']>;
57
57
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
58
+ /**
59
+ * Cloud connectors only: the regional Collector this action configures. VM agents
60
+ * return null because their actions are process-wide.
61
+ */
62
+ region?: Maybe<Scalars['String']['output']>;
58
63
  signals: Array<TelemetrySignal>;
59
64
  };
60
65
  export type ActionField = {
@@ -252,6 +257,8 @@ export type CreateActionInput = {
252
257
  piiMasking?: InputMaybe<PiiMaskingConfigInput>;
253
258
  pipelines?: InputMaybe<Array<Scalars['String']['input']>>;
254
259
  processorAddition?: InputMaybe<ProcessorAdditionConfigInput>;
260
+ /** Cloud connectors require the regional Collector this action belongs to. */
261
+ region?: InputMaybe<Scalars['String']['input']>;
255
262
  renameAttribute?: InputMaybe<RenameAttributeConfigInput>;
256
263
  signals: Array<TelemetrySignal>;
257
264
  spanMetrics?: InputMaybe<SpanMetricsConfigInput>;
@@ -277,6 +284,7 @@ export type CreateInstrumentationRuleInput = {
277
284
  notes?: InputMaybe<Scalars['String']['input']>;
278
285
  payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
279
286
  ruleType: RuleType;
287
+ sampling?: InputMaybe<SamplingConfigInput>;
280
288
  };
281
289
  export type CreateManagedCollectorDestinationInput = {
282
290
  /** Field values keyed by DestinationField.name for this type (validated server-side). */
@@ -368,6 +376,7 @@ export type DbQueryTemplatizationAction = Action & {
368
376
  notes?: Maybe<Scalars['String']['output']>;
369
377
  orderHint?: Maybe<Scalars['Int']['output']>;
370
378
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
379
+ region?: Maybe<Scalars['String']['output']>;
371
380
  signals: Array<TelemetrySignal>;
372
381
  };
373
382
  export type DbQueryTemplatizationConfig = {
@@ -381,6 +390,8 @@ export type DbQueryTemplatizationConfigInput = {
381
390
  };
382
391
  export type DeleteActionInput = {
383
392
  name: Scalars['String']['input'];
393
+ /** Cloud connectors require the regional Collector this action belongs to. */
394
+ region?: InputMaybe<Scalars['String']['input']>;
384
395
  };
385
396
  export type DeleteActionPayload = {
386
397
  __typename?: 'DeleteActionPayload';
@@ -397,6 +408,7 @@ export type DeleteAttributeAction = Action & {
397
408
  notes?: Maybe<Scalars['String']['output']>;
398
409
  orderHint?: Maybe<Scalars['Int']['output']>;
399
410
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
411
+ region?: Maybe<Scalars['String']['output']>;
400
412
  signals: Array<TelemetrySignal>;
401
413
  };
402
414
  export type DeleteAttributeConfig = {
@@ -587,6 +599,7 @@ export type ExtractAttributeAction = Action & {
587
599
  notes?: Maybe<Scalars['String']['output']>;
588
600
  orderHint?: Maybe<Scalars['Int']['output']>;
589
601
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
602
+ region?: Maybe<Scalars['String']['output']>;
590
603
  signals: Array<TelemetrySignal>;
591
604
  };
592
605
  export type ExtractAttributeConfig = {
@@ -622,6 +635,40 @@ export type GolangProbeInput = {
622
635
  receiverMethodName?: InputMaybe<Scalars['String']['input']>;
623
636
  receiverName?: InputMaybe<Scalars['String']['input']>;
624
637
  };
638
+ export type HeadSamplingHttpClientMatcher = {
639
+ __typename?: 'HeadSamplingHttpClientMatcher';
640
+ method?: Maybe<Scalars['String']['output']>;
641
+ serverAddress?: Maybe<Scalars['String']['output']>;
642
+ templatedPath?: Maybe<Scalars['String']['output']>;
643
+ templatedPathPrefix?: Maybe<Scalars['String']['output']>;
644
+ };
645
+ export type HeadSamplingHttpClientMatcherInput = {
646
+ method?: InputMaybe<Scalars['String']['input']>;
647
+ serverAddress?: InputMaybe<Scalars['String']['input']>;
648
+ templatedPath?: InputMaybe<Scalars['String']['input']>;
649
+ templatedPathPrefix?: InputMaybe<Scalars['String']['input']>;
650
+ };
651
+ export type HeadSamplingHttpServerMatcher = {
652
+ __typename?: 'HeadSamplingHttpServerMatcher';
653
+ method?: Maybe<Scalars['String']['output']>;
654
+ route?: Maybe<Scalars['String']['output']>;
655
+ routePrefix?: Maybe<Scalars['String']['output']>;
656
+ };
657
+ export type HeadSamplingHttpServerMatcherInput = {
658
+ method?: InputMaybe<Scalars['String']['input']>;
659
+ route?: InputMaybe<Scalars['String']['input']>;
660
+ routePrefix?: InputMaybe<Scalars['String']['input']>;
661
+ };
662
+ /** Exactly one matcher must be set. */
663
+ export type HeadSamplingOperationMatcher = {
664
+ __typename?: 'HeadSamplingOperationMatcher';
665
+ httpClient?: Maybe<HeadSamplingHttpClientMatcher>;
666
+ httpServer?: Maybe<HeadSamplingHttpServerMatcher>;
667
+ };
668
+ export type HeadSamplingOperationMatcherInput = {
669
+ httpClient?: InputMaybe<HeadSamplingHttpClientMatcherInput>;
670
+ httpServer?: InputMaybe<HeadSamplingHttpServerMatcherInput>;
671
+ };
625
672
  export type HeadersCollectionConfig = {
626
673
  __typename?: 'HeadersCollectionConfig';
627
674
  headerKeys: Array<Scalars['String']['output']>;
@@ -672,6 +719,7 @@ export type InferDbAttributesAction = Action & {
672
719
  notes?: Maybe<Scalars['String']['output']>;
673
720
  orderHint?: Maybe<Scalars['Int']['output']>;
674
721
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
722
+ region?: Maybe<Scalars['String']['output']>;
675
723
  signals: Array<TelemetrySignal>;
676
724
  };
677
725
  /**
@@ -1492,6 +1540,28 @@ export type MutationUpdateOnPremLicenseArgs = {
1492
1540
  export type MutationUpdateSourceArgs = {
1493
1541
  input: UpdateSourceInput;
1494
1542
  };
1543
+ export type NoisyOperation = {
1544
+ __typename?: 'NoisyOperation';
1545
+ /**
1546
+ * Disabled operations are still forwarded to the agent so metrics keep being
1547
+ * recorded, but they do not affect sampling decisions.
1548
+ */
1549
+ disabled?: Maybe<Scalars['Boolean']['output']>;
1550
+ name: Scalars['String']['output'];
1551
+ notes?: Maybe<Scalars['String']['output']>;
1552
+ operation?: Maybe<HeadSamplingOperationMatcher>;
1553
+ /** 0-100. Unset means 0 (drop every matching trace). */
1554
+ percentageAtMost?: Maybe<Scalars['Float']['output']>;
1555
+ sourceScopes?: Maybe<SamplingSourceScopes>;
1556
+ };
1557
+ export type NoisyOperationInput = {
1558
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
1559
+ name: Scalars['String']['input'];
1560
+ notes?: InputMaybe<Scalars['String']['input']>;
1561
+ operation?: InputMaybe<HeadSamplingOperationMatcherInput>;
1562
+ percentageAtMost?: InputMaybe<Scalars['Float']['input']>;
1563
+ sourceScopes?: InputMaybe<SamplingSourceScopesInput>;
1564
+ };
1495
1565
  export type PayloadCollectionConfig = {
1496
1566
  __typename?: 'PayloadCollectionConfig';
1497
1567
  collectDbQuery?: Maybe<Scalars['Boolean']['output']>;
@@ -1523,6 +1593,7 @@ export type PiiMaskingAction = Action & {
1523
1593
  notes?: Maybe<Scalars['String']['output']>;
1524
1594
  orderHint?: Maybe<Scalars['Int']['output']>;
1525
1595
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
1596
+ region?: Maybe<Scalars['String']['output']>;
1526
1597
  signals: Array<TelemetrySignal>;
1527
1598
  };
1528
1599
  export type PiiMaskingConfig = {
@@ -1577,6 +1648,7 @@ export type ProcessorAdditionAction = Action & {
1577
1648
  notes?: Maybe<Scalars['String']['output']>;
1578
1649
  orderHint?: Maybe<Scalars['Int']['output']>;
1579
1650
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
1651
+ region?: Maybe<Scalars['String']['output']>;
1580
1652
  signals: Array<TelemetrySignal>;
1581
1653
  };
1582
1654
  export type ProcessorAdditionConfig = {
@@ -1632,6 +1704,7 @@ export type Query = {
1632
1704
  __typename?: 'Query';
1633
1705
  action?: Maybe<Action>;
1634
1706
  actionTypes: Array<ActionTypeOption>;
1707
+ /** Cloud connectors may filter actions to one regional Collector. */
1635
1708
  actions: Array<Action>;
1636
1709
  /** Lookup a compute platform by composite key name + kind + region; null if absent. region may be omitted for region-less platforms. */
1637
1710
  computePlatformReport?: Maybe<ComputePlatformReport>;
@@ -1697,6 +1770,10 @@ export type Query = {
1697
1770
  };
1698
1771
  export type QueryActionArgs = {
1699
1772
  name: Scalars['String']['input'];
1773
+ region?: InputMaybe<Scalars['String']['input']>;
1774
+ };
1775
+ export type QueryActionsArgs = {
1776
+ region?: InputMaybe<Scalars['String']['input']>;
1700
1777
  };
1701
1778
  export type QueryComputePlatformReportArgs = {
1702
1779
  kind: Scalars['String']['input'];
@@ -1758,6 +1835,7 @@ export type RenameAttributeAction = Action & {
1758
1835
  notes?: Maybe<Scalars['String']['output']>;
1759
1836
  orderHint?: Maybe<Scalars['Int']['output']>;
1760
1837
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
1838
+ region?: Maybe<Scalars['String']['output']>;
1761
1839
  signals: Array<TelemetrySignal>;
1762
1840
  };
1763
1841
  export type RenameAttributeConfig = {
@@ -1840,7 +1918,8 @@ export declare enum RuleType {
1840
1918
  CodeAttributes = "CodeAttributes",
1841
1919
  CustomInstrumentation = "CustomInstrumentation",
1842
1920
  HeadersCollection = "HeadersCollection",
1843
- PayloadCollection = "PayloadCollection"
1921
+ PayloadCollection = "PayloadCollection",
1922
+ Sampling = "Sampling"
1844
1923
  }
1845
1924
  export type RuntimeOverride = {
1846
1925
  __typename?: 'RuntimeOverride';
@@ -1851,6 +1930,34 @@ export type RuntimeOverrideInput = {
1851
1930
  language?: InputMaybe<Scalars['String']['input']>;
1852
1931
  version?: InputMaybe<Scalars['String']['input']>;
1853
1932
  };
1933
+ export type SamplingConfig = {
1934
+ __typename?: 'SamplingConfig';
1935
+ noisyOperations?: Maybe<Array<NoisyOperation>>;
1936
+ };
1937
+ export type SamplingConfigInput = {
1938
+ noisyOperations?: InputMaybe<Array<NoisyOperationInput>>;
1939
+ };
1940
+ export type SamplingRule = InstrumentationRule & {
1941
+ __typename?: 'SamplingRule';
1942
+ config?: Maybe<SamplingConfig>;
1943
+ enabled: Scalars['Boolean']['output'];
1944
+ name: Scalars['String']['output'];
1945
+ notes?: Maybe<Scalars['String']['output']>;
1946
+ ruleType: RuleType;
1947
+ };
1948
+ /**
1949
+ * Limits a noisy operation to specific sources on this agent. Empty lists match
1950
+ * all sources; values inside a list are OR'ed, lists are AND'ed together.
1951
+ */
1952
+ export type SamplingSourceScopes = {
1953
+ __typename?: 'SamplingSourceScopes';
1954
+ languages?: Maybe<Array<Scalars['String']['output']>>;
1955
+ services?: Maybe<Array<Scalars['String']['output']>>;
1956
+ };
1957
+ export type SamplingSourceScopesInput = {
1958
+ languages?: InputMaybe<Array<Scalars['String']['input']>>;
1959
+ services?: InputMaybe<Array<Scalars['String']['input']>>;
1960
+ };
1854
1961
  export type ServiceHotFunctions = {
1855
1962
  __typename?: 'ServiceHotFunctions';
1856
1963
  functions: Array<HotFunction>;
@@ -1923,6 +2030,7 @@ export type SpanMetricsAction = Action & {
1923
2030
  notes?: Maybe<Scalars['String']['output']>;
1924
2031
  orderHint?: Maybe<Scalars['Int']['output']>;
1925
2032
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
2033
+ region?: Maybe<Scalars['String']['output']>;
1926
2034
  signals: Array<TelemetrySignal>;
1927
2035
  };
1928
2036
  export type SpanMetricsConfig = {
@@ -2007,6 +2115,7 @@ export type UrlTemplatizationAction = Action & {
2007
2115
  notes?: Maybe<Scalars['String']['output']>;
2008
2116
  orderHint?: Maybe<Scalars['Int']['output']>;
2009
2117
  pipelines?: Maybe<Array<Scalars['String']['output']>>;
2118
+ region?: Maybe<Scalars['String']['output']>;
2010
2119
  signals: Array<TelemetrySignal>;
2011
2120
  };
2012
2121
  export type UrlTemplatizationConfig = {
@@ -2049,6 +2158,8 @@ export type UpdateActionInput = {
2049
2158
  piiMasking?: InputMaybe<PiiMaskingConfigInput>;
2050
2159
  pipelines?: InputMaybe<Array<Scalars['String']['input']>>;
2051
2160
  processorAddition?: InputMaybe<ProcessorAdditionConfigInput>;
2161
+ /** Cloud connectors require the regional Collector this action belongs to. */
2162
+ region?: InputMaybe<Scalars['String']['input']>;
2052
2163
  renameAttribute?: InputMaybe<RenameAttributeConfigInput>;
2053
2164
  signals?: InputMaybe<Array<TelemetrySignal>>;
2054
2165
  spanMetrics?: InputMaybe<SpanMetricsConfigInput>;
@@ -2079,6 +2190,7 @@ export type UpdateInstrumentationRuleInput = {
2079
2190
  notes?: InputMaybe<Scalars['String']['input']>;
2080
2191
  payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
2081
2192
  ruleType?: InputMaybe<RuleType>;
2193
+ sampling?: InputMaybe<SamplingConfigInput>;
2082
2194
  };
2083
2195
  /**
2084
2196
  * A partial update: an omitted field keeps its current value, and `config`, when given, replaces the
@@ -2389,6 +2501,7 @@ export type GetActionTypesQuery = {
2389
2501
  type ActionFields_DbQueryTemplatizationAction_Fragment = {
2390
2502
  __typename: 'DbQueryTemplatizationAction';
2391
2503
  name: string;
2504
+ region?: string | null;
2392
2505
  actionName?: string | null;
2393
2506
  notes?: string | null;
2394
2507
  disabled: boolean;
@@ -2405,6 +2518,7 @@ type ActionFields_DbQueryTemplatizationAction_Fragment = {
2405
2518
  type ActionFields_DeleteAttributeAction_Fragment = {
2406
2519
  __typename: 'DeleteAttributeAction';
2407
2520
  name: string;
2521
+ region?: string | null;
2408
2522
  actionName?: string | null;
2409
2523
  notes?: string | null;
2410
2524
  disabled: boolean;
@@ -2420,6 +2534,7 @@ type ActionFields_DeleteAttributeAction_Fragment = {
2420
2534
  type ActionFields_ExtractAttributeAction_Fragment = {
2421
2535
  __typename: 'ExtractAttributeAction';
2422
2536
  name: string;
2537
+ region?: string | null;
2423
2538
  actionName?: string | null;
2424
2539
  notes?: string | null;
2425
2540
  disabled: boolean;
@@ -2441,6 +2556,7 @@ type ActionFields_ExtractAttributeAction_Fragment = {
2441
2556
  type ActionFields_InferDbAttributesAction_Fragment = {
2442
2557
  __typename: 'InferDbAttributesAction';
2443
2558
  name: string;
2559
+ region?: string | null;
2444
2560
  actionName?: string | null;
2445
2561
  notes?: string | null;
2446
2562
  disabled: boolean;
@@ -2452,6 +2568,7 @@ type ActionFields_InferDbAttributesAction_Fragment = {
2452
2568
  type ActionFields_PiiMaskingAction_Fragment = {
2453
2569
  __typename: 'PiiMaskingAction';
2454
2570
  name: string;
2571
+ region?: string | null;
2455
2572
  actionName?: string | null;
2456
2573
  notes?: string | null;
2457
2574
  disabled: boolean;
@@ -2476,6 +2593,7 @@ type ActionFields_PiiMaskingAction_Fragment = {
2476
2593
  type ActionFields_ProcessorAdditionAction_Fragment = {
2477
2594
  __typename: 'ProcessorAdditionAction';
2478
2595
  name: string;
2596
+ region?: string | null;
2479
2597
  actionName?: string | null;
2480
2598
  notes?: string | null;
2481
2599
  disabled: boolean;
@@ -2493,6 +2611,7 @@ type ActionFields_ProcessorAdditionAction_Fragment = {
2493
2611
  type ActionFields_RenameAttributeAction_Fragment = {
2494
2612
  __typename: 'RenameAttributeAction';
2495
2613
  name: string;
2614
+ region?: string | null;
2496
2615
  actionName?: string | null;
2497
2616
  notes?: string | null;
2498
2617
  disabled: boolean;
@@ -2512,6 +2631,7 @@ type ActionFields_RenameAttributeAction_Fragment = {
2512
2631
  type ActionFields_SpanMetricsAction_Fragment = {
2513
2632
  __typename: 'SpanMetricsAction';
2514
2633
  name: string;
2634
+ region?: string | null;
2515
2635
  actionName?: string | null;
2516
2636
  notes?: string | null;
2517
2637
  disabled: boolean;
@@ -2535,6 +2655,7 @@ type ActionFields_SpanMetricsAction_Fragment = {
2535
2655
  type ActionFields_UrlTemplatizationAction_Fragment = {
2536
2656
  __typename: 'URLTemplatizationAction';
2537
2657
  name: string;
2658
+ region?: string | null;
2538
2659
  actionName?: string | null;
2539
2660
  notes?: string | null;
2540
2661
  disabled: boolean;
@@ -2559,12 +2680,14 @@ type ActionFields_UrlTemplatizationAction_Fragment = {
2559
2680
  export type ActionFieldsFragment = ActionFields_DbQueryTemplatizationAction_Fragment | ActionFields_DeleteAttributeAction_Fragment | ActionFields_ExtractAttributeAction_Fragment | ActionFields_InferDbAttributesAction_Fragment | ActionFields_PiiMaskingAction_Fragment | ActionFields_ProcessorAdditionAction_Fragment | ActionFields_RenameAttributeAction_Fragment | ActionFields_SpanMetricsAction_Fragment | ActionFields_UrlTemplatizationAction_Fragment;
2560
2681
  export type GetActionQueryVariables = Exact<{
2561
2682
  name: Scalars['String']['input'];
2683
+ region?: InputMaybe<Scalars['String']['input']>;
2562
2684
  }>;
2563
2685
  export type GetActionQuery = {
2564
2686
  __typename?: 'Query';
2565
2687
  action?: {
2566
2688
  __typename: 'DbQueryTemplatizationAction';
2567
2689
  name: string;
2690
+ region?: string | null;
2568
2691
  actionName?: string | null;
2569
2692
  notes?: string | null;
2570
2693
  disabled: boolean;
@@ -2580,6 +2703,7 @@ export type GetActionQuery = {
2580
2703
  } | {
2581
2704
  __typename: 'DeleteAttributeAction';
2582
2705
  name: string;
2706
+ region?: string | null;
2583
2707
  actionName?: string | null;
2584
2708
  notes?: string | null;
2585
2709
  disabled: boolean;
@@ -2594,6 +2718,7 @@ export type GetActionQuery = {
2594
2718
  } | {
2595
2719
  __typename: 'ExtractAttributeAction';
2596
2720
  name: string;
2721
+ region?: string | null;
2597
2722
  actionName?: string | null;
2598
2723
  notes?: string | null;
2599
2724
  disabled: boolean;
@@ -2614,6 +2739,7 @@ export type GetActionQuery = {
2614
2739
  } | {
2615
2740
  __typename: 'InferDbAttributesAction';
2616
2741
  name: string;
2742
+ region?: string | null;
2617
2743
  actionName?: string | null;
2618
2744
  notes?: string | null;
2619
2745
  disabled: boolean;
@@ -2624,6 +2750,7 @@ export type GetActionQuery = {
2624
2750
  } | {
2625
2751
  __typename: 'PiiMaskingAction';
2626
2752
  name: string;
2753
+ region?: string | null;
2627
2754
  actionName?: string | null;
2628
2755
  notes?: string | null;
2629
2756
  disabled: boolean;
@@ -2647,6 +2774,7 @@ export type GetActionQuery = {
2647
2774
  } | {
2648
2775
  __typename: 'ProcessorAdditionAction';
2649
2776
  name: string;
2777
+ region?: string | null;
2650
2778
  actionName?: string | null;
2651
2779
  notes?: string | null;
2652
2780
  disabled: boolean;
@@ -2663,6 +2791,7 @@ export type GetActionQuery = {
2663
2791
  } | {
2664
2792
  __typename: 'RenameAttributeAction';
2665
2793
  name: string;
2794
+ region?: string | null;
2666
2795
  actionName?: string | null;
2667
2796
  notes?: string | null;
2668
2797
  disabled: boolean;
@@ -2681,6 +2810,7 @@ export type GetActionQuery = {
2681
2810
  } | {
2682
2811
  __typename: 'SpanMetricsAction';
2683
2812
  name: string;
2813
+ region?: string | null;
2684
2814
  actionName?: string | null;
2685
2815
  notes?: string | null;
2686
2816
  disabled: boolean;
@@ -2703,6 +2833,7 @@ export type GetActionQuery = {
2703
2833
  } | {
2704
2834
  __typename: 'URLTemplatizationAction';
2705
2835
  name: string;
2836
+ region?: string | null;
2706
2837
  actionName?: string | null;
2707
2838
  notes?: string | null;
2708
2839
  disabled: boolean;
@@ -2726,13 +2857,14 @@ export type GetActionQuery = {
2726
2857
  } | null;
2727
2858
  };
2728
2859
  export type GetActionsQueryVariables = Exact<{
2729
- [key: string]: never;
2860
+ region?: InputMaybe<Scalars['String']['input']>;
2730
2861
  }>;
2731
2862
  export type GetActionsQuery = {
2732
2863
  __typename?: 'Query';
2733
2864
  actions: Array<{
2734
2865
  __typename: 'DbQueryTemplatizationAction';
2735
2866
  name: string;
2867
+ region?: string | null;
2736
2868
  actionName?: string | null;
2737
2869
  notes?: string | null;
2738
2870
  disabled: boolean;
@@ -2748,6 +2880,7 @@ export type GetActionsQuery = {
2748
2880
  } | {
2749
2881
  __typename: 'DeleteAttributeAction';
2750
2882
  name: string;
2883
+ region?: string | null;
2751
2884
  actionName?: string | null;
2752
2885
  notes?: string | null;
2753
2886
  disabled: boolean;
@@ -2762,6 +2895,7 @@ export type GetActionsQuery = {
2762
2895
  } | {
2763
2896
  __typename: 'ExtractAttributeAction';
2764
2897
  name: string;
2898
+ region?: string | null;
2765
2899
  actionName?: string | null;
2766
2900
  notes?: string | null;
2767
2901
  disabled: boolean;
@@ -2782,6 +2916,7 @@ export type GetActionsQuery = {
2782
2916
  } | {
2783
2917
  __typename: 'InferDbAttributesAction';
2784
2918
  name: string;
2919
+ region?: string | null;
2785
2920
  actionName?: string | null;
2786
2921
  notes?: string | null;
2787
2922
  disabled: boolean;
@@ -2792,6 +2927,7 @@ export type GetActionsQuery = {
2792
2927
  } | {
2793
2928
  __typename: 'PiiMaskingAction';
2794
2929
  name: string;
2930
+ region?: string | null;
2795
2931
  actionName?: string | null;
2796
2932
  notes?: string | null;
2797
2933
  disabled: boolean;
@@ -2815,6 +2951,7 @@ export type GetActionsQuery = {
2815
2951
  } | {
2816
2952
  __typename: 'ProcessorAdditionAction';
2817
2953
  name: string;
2954
+ region?: string | null;
2818
2955
  actionName?: string | null;
2819
2956
  notes?: string | null;
2820
2957
  disabled: boolean;
@@ -2831,6 +2968,7 @@ export type GetActionsQuery = {
2831
2968
  } | {
2832
2969
  __typename: 'RenameAttributeAction';
2833
2970
  name: string;
2971
+ region?: string | null;
2834
2972
  actionName?: string | null;
2835
2973
  notes?: string | null;
2836
2974
  disabled: boolean;
@@ -2849,6 +2987,7 @@ export type GetActionsQuery = {
2849
2987
  } | {
2850
2988
  __typename: 'SpanMetricsAction';
2851
2989
  name: string;
2990
+ region?: string | null;
2852
2991
  actionName?: string | null;
2853
2992
  notes?: string | null;
2854
2993
  disabled: boolean;
@@ -2871,6 +3010,7 @@ export type GetActionsQuery = {
2871
3010
  } | {
2872
3011
  __typename: 'URLTemplatizationAction';
2873
3012
  name: string;
3013
+ region?: string | null;
2874
3014
  actionName?: string | null;
2875
3015
  notes?: string | null;
2876
3016
  disabled: boolean;
@@ -2901,6 +3041,7 @@ export type CreateActionMutation = {
2901
3041
  createAction: {
2902
3042
  __typename: 'DbQueryTemplatizationAction';
2903
3043
  name: string;
3044
+ region?: string | null;
2904
3045
  actionName?: string | null;
2905
3046
  notes?: string | null;
2906
3047
  disabled: boolean;
@@ -2916,6 +3057,7 @@ export type CreateActionMutation = {
2916
3057
  } | {
2917
3058
  __typename: 'DeleteAttributeAction';
2918
3059
  name: string;
3060
+ region?: string | null;
2919
3061
  actionName?: string | null;
2920
3062
  notes?: string | null;
2921
3063
  disabled: boolean;
@@ -2930,6 +3072,7 @@ export type CreateActionMutation = {
2930
3072
  } | {
2931
3073
  __typename: 'ExtractAttributeAction';
2932
3074
  name: string;
3075
+ region?: string | null;
2933
3076
  actionName?: string | null;
2934
3077
  notes?: string | null;
2935
3078
  disabled: boolean;
@@ -2950,6 +3093,7 @@ export type CreateActionMutation = {
2950
3093
  } | {
2951
3094
  __typename: 'InferDbAttributesAction';
2952
3095
  name: string;
3096
+ region?: string | null;
2953
3097
  actionName?: string | null;
2954
3098
  notes?: string | null;
2955
3099
  disabled: boolean;
@@ -2960,6 +3104,7 @@ export type CreateActionMutation = {
2960
3104
  } | {
2961
3105
  __typename: 'PiiMaskingAction';
2962
3106
  name: string;
3107
+ region?: string | null;
2963
3108
  actionName?: string | null;
2964
3109
  notes?: string | null;
2965
3110
  disabled: boolean;
@@ -2983,6 +3128,7 @@ export type CreateActionMutation = {
2983
3128
  } | {
2984
3129
  __typename: 'ProcessorAdditionAction';
2985
3130
  name: string;
3131
+ region?: string | null;
2986
3132
  actionName?: string | null;
2987
3133
  notes?: string | null;
2988
3134
  disabled: boolean;
@@ -2999,6 +3145,7 @@ export type CreateActionMutation = {
2999
3145
  } | {
3000
3146
  __typename: 'RenameAttributeAction';
3001
3147
  name: string;
3148
+ region?: string | null;
3002
3149
  actionName?: string | null;
3003
3150
  notes?: string | null;
3004
3151
  disabled: boolean;
@@ -3017,6 +3164,7 @@ export type CreateActionMutation = {
3017
3164
  } | {
3018
3165
  __typename: 'SpanMetricsAction';
3019
3166
  name: string;
3167
+ region?: string | null;
3020
3168
  actionName?: string | null;
3021
3169
  notes?: string | null;
3022
3170
  disabled: boolean;
@@ -3039,6 +3187,7 @@ export type CreateActionMutation = {
3039
3187
  } | {
3040
3188
  __typename: 'URLTemplatizationAction';
3041
3189
  name: string;
3190
+ region?: string | null;
3042
3191
  actionName?: string | null;
3043
3192
  notes?: string | null;
3044
3193
  disabled: boolean;
@@ -3069,6 +3218,7 @@ export type UpdateActionMutation = {
3069
3218
  updateAction: {
3070
3219
  __typename: 'DbQueryTemplatizationAction';
3071
3220
  name: string;
3221
+ region?: string | null;
3072
3222
  actionName?: string | null;
3073
3223
  notes?: string | null;
3074
3224
  disabled: boolean;
@@ -3084,6 +3234,7 @@ export type UpdateActionMutation = {
3084
3234
  } | {
3085
3235
  __typename: 'DeleteAttributeAction';
3086
3236
  name: string;
3237
+ region?: string | null;
3087
3238
  actionName?: string | null;
3088
3239
  notes?: string | null;
3089
3240
  disabled: boolean;
@@ -3098,6 +3249,7 @@ export type UpdateActionMutation = {
3098
3249
  } | {
3099
3250
  __typename: 'ExtractAttributeAction';
3100
3251
  name: string;
3252
+ region?: string | null;
3101
3253
  actionName?: string | null;
3102
3254
  notes?: string | null;
3103
3255
  disabled: boolean;
@@ -3118,6 +3270,7 @@ export type UpdateActionMutation = {
3118
3270
  } | {
3119
3271
  __typename: 'InferDbAttributesAction';
3120
3272
  name: string;
3273
+ region?: string | null;
3121
3274
  actionName?: string | null;
3122
3275
  notes?: string | null;
3123
3276
  disabled: boolean;
@@ -3128,6 +3281,7 @@ export type UpdateActionMutation = {
3128
3281
  } | {
3129
3282
  __typename: 'PiiMaskingAction';
3130
3283
  name: string;
3284
+ region?: string | null;
3131
3285
  actionName?: string | null;
3132
3286
  notes?: string | null;
3133
3287
  disabled: boolean;
@@ -3151,6 +3305,7 @@ export type UpdateActionMutation = {
3151
3305
  } | {
3152
3306
  __typename: 'ProcessorAdditionAction';
3153
3307
  name: string;
3308
+ region?: string | null;
3154
3309
  actionName?: string | null;
3155
3310
  notes?: string | null;
3156
3311
  disabled: boolean;
@@ -3167,6 +3322,7 @@ export type UpdateActionMutation = {
3167
3322
  } | {
3168
3323
  __typename: 'RenameAttributeAction';
3169
3324
  name: string;
3325
+ region?: string | null;
3170
3326
  actionName?: string | null;
3171
3327
  notes?: string | null;
3172
3328
  disabled: boolean;
@@ -3185,6 +3341,7 @@ export type UpdateActionMutation = {
3185
3341
  } | {
3186
3342
  __typename: 'SpanMetricsAction';
3187
3343
  name: string;
3344
+ region?: string | null;
3188
3345
  actionName?: string | null;
3189
3346
  notes?: string | null;
3190
3347
  disabled: boolean;
@@ -3207,6 +3364,7 @@ export type UpdateActionMutation = {
3207
3364
  } | {
3208
3365
  __typename: 'URLTemplatizationAction';
3209
3366
  name: string;
3367
+ region?: string | null;
3210
3368
  actionName?: string | null;
3211
3369
  notes?: string | null;
3212
3370
  disabled: boolean;
@@ -3722,7 +3880,45 @@ type InstrumentationRuleFields_PayloadCollectionRule_Fragment = {
3722
3880
  collectMessaging?: boolean | null;
3723
3881
  } | null;
3724
3882
  };
3725
- export type InstrumentationRuleFieldsFragment = InstrumentationRuleFields_CodeAttributesRule_Fragment | InstrumentationRuleFields_CustomInstrumentationRule_Fragment | InstrumentationRuleFields_HeadersCollectionRule_Fragment | InstrumentationRuleFields_PayloadCollectionRule_Fragment;
3883
+ type InstrumentationRuleFields_SamplingRule_Fragment = {
3884
+ __typename: 'SamplingRule';
3885
+ name: string;
3886
+ ruleType: RuleType;
3887
+ enabled: boolean;
3888
+ notes?: string | null;
3889
+ config?: {
3890
+ __typename?: 'SamplingConfig';
3891
+ noisyOperations?: Array<{
3892
+ __typename?: 'NoisyOperation';
3893
+ name: string;
3894
+ disabled?: boolean | null;
3895
+ notes?: string | null;
3896
+ percentageAtMost?: number | null;
3897
+ sourceScopes?: {
3898
+ __typename?: 'SamplingSourceScopes';
3899
+ services?: Array<string> | null;
3900
+ languages?: Array<string> | null;
3901
+ } | null;
3902
+ operation?: {
3903
+ __typename?: 'HeadSamplingOperationMatcher';
3904
+ httpServer?: {
3905
+ __typename?: 'HeadSamplingHttpServerMatcher';
3906
+ route?: string | null;
3907
+ routePrefix?: string | null;
3908
+ method?: string | null;
3909
+ } | null;
3910
+ httpClient?: {
3911
+ __typename?: 'HeadSamplingHttpClientMatcher';
3912
+ serverAddress?: string | null;
3913
+ templatedPath?: string | null;
3914
+ templatedPathPrefix?: string | null;
3915
+ method?: string | null;
3916
+ } | null;
3917
+ } | null;
3918
+ }> | null;
3919
+ } | null;
3920
+ };
3921
+ export type InstrumentationRuleFieldsFragment = InstrumentationRuleFields_CodeAttributesRule_Fragment | InstrumentationRuleFields_CustomInstrumentationRule_Fragment | InstrumentationRuleFields_HeadersCollectionRule_Fragment | InstrumentationRuleFields_PayloadCollectionRule_Fragment | InstrumentationRuleFields_SamplingRule_Fragment;
3726
3922
  export type GetInstrumentationRuleQueryVariables = Exact<{
3727
3923
  name: Scalars['String']['input'];
3728
3924
  }>;
@@ -3791,6 +3987,43 @@ export type GetInstrumentationRuleQuery = {
3791
3987
  collectDbQuery?: boolean | null;
3792
3988
  collectMessaging?: boolean | null;
3793
3989
  } | null;
3990
+ } | {
3991
+ __typename: 'SamplingRule';
3992
+ name: string;
3993
+ ruleType: RuleType;
3994
+ enabled: boolean;
3995
+ notes?: string | null;
3996
+ config?: {
3997
+ __typename?: 'SamplingConfig';
3998
+ noisyOperations?: Array<{
3999
+ __typename?: 'NoisyOperation';
4000
+ name: string;
4001
+ disabled?: boolean | null;
4002
+ notes?: string | null;
4003
+ percentageAtMost?: number | null;
4004
+ sourceScopes?: {
4005
+ __typename?: 'SamplingSourceScopes';
4006
+ services?: Array<string> | null;
4007
+ languages?: Array<string> | null;
4008
+ } | null;
4009
+ operation?: {
4010
+ __typename?: 'HeadSamplingOperationMatcher';
4011
+ httpServer?: {
4012
+ __typename?: 'HeadSamplingHttpServerMatcher';
4013
+ route?: string | null;
4014
+ routePrefix?: string | null;
4015
+ method?: string | null;
4016
+ } | null;
4017
+ httpClient?: {
4018
+ __typename?: 'HeadSamplingHttpClientMatcher';
4019
+ serverAddress?: string | null;
4020
+ templatedPath?: string | null;
4021
+ templatedPathPrefix?: string | null;
4022
+ method?: string | null;
4023
+ } | null;
4024
+ } | null;
4025
+ }> | null;
4026
+ } | null;
3794
4027
  } | null;
3795
4028
  };
3796
4029
  export type GetInstrumentationRulesQueryVariables = Exact<{
@@ -3861,6 +4094,43 @@ export type GetInstrumentationRulesQuery = {
3861
4094
  collectDbQuery?: boolean | null;
3862
4095
  collectMessaging?: boolean | null;
3863
4096
  } | null;
4097
+ } | {
4098
+ __typename: 'SamplingRule';
4099
+ name: string;
4100
+ ruleType: RuleType;
4101
+ enabled: boolean;
4102
+ notes?: string | null;
4103
+ config?: {
4104
+ __typename?: 'SamplingConfig';
4105
+ noisyOperations?: Array<{
4106
+ __typename?: 'NoisyOperation';
4107
+ name: string;
4108
+ disabled?: boolean | null;
4109
+ notes?: string | null;
4110
+ percentageAtMost?: number | null;
4111
+ sourceScopes?: {
4112
+ __typename?: 'SamplingSourceScopes';
4113
+ services?: Array<string> | null;
4114
+ languages?: Array<string> | null;
4115
+ } | null;
4116
+ operation?: {
4117
+ __typename?: 'HeadSamplingOperationMatcher';
4118
+ httpServer?: {
4119
+ __typename?: 'HeadSamplingHttpServerMatcher';
4120
+ route?: string | null;
4121
+ routePrefix?: string | null;
4122
+ method?: string | null;
4123
+ } | null;
4124
+ httpClient?: {
4125
+ __typename?: 'HeadSamplingHttpClientMatcher';
4126
+ serverAddress?: string | null;
4127
+ templatedPath?: string | null;
4128
+ templatedPathPrefix?: string | null;
4129
+ method?: string | null;
4130
+ } | null;
4131
+ } | null;
4132
+ }> | null;
4133
+ } | null;
3864
4134
  }>;
3865
4135
  };
3866
4136
  export type CreateInstrumentationRuleMutationVariables = Exact<{
@@ -3931,6 +4201,43 @@ export type CreateInstrumentationRuleMutation = {
3931
4201
  collectDbQuery?: boolean | null;
3932
4202
  collectMessaging?: boolean | null;
3933
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;
3934
4241
  };
3935
4242
  };
3936
4243
  export type UpdateInstrumentationRuleMutationVariables = Exact<{
@@ -4001,6 +4308,43 @@ export type UpdateInstrumentationRuleMutation = {
4001
4308
  collectDbQuery?: boolean | null;
4002
4309
  collectMessaging?: boolean | null;
4003
4310
  } | null;
4311
+ } | {
4312
+ __typename: 'SamplingRule';
4313
+ name: string;
4314
+ ruleType: RuleType;
4315
+ enabled: boolean;
4316
+ notes?: string | null;
4317
+ config?: {
4318
+ __typename?: 'SamplingConfig';
4319
+ noisyOperations?: Array<{
4320
+ __typename?: 'NoisyOperation';
4321
+ name: string;
4322
+ disabled?: boolean | null;
4323
+ notes?: string | null;
4324
+ percentageAtMost?: number | null;
4325
+ sourceScopes?: {
4326
+ __typename?: 'SamplingSourceScopes';
4327
+ services?: Array<string> | null;
4328
+ languages?: Array<string> | null;
4329
+ } | null;
4330
+ operation?: {
4331
+ __typename?: 'HeadSamplingOperationMatcher';
4332
+ httpServer?: {
4333
+ __typename?: 'HeadSamplingHttpServerMatcher';
4334
+ route?: string | null;
4335
+ routePrefix?: string | null;
4336
+ method?: string | null;
4337
+ } | null;
4338
+ httpClient?: {
4339
+ __typename?: 'HeadSamplingHttpClientMatcher';
4340
+ serverAddress?: string | null;
4341
+ templatedPath?: string | null;
4342
+ templatedPathPrefix?: string | null;
4343
+ method?: string | null;
4344
+ } | null;
4345
+ } | null;
4346
+ }> | null;
4347
+ } | null;
4004
4348
  };
4005
4349
  };
4006
4350
  export type DeleteInstrumentationRuleMutationVariables = Exact<{