@odigos/vmagent-api-apollo-client 0.14.0 → 0.15.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.
@@ -4,6 +4,7 @@ import * as v0_10_0 from "./v0_10_0/graphql";
4
4
  import * as v0_11_0 from "./v0_11_0/graphql";
5
5
  import * as v0_12_0 from "./v0_12_0/graphql";
6
6
  import * as v0_14_0 from "./v0_14_0/graphql";
7
+ import * as v0_15_0 from "./v0_15_0/graphql";
7
8
  import * as nextDialect from "./next/graphql";
8
9
  export declare const dialects: {
9
10
  readonly "v0.6.0": typeof v0_6_0;
@@ -12,6 +13,7 @@ export declare const dialects: {
12
13
  readonly "v0.11.0": typeof v0_11_0;
13
14
  readonly "v0.12.0": typeof v0_12_0;
14
15
  readonly "v0.14.0": typeof v0_14_0;
16
+ readonly "v0.15.0": typeof v0_15_0;
15
17
  };
16
18
  export declare const NEXT_DIALECT: typeof nextDialect;
17
- export declare const LATEST_DIALECT_VERSION: "v0.14.0";
19
+ export declare const LATEST_DIALECT_VERSION: "v0.15.0";
@@ -8,6 +8,7 @@ import * as v0_10_0 from "./v0_10_0/graphql";
8
8
  import * as v0_11_0 from "./v0_11_0/graphql";
9
9
  import * as v0_12_0 from "./v0_12_0/graphql";
10
10
  import * as v0_14_0 from "./v0_14_0/graphql";
11
+ import * as v0_15_0 from "./v0_15_0/graphql";
11
12
  import * as nextDialect from "./next/graphql";
12
13
  // Every frozen dialect, keyed by its snapshot version. The published package
13
14
  // ships all of them so central-ui can resolve a dialect per connected
@@ -19,9 +20,10 @@ export const dialects = {
19
20
  "v0.11.0": v0_11_0,
20
21
  "v0.12.0": v0_12_0,
21
22
  "v0.14.0": v0_14_0,
23
+ "v0.15.0": v0_15_0,
22
24
  };
23
25
  // The live, unreleased dialect (generated from graphql/ HEAD). Deliberately
24
26
  // excluded from `dialects` so it never participates in version resolution.
25
27
  export const NEXT_DIALECT = nextDialect;
26
28
  // Highest frozen dialect: the default surface and the floor-resolution ceiling.
27
- export const LATEST_DIALECT_VERSION = "v0.14.0";
29
+ export const LATEST_DIALECT_VERSION = "v0.15.0";
@@ -100,7 +100,9 @@ export type CodeAttributesConfigInput = {
100
100
  export type CodeAttributesRule = InstrumentationRule & {
101
101
  __typename?: 'CodeAttributesRule';
102
102
  config?: Maybe<CodeAttributesConfig>;
103
+ enabled: Scalars['Boolean']['output'];
103
104
  name: Scalars['String']['output'];
105
+ notes?: Maybe<Scalars['String']['output']>;
104
106
  ruleType: RuleType;
105
107
  };
106
108
  export type CppProbe = {
@@ -135,7 +137,9 @@ export type CreateInstrumentationRuleInput = {
135
137
  codeAttributes?: InputMaybe<CodeAttributesConfigInput>;
136
138
  /** Exactly one config branch must match ruleType (validated server-side). */
137
139
  customInstrumentation?: InputMaybe<CustomInstrumentationConfigInput>;
140
+ enabled: Scalars['Boolean']['input'];
138
141
  name: Scalars['String']['input'];
142
+ notes?: InputMaybe<Scalars['String']['input']>;
139
143
  payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
140
144
  ruleType: RuleType;
141
145
  };
@@ -160,7 +164,9 @@ export type CustomInstrumentationConfigInput = {
160
164
  export type CustomInstrumentationRule = InstrumentationRule & {
161
165
  __typename?: 'CustomInstrumentationRule';
162
166
  config?: Maybe<CustomInstrumentationConfig>;
167
+ enabled: Scalars['Boolean']['output'];
163
168
  name: Scalars['String']['output'];
169
+ notes?: Maybe<Scalars['String']['output']>;
164
170
  ruleType: RuleType;
165
171
  };
166
172
  export type CustomReadDataLabel = {
@@ -279,7 +285,9 @@ export type HeadersCollectionConfigInput = {
279
285
  export type HeadersCollectionRule = InstrumentationRule & {
280
286
  __typename?: 'HeadersCollectionRule';
281
287
  config?: Maybe<HeadersCollectionConfig>;
288
+ enabled: Scalars['Boolean']['output'];
282
289
  name: Scalars['String']['output'];
290
+ notes?: Maybe<Scalars['String']['output']>;
283
291
  ruleType: RuleType;
284
292
  };
285
293
  export type HostInfo = {
@@ -309,9 +317,29 @@ export type HotFunctionsResult = {
309
317
  services: Array<ServiceHotFunctions>;
310
318
  };
311
319
  export type InstrumentationRule = {
320
+ enabled: Scalars['Boolean']['output'];
312
321
  name: Scalars['String']['output'];
322
+ notes?: Maybe<Scalars['String']['output']>;
313
323
  ruleType: RuleType;
314
324
  };
325
+ export type InstrumentationRuleField = {
326
+ __typename?: 'InstrumentationRuleField';
327
+ componentProperties: Scalars['String']['output'];
328
+ componentType: Scalars['String']['output'];
329
+ displayName: Scalars['String']['output'];
330
+ initialValue?: Maybe<Scalars['String']['output']>;
331
+ name: Scalars['String']['output'];
332
+ renderCondition?: Maybe<Scalars['String']['output']>;
333
+ };
334
+ export type InstrumentationRuleTypeOption = {
335
+ __typename?: 'InstrumentationRuleTypeOption';
336
+ description: Scalars['String']['output'];
337
+ displayName: Scalars['String']['output'];
338
+ docsUrl: Scalars['String']['output'];
339
+ fields: Array<InstrumentationRuleField>;
340
+ supportedLanguages: Array<Scalars['String']['output']>;
341
+ type: Scalars['String']['output'];
342
+ };
315
343
  export type JavaProbe = {
316
344
  __typename?: 'JavaProbe';
317
345
  className: Scalars['String']['output'];
@@ -415,7 +443,9 @@ export type PayloadCollectionConfigInput = {
415
443
  export type PayloadCollectionRule = InstrumentationRule & {
416
444
  __typename?: 'PayloadCollectionRule';
417
445
  config?: Maybe<PayloadCollectionConfig>;
446
+ enabled: Scalars['Boolean']['output'];
418
447
  name: Scalars['String']['output'];
448
+ notes?: Maybe<Scalars['String']['output']>;
419
449
  ruleType: RuleType;
420
450
  };
421
451
  export type PipelineCounters = {
@@ -490,6 +520,7 @@ export type Query = {
490
520
  destinationTypes: Array<DestinationType>;
491
521
  destinations: Array<Destination>;
492
522
  instrumentationRule?: Maybe<InstrumentationRule>;
523
+ instrumentationRuleTypes: Array<InstrumentationRuleTypeOption>;
493
524
  instrumentationRules: Array<InstrumentationRule>;
494
525
  pipelineCounters: PipelineCounters;
495
526
  profileBundleStatus: ProfileBundleStatus;
@@ -703,7 +734,9 @@ export type UpdateInstrumentationRuleInput = {
703
734
  HeadersCollection?: InputMaybe<HeadersCollectionConfigInput>;
704
735
  codeAttributes?: InputMaybe<CodeAttributesConfigInput>;
705
736
  customInstrumentation?: InputMaybe<CustomInstrumentationConfigInput>;
737
+ enabled: Scalars['Boolean']['input'];
706
738
  name: Scalars['String']['input'];
739
+ notes?: InputMaybe<Scalars['String']['input']>;
707
740
  payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
708
741
  ruleType?: InputMaybe<RuleType>;
709
742
  };
@@ -1383,10 +1416,52 @@ export type TestConnectionMutation = {
1383
1416
  reason?: string | null;
1384
1417
  };
1385
1418
  };
1419
+ export type InstrumentationRuleTypeFieldsFragment = {
1420
+ __typename?: 'InstrumentationRuleTypeOption';
1421
+ type: string;
1422
+ displayName: string;
1423
+ description: string;
1424
+ supportedLanguages: Array<string>;
1425
+ docsUrl: string;
1426
+ fields: Array<{
1427
+ __typename?: 'InstrumentationRuleField';
1428
+ name: string;
1429
+ displayName: string;
1430
+ componentType: string;
1431
+ componentProperties: string;
1432
+ initialValue?: string | null;
1433
+ renderCondition?: string | null;
1434
+ }>;
1435
+ };
1436
+ export type GetInstrumentationRuleTypesQueryVariables = Exact<{
1437
+ [key: string]: never;
1438
+ }>;
1439
+ export type GetInstrumentationRuleTypesQuery = {
1440
+ __typename?: 'Query';
1441
+ instrumentationRuleTypes: Array<{
1442
+ __typename?: 'InstrumentationRuleTypeOption';
1443
+ type: string;
1444
+ displayName: string;
1445
+ description: string;
1446
+ supportedLanguages: Array<string>;
1447
+ docsUrl: string;
1448
+ fields: Array<{
1449
+ __typename?: 'InstrumentationRuleField';
1450
+ name: string;
1451
+ displayName: string;
1452
+ componentType: string;
1453
+ componentProperties: string;
1454
+ initialValue?: string | null;
1455
+ renderCondition?: string | null;
1456
+ }>;
1457
+ }>;
1458
+ };
1386
1459
  type InstrumentationRuleFields_CodeAttributesRule_Fragment = {
1387
1460
  __typename: 'CodeAttributesRule';
1388
1461
  name: string;
1389
1462
  ruleType: RuleType;
1463
+ enabled: boolean;
1464
+ notes?: string | null;
1390
1465
  config?: {
1391
1466
  __typename?: 'CodeAttributesConfig';
1392
1467
  collectFilePath?: boolean | null;
@@ -1401,6 +1476,8 @@ type InstrumentationRuleFields_CustomInstrumentationRule_Fragment = {
1401
1476
  __typename: 'CustomInstrumentationRule';
1402
1477
  name: string;
1403
1478
  ruleType: RuleType;
1479
+ enabled: boolean;
1480
+ notes?: string | null;
1404
1481
  config?: {
1405
1482
  __typename?: 'CustomInstrumentationConfig';
1406
1483
  java?: Array<{
@@ -1425,6 +1502,8 @@ type InstrumentationRuleFields_HeadersCollectionRule_Fragment = {
1425
1502
  __typename: 'HeadersCollectionRule';
1426
1503
  name: string;
1427
1504
  ruleType: RuleType;
1505
+ enabled: boolean;
1506
+ notes?: string | null;
1428
1507
  config?: {
1429
1508
  __typename?: 'HeadersCollectionConfig';
1430
1509
  headerKeys: Array<string>;
@@ -1434,6 +1513,8 @@ type InstrumentationRuleFields_PayloadCollectionRule_Fragment = {
1434
1513
  __typename: 'PayloadCollectionRule';
1435
1514
  name: string;
1436
1515
  ruleType: RuleType;
1516
+ enabled: boolean;
1517
+ notes?: string | null;
1437
1518
  config?: {
1438
1519
  __typename?: 'PayloadCollectionConfig';
1439
1520
  collectHttpRequest?: boolean | null;
@@ -1452,6 +1533,8 @@ export type GetInstrumentationRuleQuery = {
1452
1533
  __typename: 'CodeAttributesRule';
1453
1534
  name: string;
1454
1535
  ruleType: RuleType;
1536
+ enabled: boolean;
1537
+ notes?: string | null;
1455
1538
  config?: {
1456
1539
  __typename?: 'CodeAttributesConfig';
1457
1540
  collectFilePath?: boolean | null;
@@ -1465,6 +1548,8 @@ export type GetInstrumentationRuleQuery = {
1465
1548
  __typename: 'CustomInstrumentationRule';
1466
1549
  name: string;
1467
1550
  ruleType: RuleType;
1551
+ enabled: boolean;
1552
+ notes?: string | null;
1468
1553
  config?: {
1469
1554
  __typename?: 'CustomInstrumentationConfig';
1470
1555
  java?: Array<{
@@ -1488,6 +1573,8 @@ export type GetInstrumentationRuleQuery = {
1488
1573
  __typename: 'HeadersCollectionRule';
1489
1574
  name: string;
1490
1575
  ruleType: RuleType;
1576
+ enabled: boolean;
1577
+ notes?: string | null;
1491
1578
  config?: {
1492
1579
  __typename?: 'HeadersCollectionConfig';
1493
1580
  headerKeys: Array<string>;
@@ -1496,6 +1583,8 @@ export type GetInstrumentationRuleQuery = {
1496
1583
  __typename: 'PayloadCollectionRule';
1497
1584
  name: string;
1498
1585
  ruleType: RuleType;
1586
+ enabled: boolean;
1587
+ notes?: string | null;
1499
1588
  config?: {
1500
1589
  __typename?: 'PayloadCollectionConfig';
1501
1590
  collectHttpRequest?: boolean | null;
@@ -1514,6 +1603,8 @@ export type GetInstrumentationRulesQuery = {
1514
1603
  __typename: 'CodeAttributesRule';
1515
1604
  name: string;
1516
1605
  ruleType: RuleType;
1606
+ enabled: boolean;
1607
+ notes?: string | null;
1517
1608
  config?: {
1518
1609
  __typename?: 'CodeAttributesConfig';
1519
1610
  collectFilePath?: boolean | null;
@@ -1527,6 +1618,8 @@ export type GetInstrumentationRulesQuery = {
1527
1618
  __typename: 'CustomInstrumentationRule';
1528
1619
  name: string;
1529
1620
  ruleType: RuleType;
1621
+ enabled: boolean;
1622
+ notes?: string | null;
1530
1623
  config?: {
1531
1624
  __typename?: 'CustomInstrumentationConfig';
1532
1625
  java?: Array<{
@@ -1550,6 +1643,8 @@ export type GetInstrumentationRulesQuery = {
1550
1643
  __typename: 'HeadersCollectionRule';
1551
1644
  name: string;
1552
1645
  ruleType: RuleType;
1646
+ enabled: boolean;
1647
+ notes?: string | null;
1553
1648
  config?: {
1554
1649
  __typename?: 'HeadersCollectionConfig';
1555
1650
  headerKeys: Array<string>;
@@ -1558,6 +1653,8 @@ export type GetInstrumentationRulesQuery = {
1558
1653
  __typename: 'PayloadCollectionRule';
1559
1654
  name: string;
1560
1655
  ruleType: RuleType;
1656
+ enabled: boolean;
1657
+ notes?: string | null;
1561
1658
  config?: {
1562
1659
  __typename?: 'PayloadCollectionConfig';
1563
1660
  collectHttpRequest?: boolean | null;
@@ -1576,6 +1673,8 @@ export type CreateInstrumentationRuleMutation = {
1576
1673
  __typename: 'CodeAttributesRule';
1577
1674
  name: string;
1578
1675
  ruleType: RuleType;
1676
+ enabled: boolean;
1677
+ notes?: string | null;
1579
1678
  config?: {
1580
1679
  __typename?: 'CodeAttributesConfig';
1581
1680
  collectFilePath?: boolean | null;
@@ -1589,6 +1688,8 @@ export type CreateInstrumentationRuleMutation = {
1589
1688
  __typename: 'CustomInstrumentationRule';
1590
1689
  name: string;
1591
1690
  ruleType: RuleType;
1691
+ enabled: boolean;
1692
+ notes?: string | null;
1592
1693
  config?: {
1593
1694
  __typename?: 'CustomInstrumentationConfig';
1594
1695
  java?: Array<{
@@ -1612,6 +1713,8 @@ export type CreateInstrumentationRuleMutation = {
1612
1713
  __typename: 'HeadersCollectionRule';
1613
1714
  name: string;
1614
1715
  ruleType: RuleType;
1716
+ enabled: boolean;
1717
+ notes?: string | null;
1615
1718
  config?: {
1616
1719
  __typename?: 'HeadersCollectionConfig';
1617
1720
  headerKeys: Array<string>;
@@ -1620,6 +1723,8 @@ export type CreateInstrumentationRuleMutation = {
1620
1723
  __typename: 'PayloadCollectionRule';
1621
1724
  name: string;
1622
1725
  ruleType: RuleType;
1726
+ enabled: boolean;
1727
+ notes?: string | null;
1623
1728
  config?: {
1624
1729
  __typename?: 'PayloadCollectionConfig';
1625
1730
  collectHttpRequest?: boolean | null;
@@ -1638,6 +1743,8 @@ export type UpdateInstrumentationRuleMutation = {
1638
1743
  __typename: 'CodeAttributesRule';
1639
1744
  name: string;
1640
1745
  ruleType: RuleType;
1746
+ enabled: boolean;
1747
+ notes?: string | null;
1641
1748
  config?: {
1642
1749
  __typename?: 'CodeAttributesConfig';
1643
1750
  collectFilePath?: boolean | null;
@@ -1651,6 +1758,8 @@ export type UpdateInstrumentationRuleMutation = {
1651
1758
  __typename: 'CustomInstrumentationRule';
1652
1759
  name: string;
1653
1760
  ruleType: RuleType;
1761
+ enabled: boolean;
1762
+ notes?: string | null;
1654
1763
  config?: {
1655
1764
  __typename?: 'CustomInstrumentationConfig';
1656
1765
  java?: Array<{
@@ -1674,6 +1783,8 @@ export type UpdateInstrumentationRuleMutation = {
1674
1783
  __typename: 'HeadersCollectionRule';
1675
1784
  name: string;
1676
1785
  ruleType: RuleType;
1786
+ enabled: boolean;
1787
+ notes?: string | null;
1677
1788
  config?: {
1678
1789
  __typename?: 'HeadersCollectionConfig';
1679
1790
  headerKeys: Array<string>;
@@ -1682,6 +1793,8 @@ export type UpdateInstrumentationRuleMutation = {
1682
1793
  __typename: 'PayloadCollectionRule';
1683
1794
  name: string;
1684
1795
  ruleType: RuleType;
1796
+ enabled: boolean;
1797
+ notes?: string | null;
1685
1798
  config?: {
1686
1799
  __typename?: 'PayloadCollectionConfig';
1687
1800
  collectHttpRequest?: boolean | null;
@@ -2314,6 +2427,7 @@ export declare const ActionTypeFieldsFragmentDoc: DocumentNode<ActionTypeFieldsF
2314
2427
  export declare const ActionFieldsFragmentDoc: DocumentNode<ActionFieldsFragment, unknown>;
2315
2428
  export declare const DestinationTypeFieldsFragmentDoc: DocumentNode<DestinationTypeFieldsFragment, unknown>;
2316
2429
  export declare const DestinationFieldsFragmentDoc: DocumentNode<DestinationFieldsFragment, unknown>;
2430
+ export declare const InstrumentationRuleTypeFieldsFragmentDoc: DocumentNode<InstrumentationRuleTypeFieldsFragment, unknown>;
2317
2431
  export declare const InstrumentationRuleFieldsFragmentDoc: DocumentNode<InstrumentationRuleFieldsFragment, unknown>;
2318
2432
  export declare const WorkloadReportFieldsFragmentDoc: DocumentNode<WorkloadReportFieldsFragment, unknown>;
2319
2433
  export declare const GetActionTypesDocument: DocumentNode<GetActionTypesQuery, GetActionTypesQueryVariables>;
@@ -2332,6 +2446,7 @@ export declare const CreateDestinationDocument: DocumentNode<CreateDestinationMu
2332
2446
  export declare const UpdateDestinationDocument: DocumentNode<UpdateDestinationMutation, UpdateDestinationMutationVariables>;
2333
2447
  export declare const DeleteDestinationDocument: DocumentNode<DeleteDestinationMutation, DeleteDestinationMutationVariables>;
2334
2448
  export declare const TestConnectionDocument: DocumentNode<TestConnectionMutation, TestConnectionMutationVariables>;
2449
+ export declare const GetInstrumentationRuleTypesDocument: DocumentNode<GetInstrumentationRuleTypesQuery, GetInstrumentationRuleTypesQueryVariables>;
2335
2450
  export declare const GetInstrumentationRuleDocument: DocumentNode<GetInstrumentationRuleQuery, GetInstrumentationRuleQueryVariables>;
2336
2451
  export declare const GetInstrumentationRulesDocument: DocumentNode<GetInstrumentationRulesQuery, GetInstrumentationRulesQueryVariables>;
2337
2452
  export declare const CreateInstrumentationRuleDocument: DocumentNode<CreateInstrumentationRuleMutation, CreateInstrumentationRuleMutationVariables>;