@odigos/vmagent-api-apollo-client 0.16.0 → 0.17.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.
@@ -6,6 +6,7 @@ import * as v0_12_0 from "./v0_12_0/graphql";
6
6
  import * as v0_14_0 from "./v0_14_0/graphql";
7
7
  import * as v0_15_0 from "./v0_15_0/graphql";
8
8
  import * as v0_16_0 from "./v0_16_0/graphql";
9
+ import * as v0_17_0 from "./v0_17_0/graphql";
9
10
  import * as nextDialect from "./next/graphql";
10
11
  export declare const dialects: {
11
12
  readonly "v0.6.0": typeof v0_6_0;
@@ -16,6 +17,7 @@ export declare const dialects: {
16
17
  readonly "v0.14.0": typeof v0_14_0;
17
18
  readonly "v0.15.0": typeof v0_15_0;
18
19
  readonly "v0.16.0": typeof v0_16_0;
20
+ readonly "v0.17.0": typeof v0_17_0;
19
21
  };
20
22
  export declare const NEXT_DIALECT: typeof nextDialect;
21
- export declare const LATEST_DIALECT_VERSION: "v0.16.0";
23
+ export declare const LATEST_DIALECT_VERSION: "v0.17.0";
@@ -10,6 +10,7 @@ import * as v0_12_0 from "./v0_12_0/graphql";
10
10
  import * as v0_14_0 from "./v0_14_0/graphql";
11
11
  import * as v0_15_0 from "./v0_15_0/graphql";
12
12
  import * as v0_16_0 from "./v0_16_0/graphql";
13
+ import * as v0_17_0 from "./v0_17_0/graphql";
13
14
  import * as nextDialect from "./next/graphql";
14
15
  // Every frozen dialect, keyed by its snapshot version. The published package
15
16
  // ships all of them so central-ui can resolve a dialect per connected
@@ -23,9 +24,10 @@ export const dialects = {
23
24
  "v0.14.0": v0_14_0,
24
25
  "v0.15.0": v0_15_0,
25
26
  "v0.16.0": v0_16_0,
27
+ "v0.17.0": v0_17_0,
26
28
  };
27
29
  // The live, unreleased dialect (generated from graphql/ HEAD). Deliberately
28
30
  // excluded from `dialects` so it never participates in version resolution.
29
31
  export const NEXT_DIALECT = nextDialect;
30
32
  // Highest frozen dialect: the default surface and the floor-resolution ceiling.
31
- export const LATEST_DIALECT_VERSION = "v0.16.0";
33
+ export const LATEST_DIALECT_VERSION = "v0.17.0";
@@ -397,6 +397,8 @@ export type Mutation = {
397
397
  __typename?: 'Mutation';
398
398
  cancelProfileBundle: Scalars['Boolean']['output'];
399
399
  clearProfileCache: Scalars['Boolean']['output'];
400
+ clearSourceProfilingBuffer: SlotResult;
401
+ configureProfilingCache: ProfilingSlots;
400
402
  createAction: Action;
401
403
  createDestination: Destination;
402
404
  createInstrumentationRule: InstrumentationRule;
@@ -405,6 +407,8 @@ export type Mutation = {
405
407
  deleteDestination: DeleteDestinationPayload;
406
408
  deleteInstrumentationRule: DeleteInstrumentationRulePayload;
407
409
  deleteSource: DeleteSourcePayload;
410
+ disableSourceProfiling: SlotResult;
411
+ enableSourceProfiling: SlotResult;
408
412
  generateProfileBundle: ProfileBundle;
409
413
  /** Trigger an out-of-band provider discovery refresh; returns true if a refresh was enqueued. */
410
414
  refreshDiscovery: Scalars['Boolean']['output'];
@@ -424,6 +428,14 @@ export type Mutation = {
424
428
  export type MutationCancelProfileBundleArgs = {
425
429
  jobId: Scalars['String']['input'];
426
430
  };
431
+ export type MutationClearSourceProfilingBufferArgs = {
432
+ service: Scalars['String']['input'];
433
+ };
434
+ export type MutationConfigureProfilingCacheArgs = {
435
+ maxSlots?: InputMaybe<Scalars['Int']['input']>;
436
+ slotMaxBytes?: InputMaybe<Scalars['Int']['input']>;
437
+ slotTTLSeconds?: InputMaybe<Scalars['Int']['input']>;
438
+ };
427
439
  export type MutationCreateActionArgs = {
428
440
  input: CreateActionInput;
429
441
  };
@@ -448,6 +460,12 @@ export type MutationDeleteInstrumentationRuleArgs = {
448
460
  export type MutationDeleteSourceArgs = {
449
461
  input: DeleteSourceInput;
450
462
  };
463
+ export type MutationDisableSourceProfilingArgs = {
464
+ service: Scalars['String']['input'];
465
+ };
466
+ export type MutationEnableSourceProfilingArgs = {
467
+ service: Scalars['String']['input'];
468
+ };
451
469
  export type MutationGenerateProfileBundleArgs = {
452
470
  durationSeconds?: InputMaybe<Scalars['Int']['input']>;
453
471
  service?: InputMaybe<Scalars['String']['input']>;
@@ -563,8 +581,15 @@ export type ProfileCacheStats = {
563
581
  maxTotalBytesBudget: Scalars['Float']['output'];
564
582
  services: Scalars['Int']['output'];
565
583
  slotMaxBytes: Scalars['Float']['output'];
584
+ slotTtlSeconds: Scalars['Int']['output'];
566
585
  totalBytes: Scalars['Float']['output'];
567
586
  };
587
+ export type ProfilingSlots = {
588
+ __typename?: 'ProfilingSlots';
589
+ activeKeys: Array<Scalars['String']['output']>;
590
+ cache: ProfileCacheStats;
591
+ keysWithData: Array<Scalars['String']['output']>;
592
+ };
568
593
  export type Query = {
569
594
  __typename?: 'Query';
570
595
  action?: Maybe<Action>;
@@ -588,7 +613,9 @@ export type Query = {
588
613
  pipelineCounters: PipelineCounters;
589
614
  profileBundleStatus: ProfileBundleStatus;
590
615
  profileHotFunctions: HotFunctionsResult;
616
+ profilingSlots: ProfilingSlots;
591
617
  source?: Maybe<Source>;
618
+ sourceProfile: SourceProfilingResult;
592
619
  sources: Array<Source>;
593
620
  /** Provider source kinds this connector can discover/instrument (e.g. ["aws.lambda", "aws.ecs_service"]). */
594
621
  supportedSourceKinds: Array<Scalars['String']['output']>;
@@ -619,6 +646,9 @@ export type QueryProfileHotFunctionsArgs = {
619
646
  export type QuerySourceArgs = {
620
647
  name: Scalars['String']['input'];
621
648
  };
649
+ export type QuerySourceProfileArgs = {
650
+ service: Scalars['String']['input'];
651
+ };
622
652
  export type QueryWorkloadReportArgs = {
623
653
  kind: Scalars['String']['input'];
624
654
  region?: InputMaybe<Scalars['String']['input']>;
@@ -664,6 +694,13 @@ export type ServiceNameOverride = {
664
694
  export type ServiceNameOverrideInput = {
665
695
  serviceName?: InputMaybe<Scalars['String']['input']>;
666
696
  };
697
+ export type SlotResult = {
698
+ __typename?: 'SlotResult';
699
+ activeSlots: Scalars['Int']['output'];
700
+ maxSlots: Scalars['Int']['output'];
701
+ sourceKey: Scalars['String']['output'];
702
+ status: Scalars['String']['output'];
703
+ };
667
704
  export type Source = {
668
705
  __typename?: 'Source';
669
706
  config?: Maybe<SourceConfig>;
@@ -684,6 +721,10 @@ export type SourceConfigInput = {
684
721
  runtimeOverride?: InputMaybe<RuntimeOverrideInput>;
685
722
  serviceNameOverride?: InputMaybe<ServiceNameOverrideInput>;
686
723
  };
724
+ export type SourceProfilingResult = {
725
+ __typename?: 'SourceProfilingResult';
726
+ profileJson: Scalars['String']['output'];
727
+ };
687
728
  export type SpanMetricsAction = Action & {
688
729
  __typename?: 'SpanMetricsAction';
689
730
  actionName?: Maybe<Scalars['String']['output']>;
@@ -880,6 +921,8 @@ export type WorkloadProcessMetadata = {
880
921
  instrumented: Scalars['Boolean']['output'];
881
922
  /** Arbitrary string attributes (e.g. container.id from ResourceAttributes); JSON object with string values. */
882
923
  metadata?: Maybe<Scalars['JSON']['output']>;
924
+ /** Names of other instrumentation agents detected in this process (e.g. "Datadog Agent"); empty or absent when none. */
925
+ otherAgentNames?: Maybe<Array<Scalars['String']['output']>>;
883
926
  pid: Scalars['Int']['output'];
884
927
  ppid?: Maybe<Scalars['Int']['output']>;
885
928
  /** eBPF probes loaded for this PID; may be absent on the wire when false (omitempty). */
@@ -2072,6 +2115,7 @@ export type ProfileHotFunctionsQuery = {
2072
2115
  slotMaxBytes: number;
2073
2116
  maxTotalBytesBudget: number;
2074
2117
  evictedSlotsTotal: number;
2118
+ slotTtlSeconds: number;
2075
2119
  } | null;
2076
2120
  host?: {
2077
2121
  __typename?: 'HostInfo';
@@ -2150,6 +2194,99 @@ export type ClearProfileCacheMutation = {
2150
2194
  __typename?: 'Mutation';
2151
2195
  clearProfileCache: boolean;
2152
2196
  };
2197
+ export type ProfilingSlotsQueryVariables = Exact<{
2198
+ [key: string]: never;
2199
+ }>;
2200
+ export type ProfilingSlotsQuery = {
2201
+ __typename?: 'Query';
2202
+ profilingSlots: {
2203
+ __typename?: 'ProfilingSlots';
2204
+ activeKeys: Array<string>;
2205
+ keysWithData: Array<string>;
2206
+ cache: {
2207
+ __typename?: 'ProfileCacheStats';
2208
+ services: number;
2209
+ totalBytes: number;
2210
+ maxSlots: number;
2211
+ slotMaxBytes: number;
2212
+ maxTotalBytesBudget: number;
2213
+ evictedSlotsTotal: number;
2214
+ slotTtlSeconds: number;
2215
+ };
2216
+ };
2217
+ };
2218
+ export type SourceProfileQueryVariables = Exact<{
2219
+ service: Scalars['String']['input'];
2220
+ }>;
2221
+ export type SourceProfileQuery = {
2222
+ __typename?: 'Query';
2223
+ sourceProfile: {
2224
+ __typename?: 'SourceProfilingResult';
2225
+ profileJson: string;
2226
+ };
2227
+ };
2228
+ export type EnableSourceProfilingMutationVariables = Exact<{
2229
+ service: Scalars['String']['input'];
2230
+ }>;
2231
+ export type EnableSourceProfilingMutation = {
2232
+ __typename?: 'Mutation';
2233
+ enableSourceProfiling: {
2234
+ __typename?: 'SlotResult';
2235
+ status: string;
2236
+ sourceKey: string;
2237
+ activeSlots: number;
2238
+ maxSlots: number;
2239
+ };
2240
+ };
2241
+ export type DisableSourceProfilingMutationVariables = Exact<{
2242
+ service: Scalars['String']['input'];
2243
+ }>;
2244
+ export type DisableSourceProfilingMutation = {
2245
+ __typename?: 'Mutation';
2246
+ disableSourceProfiling: {
2247
+ __typename?: 'SlotResult';
2248
+ status: string;
2249
+ sourceKey: string;
2250
+ activeSlots: number;
2251
+ maxSlots: number;
2252
+ };
2253
+ };
2254
+ export type ClearSourceProfilingBufferMutationVariables = Exact<{
2255
+ service: Scalars['String']['input'];
2256
+ }>;
2257
+ export type ClearSourceProfilingBufferMutation = {
2258
+ __typename?: 'Mutation';
2259
+ clearSourceProfilingBuffer: {
2260
+ __typename?: 'SlotResult';
2261
+ status: string;
2262
+ sourceKey: string;
2263
+ activeSlots: number;
2264
+ maxSlots: number;
2265
+ };
2266
+ };
2267
+ export type ConfigureProfilingCacheMutationVariables = Exact<{
2268
+ maxSlots?: InputMaybe<Scalars['Int']['input']>;
2269
+ slotMaxBytes?: InputMaybe<Scalars['Int']['input']>;
2270
+ slotTTLSeconds?: InputMaybe<Scalars['Int']['input']>;
2271
+ }>;
2272
+ export type ConfigureProfilingCacheMutation = {
2273
+ __typename?: 'Mutation';
2274
+ configureProfilingCache: {
2275
+ __typename?: 'ProfilingSlots';
2276
+ activeKeys: Array<string>;
2277
+ keysWithData: Array<string>;
2278
+ cache: {
2279
+ __typename?: 'ProfileCacheStats';
2280
+ services: number;
2281
+ totalBytes: number;
2282
+ maxSlots: number;
2283
+ slotMaxBytes: number;
2284
+ maxTotalBytesBudget: number;
2285
+ evictedSlotsTotal: number;
2286
+ slotTtlSeconds: number;
2287
+ };
2288
+ };
2289
+ };
2153
2290
  export type GetSourceQueryVariables = Exact<{
2154
2291
  name: Scalars['String']['input'];
2155
2292
  }>;
@@ -2375,6 +2512,7 @@ export type WorkloadReportFieldsFragment = {
2375
2512
  instrumented: boolean;
2376
2513
  probesAttached?: boolean | null;
2377
2514
  excludedReason?: string | null;
2515
+ otherAgentNames?: Array<string> | null;
2378
2516
  metadata?: Record<string, any> | null;
2379
2517
  runtime: {
2380
2518
  __typename?: 'WorkloadRuntimeSnapshot';
@@ -2484,6 +2622,7 @@ export type GetWorkloadReportQuery = {
2484
2622
  instrumented: boolean;
2485
2623
  probesAttached?: boolean | null;
2486
2624
  excludedReason?: string | null;
2625
+ otherAgentNames?: Array<string> | null;
2487
2626
  metadata?: Record<string, any> | null;
2488
2627
  runtime: {
2489
2628
  __typename?: 'WorkloadRuntimeSnapshot';
@@ -2592,6 +2731,7 @@ export type GetWorkloadReportsQuery = {
2592
2731
  instrumented: boolean;
2593
2732
  probesAttached?: boolean | null;
2594
2733
  excludedReason?: string | null;
2734
+ otherAgentNames?: Array<string> | null;
2595
2735
  metadata?: Record<string, any> | null;
2596
2736
  runtime: {
2597
2737
  __typename?: 'WorkloadRuntimeSnapshot';
@@ -2659,6 +2799,12 @@ export declare const GenerateProfileBundleDocument: DocumentNode<GenerateProfile
2659
2799
  export declare const StartBackgroundProfileBundleDocument: DocumentNode<StartBackgroundProfileBundleMutation, StartBackgroundProfileBundleMutationVariables>;
2660
2800
  export declare const CancelProfileBundleDocument: DocumentNode<CancelProfileBundleMutation, CancelProfileBundleMutationVariables>;
2661
2801
  export declare const ClearProfileCacheDocument: DocumentNode<ClearProfileCacheMutation, ClearProfileCacheMutationVariables>;
2802
+ export declare const ProfilingSlotsDocument: DocumentNode<ProfilingSlotsQuery, ProfilingSlotsQueryVariables>;
2803
+ export declare const SourceProfileDocument: DocumentNode<SourceProfileQuery, SourceProfileQueryVariables>;
2804
+ export declare const EnableSourceProfilingDocument: DocumentNode<EnableSourceProfilingMutation, EnableSourceProfilingMutationVariables>;
2805
+ export declare const DisableSourceProfilingDocument: DocumentNode<DisableSourceProfilingMutation, DisableSourceProfilingMutationVariables>;
2806
+ export declare const ClearSourceProfilingBufferDocument: DocumentNode<ClearSourceProfilingBufferMutation, ClearSourceProfilingBufferMutationVariables>;
2807
+ export declare const ConfigureProfilingCacheDocument: DocumentNode<ConfigureProfilingCacheMutation, ConfigureProfilingCacheMutationVariables>;
2662
2808
  export declare const GetSourceDocument: DocumentNode<GetSourceQuery, GetSourceQueryVariables>;
2663
2809
  export declare const GetSourcesDocument: DocumentNode<GetSourcesQuery, GetSourcesQueryVariables>;
2664
2810
  export declare const CreateSourceDocument: DocumentNode<CreateSourceMutation, CreateSourceMutationVariables>;