@odigos/vmagent-api-apollo-client 0.0.0 → 0.9.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.
@@ -391,6 +391,32 @@ export type HeadersCollectionRuleV2 = InstrumentationRuleV2 & {
391
391
  name: Scalars['String']['output'];
392
392
  ruleType: RuleTypeV2;
393
393
  };
394
+ export type HostInfoV2 = {
395
+ __typename?: 'HostInfoV2';
396
+ arch: Scalars['String']['output'];
397
+ hostname: Scalars['String']['output'];
398
+ kernel: Scalars['String']['output'];
399
+ os: Scalars['String']['output'];
400
+ };
401
+ export type HotFunctionV2 = {
402
+ __typename?: 'HotFunctionV2';
403
+ buildId?: Maybe<Scalars['String']['output']>;
404
+ instrumentable?: Maybe<Scalars['String']['output']>;
405
+ module: Scalars['String']['output'];
406
+ name: Scalars['String']['output'];
407
+ offset?: Maybe<Scalars['Float']['output']>;
408
+ self: Scalars['Float']['output'];
409
+ size?: Maybe<Scalars['Float']['output']>;
410
+ total: Scalars['Float']['output'];
411
+ };
412
+ export type HotFunctionsResultV2 = {
413
+ __typename?: 'HotFunctionsResultV2';
414
+ cache?: Maybe<ProfileCacheStatsV2>;
415
+ dynamicInstrumentation: Scalars['Boolean']['output'];
416
+ enabled: Scalars['Boolean']['output'];
417
+ host?: Maybe<HostInfoV2>;
418
+ services: Array<ServiceHotFunctionsV2>;
419
+ };
394
420
  export type InstrumentationRule = {
395
421
  __typename?: 'InstrumentationRule';
396
422
  config: Scalars['JSON']['output'];
@@ -417,6 +443,8 @@ export type JavaProbeV2 = {
417
443
  };
418
444
  export type Mutation = {
419
445
  __typename?: 'Mutation';
446
+ cancelProfileBundleV2: Scalars['Boolean']['output'];
447
+ clearProfileCacheV2: Scalars['Boolean']['output'];
420
448
  createAction: ActionRef;
421
449
  createActionV2: ActionV2;
422
450
  createDestinationV2: DestinationV2;
@@ -431,9 +459,11 @@ export type Mutation = {
431
459
  deleteInstrumentationRuleV2: DeleteInstrumentationRulePayloadV2;
432
460
  deleteRule: Scalars['Boolean']['output'];
433
461
  deleteSourceV2: DeleteSourcePayloadV2;
462
+ generateProfileBundleV2: ProfileBundleV2;
434
463
  persistK8sNamespaces: Scalars['Boolean']['output'];
435
464
  persistK8sSources: Scalars['Boolean']['output'];
436
- testConnectionForDestination: DestinationConnectionTestResult;
465
+ startBackgroundProfileBundleV2: ProfileBundleStatusV2;
466
+ testConnectionForDestinationV2: TestConnectionResponseV2;
437
467
  updateAction: ActionRef;
438
468
  updateActionV2: ActionV2;
439
469
  updateAgentConfig: Scalars['JSON']['output'];
@@ -445,6 +475,9 @@ export type Mutation = {
445
475
  updateRule: RuleRef;
446
476
  updateSourceV2: SourceV2;
447
477
  };
478
+ export type MutationCancelProfileBundleV2Args = {
479
+ jobId: Scalars['String']['input'];
480
+ };
448
481
  export type MutationCreateActionArgs = {
449
482
  action: ActionInput;
450
483
  };
@@ -488,11 +521,19 @@ export type MutationDeleteRuleArgs = {
488
521
  export type MutationDeleteSourceV2Args = {
489
522
  input: DeleteSourceInputV2;
490
523
  };
524
+ export type MutationGenerateProfileBundleV2Args = {
525
+ durationSeconds?: InputMaybe<Scalars['Int']['input']>;
526
+ service?: InputMaybe<Scalars['String']['input']>;
527
+ };
491
528
  export type MutationPersistK8sSourcesArgs = {
492
529
  sources: Array<PersistSourceInput>;
493
530
  };
494
- export type MutationTestConnectionForDestinationArgs = {
495
- destination?: InputMaybe<Scalars['JSON']['input']>;
531
+ export type MutationStartBackgroundProfileBundleV2Args = {
532
+ durationSeconds?: InputMaybe<Scalars['Int']['input']>;
533
+ service?: InputMaybe<Scalars['String']['input']>;
534
+ };
535
+ export type MutationTestConnectionForDestinationV2Args = {
536
+ input: TestConnectionDestinationInputV2;
496
537
  };
497
538
  export type MutationUpdateActionArgs = {
498
539
  action: ActionInput;
@@ -622,6 +663,37 @@ export type ProcessorAdditionConfigV2 = {
622
663
  processorName?: Maybe<Scalars['String']['output']>;
623
664
  type: Scalars['String']['output'];
624
665
  };
666
+ export type ProfileBundleStatusV2 = {
667
+ __typename?: 'ProfileBundleStatusV2';
668
+ durationSec: Scalars['Int']['output'];
669
+ elapsedSec: Scalars['Int']['output'];
670
+ error?: Maybe<Scalars['String']['output']>;
671
+ errorKind?: Maybe<Scalars['String']['output']>;
672
+ filePath?: Maybe<Scalars['String']['output']>;
673
+ id: Scalars['String']['output'];
674
+ sampleBytes?: Maybe<Scalars['Float']['output']>;
675
+ startedAt: Scalars['String']['output'];
676
+ state: Scalars['String']['output'];
677
+ };
678
+ export type ProfileBundleV2 = {
679
+ __typename?: 'ProfileBundleV2';
680
+ createdAt: Scalars['String']['output'];
681
+ durationSec: Scalars['Int']['output'];
682
+ error?: Maybe<Scalars['String']['output']>;
683
+ errorKind?: Maybe<Scalars['String']['output']>;
684
+ filePath: Scalars['String']['output'];
685
+ id: Scalars['String']['output'];
686
+ sampleBytes: Scalars['Float']['output'];
687
+ };
688
+ export type ProfileCacheStatsV2 = {
689
+ __typename?: 'ProfileCacheStatsV2';
690
+ evictedSlotsTotal: Scalars['Float']['output'];
691
+ maxSlots: Scalars['Int']['output'];
692
+ maxTotalBytesBudget: Scalars['Float']['output'];
693
+ services: Scalars['Int']['output'];
694
+ slotMaxBytes: Scalars['Float']['output'];
695
+ totalBytes: Scalars['Float']['output'];
696
+ };
625
697
  export type Query = {
626
698
  __typename?: 'Query';
627
699
  actionV2?: Maybe<ActionV2>;
@@ -639,6 +711,8 @@ export type Query = {
639
711
  instrumentationRuleV2?: Maybe<InstrumentationRuleV2>;
640
712
  instrumentationRulesV2: Array<InstrumentationRuleV2>;
641
713
  potentialDestinations: Array<Scalars['JSON']['output']>;
714
+ profileBundleStatusV2: ProfileBundleStatusV2;
715
+ profileHotFunctionsV2: HotFunctionsResultV2;
642
716
  sourceConditions: Array<Source>;
643
717
  sourceV2?: Maybe<SourceV2>;
644
718
  sourcesV2: Array<SourceV2>;
@@ -655,6 +729,12 @@ export type QueryDestinationV2Args = {
655
729
  export type QueryInstrumentationRuleV2Args = {
656
730
  name: Scalars['String']['input'];
657
731
  };
732
+ export type QueryProfileBundleStatusV2Args = {
733
+ jobId: Scalars['String']['input'];
734
+ };
735
+ export type QueryProfileHotFunctionsV2Args = {
736
+ topN?: InputMaybe<Scalars['Int']['input']>;
737
+ };
658
738
  export type QuerySourceV2Args = {
659
739
  name: Scalars['String']['input'];
660
740
  };
@@ -681,6 +761,13 @@ export type RuntimeOverrideV2 = {
681
761
  language?: Maybe<Scalars['String']['output']>;
682
762
  version?: Maybe<Scalars['String']['output']>;
683
763
  };
764
+ export type ServiceHotFunctionsV2 = {
765
+ __typename?: 'ServiceHotFunctionsV2';
766
+ functions: Array<HotFunctionV2>;
767
+ language?: Maybe<Scalars['String']['output']>;
768
+ service: Scalars['String']['output'];
769
+ totalNanos: Scalars['Float']['output'];
770
+ };
684
771
  export type Source = {
685
772
  __typename?: 'Source';
686
773
  conditions: Array<SourceCondition>;
@@ -792,6 +879,18 @@ export declare enum TelemetrySignal {
792
879
  Profiles = "PROFILES",
793
880
  Traces = "TRACES"
794
881
  }
882
+ export type TestConnectionDestinationInputV2 = {
883
+ config?: InputMaybe<Scalars['JSON']['input']>;
884
+ type: Scalars['String']['input'];
885
+ };
886
+ export type TestConnectionResponseV2 = {
887
+ __typename?: 'TestConnectionResponseV2';
888
+ destinationType?: Maybe<Scalars['String']['output']>;
889
+ message?: Maybe<Scalars['String']['output']>;
890
+ reason?: Maybe<Scalars['String']['output']>;
891
+ statusCode: Scalars['Int']['output'];
892
+ succeeded: Scalars['Boolean']['output'];
893
+ };
795
894
  export type UrlTemplatizationActionV2 = ActionV2 & {
796
895
  __typename?: 'URLTemplatizationActionV2';
797
896
  actionName?: Maybe<Scalars['String']['output']>;
@@ -1506,6 +1605,20 @@ export type DeleteDestinationV2Mutation = {
1506
1605
  deleted: boolean;
1507
1606
  };
1508
1607
  };
1608
+ export type TestConnectionV2MutationVariables = Exact<{
1609
+ input: TestConnectionDestinationInputV2;
1610
+ }>;
1611
+ export type TestConnectionV2Mutation = {
1612
+ __typename?: 'Mutation';
1613
+ testConnectionForDestinationV2: {
1614
+ __typename?: 'TestConnectionResponseV2';
1615
+ succeeded: boolean;
1616
+ statusCode: number;
1617
+ destinationType?: string | null;
1618
+ message?: string | null;
1619
+ reason?: string | null;
1620
+ };
1621
+ };
1509
1622
  type InstrumentationRuleV2Fields_CodeAttributesRuleV2_Fragment = {
1510
1623
  __typename: 'CodeAttributesRuleV2';
1511
1624
  name: string;
@@ -1928,20 +2041,6 @@ export type PersistSourcesMutation = {
1928
2041
  __typename?: 'Mutation';
1929
2042
  persistK8sSources: boolean;
1930
2043
  };
1931
- export type TestConnectionMutationVariables = Exact<{
1932
- destination?: InputMaybe<Scalars['JSON']['input']>;
1933
- }>;
1934
- export type TestConnectionMutation = {
1935
- __typename?: 'Mutation';
1936
- testConnectionForDestination: {
1937
- __typename?: 'DestinationConnectionTestResult';
1938
- succeeded: boolean;
1939
- statusCode: number;
1940
- destinationType: string;
1941
- message: string;
1942
- reason: string;
1943
- };
1944
- };
1945
2044
  export type UpdateActionMutationVariables = Exact<{
1946
2045
  id?: InputMaybe<Scalars['ID']['input']>;
1947
2046
  action: ActionInput;
@@ -1996,6 +2095,118 @@ export type UpdateRuleMutation = {
1996
2095
  name: string;
1997
2096
  };
1998
2097
  };
2098
+ export type ProfileHotFunctionsV2QueryVariables = Exact<{
2099
+ topN?: InputMaybe<Scalars['Int']['input']>;
2100
+ }>;
2101
+ export type ProfileHotFunctionsV2Query = {
2102
+ __typename?: 'Query';
2103
+ profileHotFunctionsV2: {
2104
+ __typename?: 'HotFunctionsResultV2';
2105
+ enabled: boolean;
2106
+ dynamicInstrumentation: boolean;
2107
+ services: Array<{
2108
+ __typename?: 'ServiceHotFunctionsV2';
2109
+ service: string;
2110
+ totalNanos: number;
2111
+ language?: string | null;
2112
+ functions: Array<{
2113
+ __typename?: 'HotFunctionV2';
2114
+ name: string;
2115
+ self: number;
2116
+ total: number;
2117
+ module: string;
2118
+ buildId?: string | null;
2119
+ offset?: number | null;
2120
+ size?: number | null;
2121
+ instrumentable?: string | null;
2122
+ }>;
2123
+ }>;
2124
+ cache?: {
2125
+ __typename?: 'ProfileCacheStatsV2';
2126
+ services: number;
2127
+ totalBytes: number;
2128
+ maxSlots: number;
2129
+ slotMaxBytes: number;
2130
+ maxTotalBytesBudget: number;
2131
+ evictedSlotsTotal: number;
2132
+ } | null;
2133
+ host?: {
2134
+ __typename?: 'HostInfoV2';
2135
+ os: string;
2136
+ kernel: string;
2137
+ arch: string;
2138
+ hostname: string;
2139
+ } | null;
2140
+ };
2141
+ };
2142
+ export type ProfileBundleStatusV2QueryVariables = Exact<{
2143
+ jobId: Scalars['String']['input'];
2144
+ }>;
2145
+ export type ProfileBundleStatusV2Query = {
2146
+ __typename?: 'Query';
2147
+ profileBundleStatusV2: {
2148
+ __typename?: 'ProfileBundleStatusV2';
2149
+ id: string;
2150
+ state: string;
2151
+ startedAt: string;
2152
+ durationSec: number;
2153
+ elapsedSec: number;
2154
+ filePath?: string | null;
2155
+ sampleBytes?: number | null;
2156
+ error?: string | null;
2157
+ errorKind?: string | null;
2158
+ };
2159
+ };
2160
+ export type GenerateProfileBundleV2MutationVariables = Exact<{
2161
+ durationSeconds?: InputMaybe<Scalars['Int']['input']>;
2162
+ service?: InputMaybe<Scalars['String']['input']>;
2163
+ }>;
2164
+ export type GenerateProfileBundleV2Mutation = {
2165
+ __typename?: 'Mutation';
2166
+ generateProfileBundleV2: {
2167
+ __typename?: 'ProfileBundleV2';
2168
+ id: string;
2169
+ filePath: string;
2170
+ createdAt: string;
2171
+ durationSec: number;
2172
+ sampleBytes: number;
2173
+ error?: string | null;
2174
+ errorKind?: string | null;
2175
+ };
2176
+ };
2177
+ export type StartBackgroundProfileBundleV2MutationVariables = Exact<{
2178
+ durationSeconds?: InputMaybe<Scalars['Int']['input']>;
2179
+ service?: InputMaybe<Scalars['String']['input']>;
2180
+ }>;
2181
+ export type StartBackgroundProfileBundleV2Mutation = {
2182
+ __typename?: 'Mutation';
2183
+ startBackgroundProfileBundleV2: {
2184
+ __typename?: 'ProfileBundleStatusV2';
2185
+ id: string;
2186
+ state: string;
2187
+ startedAt: string;
2188
+ durationSec: number;
2189
+ elapsedSec: number;
2190
+ filePath?: string | null;
2191
+ sampleBytes?: number | null;
2192
+ error?: string | null;
2193
+ errorKind?: string | null;
2194
+ };
2195
+ };
2196
+ export type CancelProfileBundleV2MutationVariables = Exact<{
2197
+ jobId: Scalars['String']['input'];
2198
+ }>;
2199
+ export type CancelProfileBundleV2Mutation = {
2200
+ __typename?: 'Mutation';
2201
+ cancelProfileBundleV2: boolean;
2202
+ };
2203
+ export type ClearProfileCacheV2MutationVariables = Exact<{
2204
+ [key: string]: never;
2205
+ }>;
2206
+ export type ClearProfileCacheV2Mutation = {
2207
+ __typename?: 'Mutation';
2208
+ clearProfileCacheV2: boolean;
2209
+ };
1999
2210
  export type GetActionsQueryVariables = Exact<{
2000
2211
  [key: string]: never;
2001
2212
  }>;
@@ -2878,6 +3089,7 @@ export declare const GetDestinationTypesV2Document: DocumentNode<GetDestinationT
2878
3089
  export declare const CreateDestinationV2Document: DocumentNode<CreateDestinationV2Mutation, CreateDestinationV2MutationVariables>;
2879
3090
  export declare const UpdateDestinationV2Document: DocumentNode<UpdateDestinationV2Mutation, UpdateDestinationV2MutationVariables>;
2880
3091
  export declare const DeleteDestinationV2Document: DocumentNode<DeleteDestinationV2Mutation, DeleteDestinationV2MutationVariables>;
3092
+ export declare const TestConnectionV2Document: DocumentNode<TestConnectionV2Mutation, TestConnectionV2MutationVariables>;
2881
3093
  export declare const GetInstrumentationRuleV2Document: DocumentNode<GetInstrumentationRuleV2Query, GetInstrumentationRuleV2QueryVariables>;
2882
3094
  export declare const GetInstrumentationRulesV2Document: DocumentNode<GetInstrumentationRulesV2Query, GetInstrumentationRulesV2QueryVariables>;
2883
3095
  export declare const CreateInstrumentationRuleV2Document: DocumentNode<CreateInstrumentationRuleV2Mutation, CreateInstrumentationRuleV2MutationVariables>;
@@ -2891,12 +3103,17 @@ export declare const DeleteDestinationDocument: DocumentNode<DeleteDestinationMu
2891
3103
  export declare const DeleteRuleDocument: DocumentNode<DeleteRuleMutation, DeleteRuleMutationVariables>;
2892
3104
  export declare const PersistNamespacesDocument: DocumentNode<PersistNamespacesMutation, PersistNamespacesMutationVariables>;
2893
3105
  export declare const PersistSourcesDocument: DocumentNode<PersistSourcesMutation, PersistSourcesMutationVariables>;
2894
- export declare const TestConnectionDocument: DocumentNode<TestConnectionMutation, TestConnectionMutationVariables>;
2895
3106
  export declare const UpdateActionDocument: DocumentNode<UpdateActionMutation, UpdateActionMutationVariables>;
2896
3107
  export declare const UpdateAgentConfigDocument: DocumentNode<UpdateAgentConfigMutation, UpdateAgentConfigMutationVariables>;
2897
3108
  export declare const UpdateDestinationDocument: DocumentNode<UpdateDestinationMutation, UpdateDestinationMutationVariables>;
2898
3109
  export declare const UpdateK8sActualSourceDocument: DocumentNode<UpdateK8sActualSourceMutation, UpdateK8sActualSourceMutationVariables>;
2899
3110
  export declare const UpdateRuleDocument: DocumentNode<UpdateRuleMutation, UpdateRuleMutationVariables>;
3111
+ export declare const ProfileHotFunctionsV2Document: DocumentNode<ProfileHotFunctionsV2Query, ProfileHotFunctionsV2QueryVariables>;
3112
+ export declare const ProfileBundleStatusV2Document: DocumentNode<ProfileBundleStatusV2Query, ProfileBundleStatusV2QueryVariables>;
3113
+ export declare const GenerateProfileBundleV2Document: DocumentNode<GenerateProfileBundleV2Mutation, GenerateProfileBundleV2MutationVariables>;
3114
+ export declare const StartBackgroundProfileBundleV2Document: DocumentNode<StartBackgroundProfileBundleV2Mutation, StartBackgroundProfileBundleV2MutationVariables>;
3115
+ export declare const CancelProfileBundleV2Document: DocumentNode<CancelProfileBundleV2Mutation, CancelProfileBundleV2MutationVariables>;
3116
+ export declare const ClearProfileCacheV2Document: DocumentNode<ClearProfileCacheV2Mutation, ClearProfileCacheV2MutationVariables>;
2900
3117
  export declare const GetActionsDocument: DocumentNode<GetActionsQuery, GetActionsQueryVariables>;
2901
3118
  export declare const GetAgentConfigDocument: DocumentNode<GetAgentConfigQuery, GetAgentConfigQueryVariables>;
2902
3119
  export declare const GetConfigDocument: DocumentNode<GetConfigQuery, GetConfigQueryVariables>;
@@ -37,6 +37,7 @@ export const GetDestinationTypesV2Document = { "kind": "Document", "definitions"
37
37
  export const CreateDestinationV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateDestinationV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateDestinationInputV2" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createDestinationV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "DestinationV2Fields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "DestinationV2Fields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "DestinationV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "config" } }, { "kind": "Field", "name": { "kind": "Name", "value": "signals" } }] } }] };
38
38
  export const UpdateDestinationV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateDestinationV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateDestinationInputV2" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateDestinationV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "DestinationV2Fields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "DestinationV2Fields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "DestinationV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "config" } }, { "kind": "Field", "name": { "kind": "Name", "value": "signals" } }] } }] };
39
39
  export const DeleteDestinationV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "DeleteDestinationV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "DeleteDestinationInputV2" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "deleteDestinationV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "deleted" } }] } }] } }] };
40
+ export const TestConnectionV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "TestConnectionV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TestConnectionDestinationInputV2" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "testConnectionForDestinationV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "succeeded" } }, { "kind": "Field", "name": { "kind": "Name", "value": "statusCode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "destinationType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reason" } }] } }] } }] };
40
41
  export const GetInstrumentationRuleV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetInstrumentationRuleV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "name" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "instrumentationRuleV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "name" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "name" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "InstrumentationRuleV2Fields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "InstrumentationRuleV2Fields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "InstrumentationRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ruleType" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CustomInstrumentationRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "java" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "className" } }, { "kind": "Field", "name": { "kind": "Name", "value": "methodName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "golang" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "packageName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiverName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiverMethodName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "cpp" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "signature" } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PayloadCollectionRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collectHttpRequest" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectHttpResponse" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectDbQuery" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectMessaging" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HeadersCollectionRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "headerKeys" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CodeAttributesRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collectFilePath" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectFunction" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectLineNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectColumn" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectNamespace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectStacktrace" } }] } }] } }] } }] };
41
42
  export const GetInstrumentationRulesV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetInstrumentationRulesV2" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "instrumentationRulesV2" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "InstrumentationRuleV2Fields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "InstrumentationRuleV2Fields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "InstrumentationRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ruleType" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CustomInstrumentationRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "java" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "className" } }, { "kind": "Field", "name": { "kind": "Name", "value": "methodName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "golang" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "packageName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiverName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiverMethodName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "cpp" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "signature" } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PayloadCollectionRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collectHttpRequest" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectHttpResponse" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectDbQuery" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectMessaging" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HeadersCollectionRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "headerKeys" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CodeAttributesRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collectFilePath" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectFunction" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectLineNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectColumn" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectNamespace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectStacktrace" } }] } }] } }] } }] };
42
43
  export const CreateInstrumentationRuleV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateInstrumentationRuleV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateInstrumentationRuleInputV2" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createInstrumentationRuleV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "InstrumentationRuleV2Fields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "InstrumentationRuleV2Fields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "InstrumentationRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ruleType" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CustomInstrumentationRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "java" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "className" } }, { "kind": "Field", "name": { "kind": "Name", "value": "methodName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "golang" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "packageName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiverName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiverMethodName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "cpp" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "signature" } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PayloadCollectionRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collectHttpRequest" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectHttpResponse" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectDbQuery" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectMessaging" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HeadersCollectionRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "headerKeys" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CodeAttributesRuleV2" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "collectFilePath" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectFunction" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectLineNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectColumn" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectNamespace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "collectStacktrace" } }] } }] } }] } }] };
@@ -50,12 +51,17 @@ export const DeleteDestinationDocument = { "kind": "Document", "definitions": [{
50
51
  export const DeleteRuleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "DeleteRule" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "name" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "deleteRule" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "name" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "name" } } }] }] } }] };
51
52
  export const PersistNamespacesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "PersistNamespaces" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "persistK8sNamespaces" } }] } }] };
52
53
  export const PersistSourcesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "PersistSources" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sources" } }, "type": { "kind": "NonNullType", "type": { "kind": "ListType", "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PersistSourceInput" } } } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "persistK8sSources" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "sources" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sources" } } }] }] } }] };
53
- export const TestConnectionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "TestConnection" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "destination" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "JSON" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "testConnectionForDestination" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "destination" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "destination" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "succeeded" } }, { "kind": "Field", "name": { "kind": "Name", "value": "statusCode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "destinationType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reason" } }] } }] } }] };
54
54
  export const UpdateActionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateAction" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "action" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ActionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateAction" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "action" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "action" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] };
55
55
  export const UpdateAgentConfigDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateAgentConfig" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "config" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "JSON" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateAgentConfig" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "config" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "config" } } }] }] } }] };
56
56
  export const UpdateDestinationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateDestination" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "destination" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "DestinationInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateDestination" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "destination" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "destination" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }] };
57
57
  export const UpdateK8sActualSourceDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateK8sActualSource" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sourceId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SourceIdInput" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "patchSourceRequest" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PatchSourceRequestInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateK8sActualSource" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "sourceId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sourceId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "patchSourceRequest" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "patchSourceRequest" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "namespace" } }, { "kind": "Field", "name": { "kind": "Name", "value": "kind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }] } }] } }] };
58
58
  export const UpdateRuleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateRule" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "rule" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "InstrumentationRuleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateRule" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "rule" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "rule" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }] };
59
+ export const ProfileHotFunctionsV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ProfileHotFunctionsV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "topN" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "profileHotFunctionsV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "topN" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "topN" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "dynamicInstrumentation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "services" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "service" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNanos" } }, { "kind": "Field", "name": { "kind": "Name", "value": "language" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functions" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "self" } }, { "kind": "Field", "name": { "kind": "Name", "value": "total" } }, { "kind": "Field", "name": { "kind": "Name", "value": "module" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buildId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "offset" } }, { "kind": "Field", "name": { "kind": "Name", "value": "size" } }, { "kind": "Field", "name": { "kind": "Name", "value": "instrumentable" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "cache" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "services" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxSlots" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slotMaxBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTotalBytesBudget" } }, { "kind": "Field", "name": { "kind": "Name", "value": "evictedSlotsTotal" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "os" } }, { "kind": "Field", "name": { "kind": "Name", "value": "kernel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "arch" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostname" } }] } }] } }] } }] };
60
+ export const ProfileBundleStatusV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "ProfileBundleStatusV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "jobId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "profileBundleStatusV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "jobId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "jobId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "durationSec" } }, { "kind": "Field", "name": { "kind": "Name", "value": "elapsedSec" } }, { "kind": "Field", "name": { "kind": "Name", "value": "filePath" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sampleBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorKind" } }] } }] } }] };
61
+ export const GenerateProfileBundleV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GenerateProfileBundleV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "durationSeconds" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "service" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "generateProfileBundleV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "durationSeconds" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "durationSeconds" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "service" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "service" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "filePath" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "durationSec" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sampleBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorKind" } }] } }] } }] };
62
+ export const StartBackgroundProfileBundleV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "StartBackgroundProfileBundleV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "durationSeconds" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "service" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "startBackgroundProfileBundleV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "durationSeconds" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "durationSeconds" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "service" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "service" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "durationSec" } }, { "kind": "Field", "name": { "kind": "Name", "value": "elapsedSec" } }, { "kind": "Field", "name": { "kind": "Name", "value": "filePath" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sampleBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorKind" } }] } }] } }] };
63
+ export const CancelProfileBundleV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CancelProfileBundleV2" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "jobId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cancelProfileBundleV2" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "jobId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "jobId" } } }] }] } }] };
64
+ export const ClearProfileCacheV2Document = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ClearProfileCacheV2" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "clearProfileCacheV2" } }] } }] };
59
65
  export const GetActionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetActions" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "computePlatform" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "actions" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "spec" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "actionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "notes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "disabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "signals" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pipelines" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orderHint" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "config" } }] } }] } }] } }] } }] };
60
66
  export const GetAgentConfigDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAgentConfig" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agentConfig" } }] } }] };
61
67
  export const GetConfigDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetConfig" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "config" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tier" } }, { "kind": "Field", "name": { "kind": "Name", "value": "readonly" } }, { "kind": "Field", "name": { "kind": "Name", "value": "installationMethod" } }, { "kind": "Field", "name": { "kind": "Name", "value": "installationStatus" } }] } }] } }] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odigos/vmagent-api-apollo-client",
3
- "version": "0.0.0",
3
+ "version": "0.9.0",
4
4
  "description": "Generated Apollo TypeScript client for the VM-agent GraphQL API",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",