@odigos/vmagent-api-apollo-client 0.16.0 → 0.18.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.
@@ -80,6 +80,16 @@ export type ActionTypeOption = {
80
80
  fields: Array<ActionField>;
81
81
  type: Scalars['String']['output'];
82
82
  };
83
+ /** A Cloud Run service (kind "gcp.cloud-run"). */
84
+ export type CloudRunWorkloadDetails = WorkloadDetails & {
85
+ __typename?: 'CloudRunWorkloadDetails';
86
+ containers?: Maybe<Array<WorkloadContainer>>;
87
+ kind: Scalars['String']['output'];
88
+ /** Revision currently serving traffic. */
89
+ revision?: Maybe<Scalars['String']['output']>;
90
+ /** Fully-qualified Cloud Run service name. */
91
+ service?: Maybe<Scalars['String']['output']>;
92
+ };
83
93
  export type CodeAttributesConfig = {
84
94
  __typename?: 'CodeAttributesConfig';
85
95
  collectColumn?: Maybe<Scalars['Boolean']['output']>;
@@ -144,6 +154,38 @@ export type ConnectorRuntimeHealth = {
144
154
  /** Human-readable status detail. */
145
155
  message?: Maybe<Scalars['String']['output']>;
146
156
  };
157
+ export type ContainerOverride = {
158
+ __typename?: 'ContainerOverride';
159
+ containerName: Scalars['String']['output'];
160
+ /**
161
+ * Set true to exclude this container from instrumentation even when its runtime is supported.
162
+ * Absent or false means the workload-level decision applies.
163
+ *
164
+ * Stated as an opt-OUT rather than an `enabled` opt-in on purpose: several GraphQL code generators
165
+ * (genqlient among them) render a nullable Boolean as a plain bool with no omitempty, so an absent
166
+ * value arrives as `false`. With `enabled` that would read as "disable this container" and silently
167
+ * turn instrumentation off; with `disabled` the same zero value reads as "no opinion", which is the
168
+ * safe default. Any nullable Boolean added here should be phrased so its zero value is the safe one.
169
+ */
170
+ disabled?: Maybe<Scalars['Boolean']['output']>;
171
+ distroOverride?: Maybe<DistroOverride>;
172
+ runtimeOverride?: Maybe<RuntimeOverride>;
173
+ };
174
+ export type ContainerOverrideInput = {
175
+ containerName: Scalars['String']['input'];
176
+ /** Set true to exclude this container from instrumentation. See ContainerOverride.disabled. */
177
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
178
+ distroOverride?: InputMaybe<DistroOverrideInput>;
179
+ runtimeOverride?: InputMaybe<RuntimeOverrideInput>;
180
+ };
181
+ /** Process running in a containerd container (processKind "containerd"). */
182
+ export type ContainerdProcessDetails = ProcessDetails & {
183
+ __typename?: 'ContainerdProcessDetails';
184
+ containerId?: Maybe<Scalars['String']['output']>;
185
+ imageName?: Maybe<Scalars['String']['output']>;
186
+ labels?: Maybe<Array<KeyValue>>;
187
+ processKind: Scalars['String']['output'];
188
+ };
147
189
  export type CppProbe = {
148
190
  __typename?: 'CppProbe';
149
191
  signature: Scalars['String']['output'];
@@ -306,6 +348,71 @@ export type DistroOverride = {
306
348
  export type DistroOverrideInput = {
307
349
  otelDistroName?: InputMaybe<Scalars['String']['input']>;
308
350
  };
351
+ /** Process running in a Docker container (processKind "docker"). */
352
+ export type DockerProcessDetails = ProcessDetails & {
353
+ __typename?: 'DockerProcessDetails';
354
+ containerId?: Maybe<Scalars['String']['output']>;
355
+ containerName?: Maybe<Scalars['String']['output']>;
356
+ imageName?: Maybe<Scalars['String']['output']>;
357
+ /** Container labels; customer-defined keys, hence a list rather than named fields. */
358
+ labels?: Maybe<Array<KeyValue>>;
359
+ processKind: Scalars['String']['output'];
360
+ };
361
+ export type DockerSourceConfig = {
362
+ __typename?: 'DockerSourceConfig';
363
+ containerOverrides?: Maybe<Array<ContainerOverride>>;
364
+ };
365
+ export type DockerSourceConfigInput = {
366
+ containerOverrides?: InputMaybe<Array<ContainerOverrideInput>>;
367
+ };
368
+ /** Docker containers backing a workload on a host the agent runs on (kind "docker"). */
369
+ export type DockerWorkloadDetails = WorkloadDetails & {
370
+ __typename?: 'DockerWorkloadDetails';
371
+ containers?: Maybe<Array<WorkloadContainer>>;
372
+ kind: Scalars['String']['output'];
373
+ };
374
+ /** Process running in an ECS task container on EC2 (processKind "ecs-docker"). */
375
+ export type EcsProcessDetails = ProcessDetails & {
376
+ __typename?: 'EcsProcessDetails';
377
+ containerId?: Maybe<Scalars['String']['output']>;
378
+ containerName?: Maybe<Scalars['String']['output']>;
379
+ imageName?: Maybe<Scalars['String']['output']>;
380
+ labels?: Maybe<Array<KeyValue>>;
381
+ processKind: Scalars['String']['output'];
382
+ /** ARN of the running task, when the agent can resolve it. */
383
+ taskArn?: Maybe<Scalars['String']['output']>;
384
+ /** ECS task family this container belongs to. */
385
+ taskFamily?: Maybe<Scalars['String']['output']>;
386
+ };
387
+ export type EcsSourceConfig = {
388
+ __typename?: 'EcsSourceConfig';
389
+ containerOverrides?: Maybe<Array<ContainerOverride>>;
390
+ };
391
+ export type EcsSourceConfigInput = {
392
+ containerOverrides?: InputMaybe<Array<ContainerOverrideInput>>;
393
+ };
394
+ /**
395
+ * An ECS service or task (kinds "aws.fargate-task", "aws.ecs", "ecs-docker").
396
+ *
397
+ * Two very different reporters populate this type and each fills the subset it can see, which is why
398
+ * every field is nullable: the cloud connector rewrites task definitions and knows the cluster, the
399
+ * revision, and the launch type but never sees a process; the ECS agent on EC2 sees processes inside
400
+ * containers but reaches the control plane only through the task metadata endpoint.
401
+ */
402
+ export type EcsWorkloadDetails = WorkloadDetails & {
403
+ __typename?: 'EcsWorkloadDetails';
404
+ /** ARN of the cluster the service runs in. */
405
+ clusterArn?: Maybe<Scalars['String']['output']>;
406
+ /** Every container in the task definition, instrumentable or not. */
407
+ containers?: Maybe<Array<WorkloadContainer>>;
408
+ /** Deployment controller type (ECS, CODE_DEPLOY, EXTERNAL); instrumentation requires ECS. */
409
+ deploymentController?: Maybe<Scalars['String']['output']>;
410
+ kind: Scalars['String']['output'];
411
+ /** FARGATE, FARGATE_SPOT, or EC2. */
412
+ launchType?: Maybe<Scalars['String']['output']>;
413
+ /** Task definition family:revision currently deployed. */
414
+ taskDefinition?: Maybe<Scalars['String']['output']>;
415
+ };
309
416
  export type GolangProbe = {
310
417
  __typename?: 'GolangProbe';
311
418
  functionName?: Maybe<Scalars['String']['output']>;
@@ -393,10 +500,30 @@ export type JavaProbeInput = {
393
500
  className: Scalars['String']['input'];
394
501
  methodName: Scalars['String']['input'];
395
502
  };
503
+ /** One key/value pair for data whose keys are defined by the customer rather than by Odigos. */
504
+ export type KeyValue = {
505
+ __typename?: 'KeyValue';
506
+ key: Scalars['String']['output'];
507
+ value: Scalars['String']['output'];
508
+ };
509
+ /** A Lambda function (kind "aws.lambda"). */
510
+ export type LambdaWorkloadDetails = WorkloadDetails & {
511
+ __typename?: 'LambdaWorkloadDetails';
512
+ /** Instruction set the function is configured for (x86_64 or arm64). */
513
+ architecture?: Maybe<Scalars['String']['output']>;
514
+ functionArn?: Maybe<Scalars['String']['output']>;
515
+ kind: Scalars['String']['output'];
516
+ /** ARN of the Odigos instrumentation layer attached to the function, when instrumented. */
517
+ layerArn?: Maybe<Scalars['String']['output']>;
518
+ /** Lambda-managed runtime identifier (e.g. "python3.12", "java21"). */
519
+ runtime?: Maybe<Scalars['String']['output']>;
520
+ };
396
521
  export type Mutation = {
397
522
  __typename?: 'Mutation';
398
523
  cancelProfileBundle: Scalars['Boolean']['output'];
399
524
  clearProfileCache: Scalars['Boolean']['output'];
525
+ clearSourceProfilingBuffer: SlotResult;
526
+ configureProfilingCache: ProfilingSlots;
400
527
  createAction: Action;
401
528
  createDestination: Destination;
402
529
  createInstrumentationRule: InstrumentationRule;
@@ -405,6 +532,8 @@ export type Mutation = {
405
532
  deleteDestination: DeleteDestinationPayload;
406
533
  deleteInstrumentationRule: DeleteInstrumentationRulePayload;
407
534
  deleteSource: DeleteSourcePayload;
535
+ disableSourceProfiling: SlotResult;
536
+ enableSourceProfiling: SlotResult;
408
537
  generateProfileBundle: ProfileBundle;
409
538
  /** Trigger an out-of-band provider discovery refresh; returns true if a refresh was enqueued. */
410
539
  refreshDiscovery: Scalars['Boolean']['output'];
@@ -424,6 +553,14 @@ export type Mutation = {
424
553
  export type MutationCancelProfileBundleArgs = {
425
554
  jobId: Scalars['String']['input'];
426
555
  };
556
+ export type MutationClearSourceProfilingBufferArgs = {
557
+ service: Scalars['String']['input'];
558
+ };
559
+ export type MutationConfigureProfilingCacheArgs = {
560
+ maxSlots?: InputMaybe<Scalars['Int']['input']>;
561
+ slotMaxBytes?: InputMaybe<Scalars['Int']['input']>;
562
+ slotTTLSeconds?: InputMaybe<Scalars['Int']['input']>;
563
+ };
427
564
  export type MutationCreateActionArgs = {
428
565
  input: CreateActionInput;
429
566
  };
@@ -448,6 +585,12 @@ export type MutationDeleteInstrumentationRuleArgs = {
448
585
  export type MutationDeleteSourceArgs = {
449
586
  input: DeleteSourceInput;
450
587
  };
588
+ export type MutationDisableSourceProfilingArgs = {
589
+ service: Scalars['String']['input'];
590
+ };
591
+ export type MutationEnableSourceProfilingArgs = {
592
+ service: Scalars['String']['input'];
593
+ };
451
594
  export type MutationGenerateProfileBundleArgs = {
452
595
  durationSeconds?: InputMaybe<Scalars['Int']['input']>;
453
596
  service?: InputMaybe<Scalars['String']['input']>;
@@ -511,6 +654,14 @@ export type PipelineCounters = {
511
654
  scrapeError?: Maybe<Scalars['String']['output']>;
512
655
  scrapedAt: Scalars['String']['output'];
513
656
  };
657
+ /**
658
+ * Kind-specific facts about ONE process, selected by WorkloadProcessMetadata.processKind. Null for
659
+ * plain host processes, whose pid/exe/cmdline are already named fields on WorkloadProcessMetadata.
660
+ */
661
+ export type ProcessDetails = {
662
+ /** The WorkloadProcessMetadata.processKind this block describes. */
663
+ processKind: Scalars['String']['output'];
664
+ };
514
665
  export type ProcessorAdditionAction = Action & {
515
666
  __typename?: 'ProcessorAdditionAction';
516
667
  actionName?: Maybe<Scalars['String']['output']>;
@@ -563,8 +714,15 @@ export type ProfileCacheStats = {
563
714
  maxTotalBytesBudget: Scalars['Float']['output'];
564
715
  services: Scalars['Int']['output'];
565
716
  slotMaxBytes: Scalars['Float']['output'];
717
+ slotTtlSeconds: Scalars['Int']['output'];
566
718
  totalBytes: Scalars['Float']['output'];
567
719
  };
720
+ export type ProfilingSlots = {
721
+ __typename?: 'ProfilingSlots';
722
+ activeKeys: Array<Scalars['String']['output']>;
723
+ cache: ProfileCacheStats;
724
+ keysWithData: Array<Scalars['String']['output']>;
725
+ };
568
726
  export type Query = {
569
727
  __typename?: 'Query';
570
728
  action?: Maybe<Action>;
@@ -588,7 +746,9 @@ export type Query = {
588
746
  pipelineCounters: PipelineCounters;
589
747
  profileBundleStatus: ProfileBundleStatus;
590
748
  profileHotFunctions: HotFunctionsResult;
749
+ profilingSlots: ProfilingSlots;
591
750
  source?: Maybe<Source>;
751
+ sourceProfile: SourceProfilingResult;
592
752
  sources: Array<Source>;
593
753
  /** Provider source kinds this connector can discover/instrument (e.g. ["aws.lambda", "aws.ecs_service"]). */
594
754
  supportedSourceKinds: Array<Scalars['String']['output']>;
@@ -619,6 +779,9 @@ export type QueryProfileHotFunctionsArgs = {
619
779
  export type QuerySourceArgs = {
620
780
  name: Scalars['String']['input'];
621
781
  };
782
+ export type QuerySourceProfileArgs = {
783
+ service: Scalars['String']['input'];
784
+ };
622
785
  export type QueryWorkloadReportArgs = {
623
786
  kind: Scalars['String']['input'];
624
787
  region?: InputMaybe<Scalars['String']['input']>;
@@ -664,6 +827,13 @@ export type ServiceNameOverride = {
664
827
  export type ServiceNameOverrideInput = {
665
828
  serviceName?: InputMaybe<Scalars['String']['input']>;
666
829
  };
830
+ export type SlotResult = {
831
+ __typename?: 'SlotResult';
832
+ activeSlots: Scalars['Int']['output'];
833
+ maxSlots: Scalars['Int']['output'];
834
+ sourceKey: Scalars['String']['output'];
835
+ status: Scalars['String']['output'];
836
+ };
667
837
  export type Source = {
668
838
  __typename?: 'Source';
669
839
  config?: Maybe<SourceConfig>;
@@ -676,14 +846,35 @@ export type Source = {
676
846
  export type SourceConfig = {
677
847
  __typename?: 'SourceConfig';
678
848
  distroOverride?: Maybe<DistroOverride>;
849
+ docker?: Maybe<DockerSourceConfig>;
850
+ /**
851
+ * Kind-specific config. At most one branch is set and it must match the source's kind (validated
852
+ * server-side), following the same discriminator-plus-typed-branch pattern as
853
+ * CreateInstrumentationRuleInput. See SourceConfigInput for the full rationale.
854
+ */
855
+ ecs?: Maybe<EcsSourceConfig>;
679
856
  runtimeOverride?: Maybe<RuntimeOverride>;
680
857
  serviceNameOverride?: Maybe<ServiceNameOverride>;
681
858
  };
682
859
  export type SourceConfigInput = {
683
860
  distroOverride?: InputMaybe<DistroOverrideInput>;
861
+ docker?: InputMaybe<DockerSourceConfigInput>;
862
+ /**
863
+ * Kind-specific config. At most one branch may be set and it must match the source's kind
864
+ * (validated server-side) — a Lambda source rejects `ecs`.
865
+ *
866
+ * GraphQL has no input unions, so a discriminator plus typed optional branches is the only way to
867
+ * express this on the write side; it is the same shape CreateInstrumentationRuleInput uses for
868
+ * ruleType. Adding a platform means adding a branch here, never widening an untyped map.
869
+ */
870
+ ecs?: InputMaybe<EcsSourceConfigInput>;
684
871
  runtimeOverride?: InputMaybe<RuntimeOverrideInput>;
685
872
  serviceNameOverride?: InputMaybe<ServiceNameOverrideInput>;
686
873
  };
874
+ export type SourceProfilingResult = {
875
+ __typename?: 'SourceProfilingResult';
876
+ profileJson: Scalars['String']['output'];
877
+ };
687
878
  export type SpanMetricsAction = Action & {
688
879
  __typename?: 'SpanMetricsAction';
689
880
  actionName?: Maybe<Scalars['String']['output']>;
@@ -719,6 +910,15 @@ export type SpanMetricsConfigInput = {
719
910
  metricsExpiration?: InputMaybe<Scalars['String']['input']>;
720
911
  resourceMetricsKeyAttributes?: InputMaybe<Array<Scalars['String']['input']>>;
721
912
  };
913
+ /** Process managed by systemd (processKind "systemd"). */
914
+ export type SystemdProcessDetails = ProcessDetails & {
915
+ __typename?: 'SystemdProcessDetails';
916
+ processKind: Scalars['String']['output'];
917
+ /** Absolute path of the unit file backing this service. */
918
+ unitFilePath?: Maybe<Scalars['String']['output']>;
919
+ /** Unit name without the .service suffix. */
920
+ unitName?: Maybe<Scalars['String']['output']>;
921
+ };
722
922
  export declare enum TelemetrySignal {
723
923
  Logs = "LOGS",
724
924
  Metrics = "METRICS",
@@ -821,6 +1021,51 @@ export type UpdateSourceInput = {
821
1021
  region?: InputMaybe<Scalars['String']['input']>;
822
1022
  serviceName?: InputMaybe<Scalars['String']['input']>;
823
1023
  };
1024
+ /**
1025
+ * One container inside a multi-container workload. Shared by every container-shaped platform (ECS
1026
+ * tasks, Cloud Run services, and Kubernetes pods if the k8s API ever moves here) so clients render
1027
+ * containers the same way everywhere.
1028
+ *
1029
+ * This is the dimension the flat report cannot express: a single ECS task definition can pack several
1030
+ * independently instrumentable application containers, and reporting only the workload's aggregate
1031
+ * runtime forces an arbitrary choice between them.
1032
+ */
1033
+ export type WorkloadContainer = {
1034
+ __typename?: 'WorkloadContainer';
1035
+ /** Odigos distro applied to this container, when instrumented. */
1036
+ distro?: Maybe<Scalars['String']['output']>;
1037
+ /**
1038
+ * Why this container is not instrumented. This is the ONE place a client learns that, and
1039
+ * deliberately so: every platform-specific fact that leads to an exclusion is resolved by the
1040
+ * reporter and reported here, never as a separate flag the client has to interpret for itself.
1041
+ *
1042
+ * A container Odigos itself injected reports "Odigos agents sidecar"; one the platform does not
1043
+ * treat as part of the application reports "non-essential container"; an unsupported runtime says
1044
+ * so. A client renders the reason — it never re-derives the decision, and it never needs a
1045
+ * platform-specific field (ECS `essential`, an Odigos ownership marker) to do it.
1046
+ */
1047
+ excludedReason?: Maybe<Scalars['String']['output']>;
1048
+ /** Image reference as declared by the customer. */
1049
+ image?: Maybe<Scalars['String']['output']>;
1050
+ /** True when Odigos can instrument this container; false with excludedReason when it cannot. */
1051
+ instrumentationEligible: Scalars['Boolean']['output'];
1052
+ /** True when Odigos instrumentation is currently applied to this container. */
1053
+ instrumented: Scalars['Boolean']['output'];
1054
+ /** Container name, unique within the workload and stable across deployments. */
1055
+ name: Scalars['String']['output'];
1056
+ /**
1057
+ * PIDs observed running in this container, keying into the workload's `instances` and
1058
+ * `processMetadata` — the container layer groups those rows, it does not duplicate them, so the
1059
+ * workload's flat process list stays the single source of truth for per-process facts.
1060
+ *
1061
+ * Empty when the reporter cannot see inside the container: a cloud connector rewriting an ECS task
1062
+ * definition knows the container exists and what runs in it, but never observes its processes. An
1063
+ * empty list therefore means "no process visibility", not "no processes".
1064
+ */
1065
+ pids?: Maybe<Array<Scalars['Int']['output']>>;
1066
+ /** Detected, overridden, and effective runtime for this container specifically. */
1067
+ runtime?: Maybe<WorkloadRuntimeSnapshot>;
1068
+ };
824
1069
  export type WorkloadCurrentReport = {
825
1070
  __typename?: 'WorkloadCurrentReport';
826
1071
  instrumented: Scalars['Boolean']['output'];
@@ -841,6 +1086,20 @@ export type WorkloadDesiredReport = {
841
1086
  sourceEnabled?: Maybe<Scalars['Boolean']['output']>;
842
1087
  sourceMatched?: Maybe<Scalars['Boolean']['output']>;
843
1088
  };
1089
+ /**
1090
+ * Kind-specific facts about a workload as a whole. The concrete type is selected by
1091
+ * WorkloadReport.kind.
1092
+ *
1093
+ * Container-shaped kinds (docker, ecs, cloud-run) resolve to a type carrying `containers`, which adds
1094
+ * the container layer between the workload and its processes. Process-shaped kinds (systemd, plain
1095
+ * host processes) have no container layer at all and leave `details` null: their processes hang
1096
+ * directly off the workload's `instances` / `processMetadata`, with no empty container wrapper
1097
+ * invented to make the shapes match.
1098
+ */
1099
+ export type WorkloadDetails = {
1100
+ /** The WorkloadReport.kind this block describes, echoed so clients can branch without a fragment. */
1101
+ kind: Scalars['String']['output'];
1102
+ };
844
1103
  export type WorkloadInstanceStatus = {
845
1104
  __typename?: 'WorkloadInstanceStatus';
846
1105
  alive: Scalars['Boolean']['output'];
@@ -871,6 +1130,12 @@ export type WorkloadIssue = {
871
1130
  export type WorkloadProcessMetadata = {
872
1131
  __typename?: 'WorkloadProcessMetadata';
873
1132
  cmdline?: Maybe<Scalars['String']['output']>;
1133
+ /**
1134
+ * Kind-specific facts about this process, typed per processKind (container id/name/image for
1135
+ * container kinds, unit file for systemd). Null for plain host processes, whose pid/exe/cmdline are
1136
+ * already named fields above.
1137
+ */
1138
+ details?: Maybe<ProcessDetails>;
874
1139
  /** Set when instrumentationEligible is false (e.g. language mismatch). */
875
1140
  excludedReason?: Maybe<Scalars['String']['output']>;
876
1141
  exe?: Maybe<Scalars['String']['output']>;
@@ -878,8 +1143,13 @@ export type WorkloadProcessMetadata = {
878
1143
  instrumentationEligible: Scalars['Boolean']['output'];
879
1144
  /** True when the workload is instrumented and this PID is targeted (same notion as instances.instrumented). */
880
1145
  instrumented: Scalars['Boolean']['output'];
881
- /** Arbitrary string attributes (e.g. container.id from ResourceAttributes); JSON object with string values. */
1146
+ /**
1147
+ * Arbitrary string attributes (e.g. container.id from ResourceAttributes); JSON object with string values.
1148
+ * @deprecated Use `details`, which names and types the same facts per processKind. Still populated; will be removed once clients have migrated.
1149
+ */
882
1150
  metadata?: Maybe<Scalars['JSON']['output']>;
1151
+ /** Names of other instrumentation agents detected in this process (e.g. "Datadog Agent"); empty or absent when none. */
1152
+ otherAgentNames?: Maybe<Array<Scalars['String']['output']>>;
883
1153
  pid: Scalars['Int']['output'];
884
1154
  ppid?: Maybe<Scalars['Int']['output']>;
885
1155
  /** eBPF probes loaded for this PID; may be absent on the wire when false (omitempty). */
@@ -901,6 +1171,12 @@ export type WorkloadReport = {
901
1171
  __typename?: 'WorkloadReport';
902
1172
  current: WorkloadCurrentReport;
903
1173
  desired: WorkloadDesiredReport;
1174
+ /**
1175
+ * Kind-specific facts about this workload, typed per kind. Container-shaped kinds resolve to a type
1176
+ * carrying `containers`, which groups the flat `instances` / `processMetadata` above by container;
1177
+ * process-shaped kinds (systemd, plain processes) leave this null and expose processes directly.
1178
+ */
1179
+ details?: Maybe<WorkloadDetails>;
904
1180
  /** Tracked PIDs, sorted ascending by pid in the backing store. */
905
1181
  instances?: Maybe<Array<WorkloadInstanceStatus>>;
906
1182
  issues?: Maybe<Array<WorkloadIssue>>;
@@ -2072,6 +2348,7 @@ export type ProfileHotFunctionsQuery = {
2072
2348
  slotMaxBytes: number;
2073
2349
  maxTotalBytesBudget: number;
2074
2350
  evictedSlotsTotal: number;
2351
+ slotTtlSeconds: number;
2075
2352
  } | null;
2076
2353
  host?: {
2077
2354
  __typename?: 'HostInfo';
@@ -2150,6 +2427,113 @@ export type ClearProfileCacheMutation = {
2150
2427
  __typename?: 'Mutation';
2151
2428
  clearProfileCache: boolean;
2152
2429
  };
2430
+ export type ProfilingSlotsQueryVariables = Exact<{
2431
+ [key: string]: never;
2432
+ }>;
2433
+ export type ProfilingSlotsQuery = {
2434
+ __typename?: 'Query';
2435
+ profilingSlots: {
2436
+ __typename?: 'ProfilingSlots';
2437
+ activeKeys: Array<string>;
2438
+ keysWithData: Array<string>;
2439
+ cache: {
2440
+ __typename?: 'ProfileCacheStats';
2441
+ services: number;
2442
+ totalBytes: number;
2443
+ maxSlots: number;
2444
+ slotMaxBytes: number;
2445
+ maxTotalBytesBudget: number;
2446
+ evictedSlotsTotal: number;
2447
+ slotTtlSeconds: number;
2448
+ };
2449
+ };
2450
+ };
2451
+ export type SourceProfileQueryVariables = Exact<{
2452
+ service: Scalars['String']['input'];
2453
+ }>;
2454
+ export type SourceProfileQuery = {
2455
+ __typename?: 'Query';
2456
+ sourceProfile: {
2457
+ __typename?: 'SourceProfilingResult';
2458
+ profileJson: string;
2459
+ };
2460
+ };
2461
+ export type EnableSourceProfilingMutationVariables = Exact<{
2462
+ service: Scalars['String']['input'];
2463
+ }>;
2464
+ export type EnableSourceProfilingMutation = {
2465
+ __typename?: 'Mutation';
2466
+ enableSourceProfiling: {
2467
+ __typename?: 'SlotResult';
2468
+ status: string;
2469
+ sourceKey: string;
2470
+ activeSlots: number;
2471
+ maxSlots: number;
2472
+ };
2473
+ };
2474
+ export type DisableSourceProfilingMutationVariables = Exact<{
2475
+ service: Scalars['String']['input'];
2476
+ }>;
2477
+ export type DisableSourceProfilingMutation = {
2478
+ __typename?: 'Mutation';
2479
+ disableSourceProfiling: {
2480
+ __typename?: 'SlotResult';
2481
+ status: string;
2482
+ sourceKey: string;
2483
+ activeSlots: number;
2484
+ maxSlots: number;
2485
+ };
2486
+ };
2487
+ export type ClearSourceProfilingBufferMutationVariables = Exact<{
2488
+ service: Scalars['String']['input'];
2489
+ }>;
2490
+ export type ClearSourceProfilingBufferMutation = {
2491
+ __typename?: 'Mutation';
2492
+ clearSourceProfilingBuffer: {
2493
+ __typename?: 'SlotResult';
2494
+ status: string;
2495
+ sourceKey: string;
2496
+ activeSlots: number;
2497
+ maxSlots: number;
2498
+ };
2499
+ };
2500
+ export type ConfigureProfilingCacheMutationVariables = Exact<{
2501
+ maxSlots?: InputMaybe<Scalars['Int']['input']>;
2502
+ slotMaxBytes?: InputMaybe<Scalars['Int']['input']>;
2503
+ slotTTLSeconds?: InputMaybe<Scalars['Int']['input']>;
2504
+ }>;
2505
+ export type ConfigureProfilingCacheMutation = {
2506
+ __typename?: 'Mutation';
2507
+ configureProfilingCache: {
2508
+ __typename?: 'ProfilingSlots';
2509
+ activeKeys: Array<string>;
2510
+ keysWithData: Array<string>;
2511
+ cache: {
2512
+ __typename?: 'ProfileCacheStats';
2513
+ services: number;
2514
+ totalBytes: number;
2515
+ maxSlots: number;
2516
+ slotMaxBytes: number;
2517
+ maxTotalBytesBudget: number;
2518
+ evictedSlotsTotal: number;
2519
+ slotTtlSeconds: number;
2520
+ };
2521
+ };
2522
+ };
2523
+ export type ContainerOverrideFieldsFragment = {
2524
+ __typename?: 'ContainerOverride';
2525
+ containerName: string;
2526
+ disabled?: boolean | null;
2527
+ runtimeOverride?: {
2528
+ __typename?: 'RuntimeOverride';
2529
+ language?: string | null;
2530
+ version?: string | null;
2531
+ } | null;
2532
+ distroOverride?: {
2533
+ __typename?: 'DistroOverride';
2534
+ otelDistroName?: string | null;
2535
+ } | null;
2536
+ };
2153
2537
  export type GetSourceQueryVariables = Exact<{
2154
2538
  name: Scalars['String']['input'];
2155
2539
  }>;
@@ -2177,6 +2561,40 @@ export type GetSourceQuery = {
2177
2561
  __typename?: 'ServiceNameOverride';
2178
2562
  serviceName?: string | null;
2179
2563
  } | null;
2564
+ ecs?: {
2565
+ __typename?: 'EcsSourceConfig';
2566
+ containerOverrides?: Array<{
2567
+ __typename?: 'ContainerOverride';
2568
+ containerName: string;
2569
+ disabled?: boolean | null;
2570
+ runtimeOverride?: {
2571
+ __typename?: 'RuntimeOverride';
2572
+ language?: string | null;
2573
+ version?: string | null;
2574
+ } | null;
2575
+ distroOverride?: {
2576
+ __typename?: 'DistroOverride';
2577
+ otelDistroName?: string | null;
2578
+ } | null;
2579
+ }> | null;
2580
+ } | null;
2581
+ docker?: {
2582
+ __typename?: 'DockerSourceConfig';
2583
+ containerOverrides?: Array<{
2584
+ __typename?: 'ContainerOverride';
2585
+ containerName: string;
2586
+ disabled?: boolean | null;
2587
+ runtimeOverride?: {
2588
+ __typename?: 'RuntimeOverride';
2589
+ language?: string | null;
2590
+ version?: string | null;
2591
+ } | null;
2592
+ distroOverride?: {
2593
+ __typename?: 'DistroOverride';
2594
+ otelDistroName?: string | null;
2595
+ } | null;
2596
+ }> | null;
2597
+ } | null;
2180
2598
  } | null;
2181
2599
  } | null;
2182
2600
  };
@@ -2207,6 +2625,40 @@ export type GetSourcesQuery = {
2207
2625
  __typename?: 'ServiceNameOverride';
2208
2626
  serviceName?: string | null;
2209
2627
  } | null;
2628
+ ecs?: {
2629
+ __typename?: 'EcsSourceConfig';
2630
+ containerOverrides?: Array<{
2631
+ __typename?: 'ContainerOverride';
2632
+ containerName: string;
2633
+ disabled?: boolean | null;
2634
+ runtimeOverride?: {
2635
+ __typename?: 'RuntimeOverride';
2636
+ language?: string | null;
2637
+ version?: string | null;
2638
+ } | null;
2639
+ distroOverride?: {
2640
+ __typename?: 'DistroOverride';
2641
+ otelDistroName?: string | null;
2642
+ } | null;
2643
+ }> | null;
2644
+ } | null;
2645
+ docker?: {
2646
+ __typename?: 'DockerSourceConfig';
2647
+ containerOverrides?: Array<{
2648
+ __typename?: 'ContainerOverride';
2649
+ containerName: string;
2650
+ disabled?: boolean | null;
2651
+ runtimeOverride?: {
2652
+ __typename?: 'RuntimeOverride';
2653
+ language?: string | null;
2654
+ version?: string | null;
2655
+ } | null;
2656
+ distroOverride?: {
2657
+ __typename?: 'DistroOverride';
2658
+ otelDistroName?: string | null;
2659
+ } | null;
2660
+ }> | null;
2661
+ } | null;
2210
2662
  } | null;
2211
2663
  }>;
2212
2664
  };
@@ -2237,6 +2689,40 @@ export type CreateSourceMutation = {
2237
2689
  __typename?: 'ServiceNameOverride';
2238
2690
  serviceName?: string | null;
2239
2691
  } | null;
2692
+ ecs?: {
2693
+ __typename?: 'EcsSourceConfig';
2694
+ containerOverrides?: Array<{
2695
+ __typename?: 'ContainerOverride';
2696
+ containerName: string;
2697
+ disabled?: boolean | null;
2698
+ runtimeOverride?: {
2699
+ __typename?: 'RuntimeOverride';
2700
+ language?: string | null;
2701
+ version?: string | null;
2702
+ } | null;
2703
+ distroOverride?: {
2704
+ __typename?: 'DistroOverride';
2705
+ otelDistroName?: string | null;
2706
+ } | null;
2707
+ }> | null;
2708
+ } | null;
2709
+ docker?: {
2710
+ __typename?: 'DockerSourceConfig';
2711
+ containerOverrides?: Array<{
2712
+ __typename?: 'ContainerOverride';
2713
+ containerName: string;
2714
+ disabled?: boolean | null;
2715
+ runtimeOverride?: {
2716
+ __typename?: 'RuntimeOverride';
2717
+ language?: string | null;
2718
+ version?: string | null;
2719
+ } | null;
2720
+ distroOverride?: {
2721
+ __typename?: 'DistroOverride';
2722
+ otelDistroName?: string | null;
2723
+ } | null;
2724
+ }> | null;
2725
+ } | null;
2240
2726
  } | null;
2241
2727
  };
2242
2728
  };
@@ -2267,6 +2753,40 @@ export type UpdateSourceMutation = {
2267
2753
  __typename?: 'ServiceNameOverride';
2268
2754
  serviceName?: string | null;
2269
2755
  } | null;
2756
+ ecs?: {
2757
+ __typename?: 'EcsSourceConfig';
2758
+ containerOverrides?: Array<{
2759
+ __typename?: 'ContainerOverride';
2760
+ containerName: string;
2761
+ disabled?: boolean | null;
2762
+ runtimeOverride?: {
2763
+ __typename?: 'RuntimeOverride';
2764
+ language?: string | null;
2765
+ version?: string | null;
2766
+ } | null;
2767
+ distroOverride?: {
2768
+ __typename?: 'DistroOverride';
2769
+ otelDistroName?: string | null;
2770
+ } | null;
2771
+ }> | null;
2772
+ } | null;
2773
+ docker?: {
2774
+ __typename?: 'DockerSourceConfig';
2775
+ containerOverrides?: Array<{
2776
+ __typename?: 'ContainerOverride';
2777
+ containerName: string;
2778
+ disabled?: boolean | null;
2779
+ runtimeOverride?: {
2780
+ __typename?: 'RuntimeOverride';
2781
+ language?: string | null;
2782
+ version?: string | null;
2783
+ } | null;
2784
+ distroOverride?: {
2785
+ __typename?: 'DistroOverride';
2786
+ otelDistroName?: string | null;
2787
+ } | null;
2788
+ }> | null;
2789
+ } | null;
2270
2790
  } | null;
2271
2791
  };
2272
2792
  };
@@ -2375,6 +2895,7 @@ export type WorkloadReportFieldsFragment = {
2375
2895
  instrumented: boolean;
2376
2896
  probesAttached?: boolean | null;
2377
2897
  excludedReason?: string | null;
2898
+ otherAgentNames?: Array<string> | null;
2378
2899
  metadata?: Record<string, any> | null;
2379
2900
  runtime: {
2380
2901
  __typename?: 'WorkloadRuntimeSnapshot';
@@ -2394,8 +2915,338 @@ export type WorkloadReportFieldsFragment = {
2394
2915
  version?: string | null;
2395
2916
  };
2396
2917
  };
2918
+ details?: {
2919
+ __typename: 'ContainerdProcessDetails';
2920
+ containerId?: string | null;
2921
+ imageName?: string | null;
2922
+ processKind: string;
2923
+ labels?: Array<{
2924
+ __typename?: 'KeyValue';
2925
+ key: string;
2926
+ value: string;
2927
+ }> | null;
2928
+ } | {
2929
+ __typename: 'DockerProcessDetails';
2930
+ containerId?: string | null;
2931
+ containerName?: string | null;
2932
+ imageName?: string | null;
2933
+ processKind: string;
2934
+ labels?: Array<{
2935
+ __typename?: 'KeyValue';
2936
+ key: string;
2937
+ value: string;
2938
+ }> | null;
2939
+ } | {
2940
+ __typename: 'EcsProcessDetails';
2941
+ containerId?: string | null;
2942
+ containerName?: string | null;
2943
+ imageName?: string | null;
2944
+ taskFamily?: string | null;
2945
+ taskArn?: string | null;
2946
+ processKind: string;
2947
+ labels?: Array<{
2948
+ __typename?: 'KeyValue';
2949
+ key: string;
2950
+ value: string;
2951
+ }> | null;
2952
+ } | {
2953
+ __typename: 'SystemdProcessDetails';
2954
+ unitName?: string | null;
2955
+ unitFilePath?: string | null;
2956
+ processKind: string;
2957
+ } | null;
2958
+ }> | null;
2959
+ details?: {
2960
+ __typename: 'CloudRunWorkloadDetails';
2961
+ service?: string | null;
2962
+ revision?: string | null;
2963
+ kind: string;
2964
+ containers?: Array<{
2965
+ __typename?: 'WorkloadContainer';
2966
+ name: string;
2967
+ image?: string | null;
2968
+ pids?: Array<number> | null;
2969
+ instrumented: boolean;
2970
+ instrumentationEligible: boolean;
2971
+ excludedReason?: string | null;
2972
+ distro?: string | null;
2973
+ runtime?: {
2974
+ __typename?: 'WorkloadRuntimeSnapshot';
2975
+ detected: {
2976
+ __typename?: 'WorkloadRuntime';
2977
+ language?: string | null;
2978
+ version?: string | null;
2979
+ };
2980
+ override?: {
2981
+ __typename?: 'WorkloadRuntime';
2982
+ language?: string | null;
2983
+ version?: string | null;
2984
+ } | null;
2985
+ running: {
2986
+ __typename?: 'WorkloadRuntime';
2987
+ language?: string | null;
2988
+ version?: string | null;
2989
+ };
2990
+ } | null;
2991
+ }> | null;
2992
+ } | {
2993
+ __typename: 'DockerWorkloadDetails';
2994
+ kind: string;
2995
+ containers?: Array<{
2996
+ __typename?: 'WorkloadContainer';
2997
+ name: string;
2998
+ image?: string | null;
2999
+ pids?: Array<number> | null;
3000
+ instrumented: boolean;
3001
+ instrumentationEligible: boolean;
3002
+ excludedReason?: string | null;
3003
+ distro?: string | null;
3004
+ runtime?: {
3005
+ __typename?: 'WorkloadRuntimeSnapshot';
3006
+ detected: {
3007
+ __typename?: 'WorkloadRuntime';
3008
+ language?: string | null;
3009
+ version?: string | null;
3010
+ };
3011
+ override?: {
3012
+ __typename?: 'WorkloadRuntime';
3013
+ language?: string | null;
3014
+ version?: string | null;
3015
+ } | null;
3016
+ running: {
3017
+ __typename?: 'WorkloadRuntime';
3018
+ language?: string | null;
3019
+ version?: string | null;
3020
+ };
3021
+ } | null;
3022
+ }> | null;
3023
+ } | {
3024
+ __typename: 'EcsWorkloadDetails';
3025
+ clusterArn?: string | null;
3026
+ taskDefinition?: string | null;
3027
+ launchType?: string | null;
3028
+ deploymentController?: string | null;
3029
+ kind: string;
3030
+ containers?: Array<{
3031
+ __typename?: 'WorkloadContainer';
3032
+ name: string;
3033
+ image?: string | null;
3034
+ pids?: Array<number> | null;
3035
+ instrumented: boolean;
3036
+ instrumentationEligible: boolean;
3037
+ excludedReason?: string | null;
3038
+ distro?: string | null;
3039
+ runtime?: {
3040
+ __typename?: 'WorkloadRuntimeSnapshot';
3041
+ detected: {
3042
+ __typename?: 'WorkloadRuntime';
3043
+ language?: string | null;
3044
+ version?: string | null;
3045
+ };
3046
+ override?: {
3047
+ __typename?: 'WorkloadRuntime';
3048
+ language?: string | null;
3049
+ version?: string | null;
3050
+ } | null;
3051
+ running: {
3052
+ __typename?: 'WorkloadRuntime';
3053
+ language?: string | null;
3054
+ version?: string | null;
3055
+ };
3056
+ } | null;
3057
+ }> | null;
3058
+ } | {
3059
+ __typename: 'LambdaWorkloadDetails';
3060
+ functionArn?: string | null;
3061
+ runtime?: string | null;
3062
+ architecture?: string | null;
3063
+ layerArn?: string | null;
3064
+ kind: string;
3065
+ } | null;
3066
+ };
3067
+ type ProcessDetailsFields_ContainerdProcessDetails_Fragment = {
3068
+ __typename: 'ContainerdProcessDetails';
3069
+ containerId?: string | null;
3070
+ imageName?: string | null;
3071
+ processKind: string;
3072
+ labels?: Array<{
3073
+ __typename?: 'KeyValue';
3074
+ key: string;
3075
+ value: string;
3076
+ }> | null;
3077
+ };
3078
+ type ProcessDetailsFields_DockerProcessDetails_Fragment = {
3079
+ __typename: 'DockerProcessDetails';
3080
+ containerId?: string | null;
3081
+ containerName?: string | null;
3082
+ imageName?: string | null;
3083
+ processKind: string;
3084
+ labels?: Array<{
3085
+ __typename?: 'KeyValue';
3086
+ key: string;
3087
+ value: string;
3088
+ }> | null;
3089
+ };
3090
+ type ProcessDetailsFields_EcsProcessDetails_Fragment = {
3091
+ __typename: 'EcsProcessDetails';
3092
+ containerId?: string | null;
3093
+ containerName?: string | null;
3094
+ imageName?: string | null;
3095
+ taskFamily?: string | null;
3096
+ taskArn?: string | null;
3097
+ processKind: string;
3098
+ labels?: Array<{
3099
+ __typename?: 'KeyValue';
3100
+ key: string;
3101
+ value: string;
3102
+ }> | null;
3103
+ };
3104
+ type ProcessDetailsFields_SystemdProcessDetails_Fragment = {
3105
+ __typename: 'SystemdProcessDetails';
3106
+ unitName?: string | null;
3107
+ unitFilePath?: string | null;
3108
+ processKind: string;
3109
+ };
3110
+ export type ProcessDetailsFieldsFragment = ProcessDetailsFields_ContainerdProcessDetails_Fragment | ProcessDetailsFields_DockerProcessDetails_Fragment | ProcessDetailsFields_EcsProcessDetails_Fragment | ProcessDetailsFields_SystemdProcessDetails_Fragment;
3111
+ export type WorkloadContainerFieldsFragment = {
3112
+ __typename?: 'WorkloadContainer';
3113
+ name: string;
3114
+ image?: string | null;
3115
+ pids?: Array<number> | null;
3116
+ instrumented: boolean;
3117
+ instrumentationEligible: boolean;
3118
+ excludedReason?: string | null;
3119
+ distro?: string | null;
3120
+ runtime?: {
3121
+ __typename?: 'WorkloadRuntimeSnapshot';
3122
+ detected: {
3123
+ __typename?: 'WorkloadRuntime';
3124
+ language?: string | null;
3125
+ version?: string | null;
3126
+ };
3127
+ override?: {
3128
+ __typename?: 'WorkloadRuntime';
3129
+ language?: string | null;
3130
+ version?: string | null;
3131
+ } | null;
3132
+ running: {
3133
+ __typename?: 'WorkloadRuntime';
3134
+ language?: string | null;
3135
+ version?: string | null;
3136
+ };
3137
+ } | null;
3138
+ };
3139
+ type WorkloadDetailsFields_CloudRunWorkloadDetails_Fragment = {
3140
+ __typename: 'CloudRunWorkloadDetails';
3141
+ service?: string | null;
3142
+ revision?: string | null;
3143
+ kind: string;
3144
+ containers?: Array<{
3145
+ __typename?: 'WorkloadContainer';
3146
+ name: string;
3147
+ image?: string | null;
3148
+ pids?: Array<number> | null;
3149
+ instrumented: boolean;
3150
+ instrumentationEligible: boolean;
3151
+ excludedReason?: string | null;
3152
+ distro?: string | null;
3153
+ runtime?: {
3154
+ __typename?: 'WorkloadRuntimeSnapshot';
3155
+ detected: {
3156
+ __typename?: 'WorkloadRuntime';
3157
+ language?: string | null;
3158
+ version?: string | null;
3159
+ };
3160
+ override?: {
3161
+ __typename?: 'WorkloadRuntime';
3162
+ language?: string | null;
3163
+ version?: string | null;
3164
+ } | null;
3165
+ running: {
3166
+ __typename?: 'WorkloadRuntime';
3167
+ language?: string | null;
3168
+ version?: string | null;
3169
+ };
3170
+ } | null;
2397
3171
  }> | null;
2398
3172
  };
3173
+ type WorkloadDetailsFields_DockerWorkloadDetails_Fragment = {
3174
+ __typename: 'DockerWorkloadDetails';
3175
+ kind: string;
3176
+ containers?: Array<{
3177
+ __typename?: 'WorkloadContainer';
3178
+ name: string;
3179
+ image?: string | null;
3180
+ pids?: Array<number> | null;
3181
+ instrumented: boolean;
3182
+ instrumentationEligible: boolean;
3183
+ excludedReason?: string | null;
3184
+ distro?: string | null;
3185
+ runtime?: {
3186
+ __typename?: 'WorkloadRuntimeSnapshot';
3187
+ detected: {
3188
+ __typename?: 'WorkloadRuntime';
3189
+ language?: string | null;
3190
+ version?: string | null;
3191
+ };
3192
+ override?: {
3193
+ __typename?: 'WorkloadRuntime';
3194
+ language?: string | null;
3195
+ version?: string | null;
3196
+ } | null;
3197
+ running: {
3198
+ __typename?: 'WorkloadRuntime';
3199
+ language?: string | null;
3200
+ version?: string | null;
3201
+ };
3202
+ } | null;
3203
+ }> | null;
3204
+ };
3205
+ type WorkloadDetailsFields_EcsWorkloadDetails_Fragment = {
3206
+ __typename: 'EcsWorkloadDetails';
3207
+ clusterArn?: string | null;
3208
+ taskDefinition?: string | null;
3209
+ launchType?: string | null;
3210
+ deploymentController?: string | null;
3211
+ kind: string;
3212
+ containers?: Array<{
3213
+ __typename?: 'WorkloadContainer';
3214
+ name: string;
3215
+ image?: string | null;
3216
+ pids?: Array<number> | null;
3217
+ instrumented: boolean;
3218
+ instrumentationEligible: boolean;
3219
+ excludedReason?: string | null;
3220
+ distro?: string | null;
3221
+ runtime?: {
3222
+ __typename?: 'WorkloadRuntimeSnapshot';
3223
+ detected: {
3224
+ __typename?: 'WorkloadRuntime';
3225
+ language?: string | null;
3226
+ version?: string | null;
3227
+ };
3228
+ override?: {
3229
+ __typename?: 'WorkloadRuntime';
3230
+ language?: string | null;
3231
+ version?: string | null;
3232
+ } | null;
3233
+ running: {
3234
+ __typename?: 'WorkloadRuntime';
3235
+ language?: string | null;
3236
+ version?: string | null;
3237
+ };
3238
+ } | null;
3239
+ }> | null;
3240
+ };
3241
+ type WorkloadDetailsFields_LambdaWorkloadDetails_Fragment = {
3242
+ __typename: 'LambdaWorkloadDetails';
3243
+ functionArn?: string | null;
3244
+ runtime?: string | null;
3245
+ architecture?: string | null;
3246
+ layerArn?: string | null;
3247
+ kind: string;
3248
+ };
3249
+ export type WorkloadDetailsFieldsFragment = WorkloadDetailsFields_CloudRunWorkloadDetails_Fragment | WorkloadDetailsFields_DockerWorkloadDetails_Fragment | WorkloadDetailsFields_EcsWorkloadDetails_Fragment | WorkloadDetailsFields_LambdaWorkloadDetails_Fragment;
2399
3250
  export type GetWorkloadReportQueryVariables = Exact<{
2400
3251
  serviceName: Scalars['String']['input'];
2401
3252
  kind: Scalars['String']['input'];
@@ -2484,6 +3335,7 @@ export type GetWorkloadReportQuery = {
2484
3335
  instrumented: boolean;
2485
3336
  probesAttached?: boolean | null;
2486
3337
  excludedReason?: string | null;
3338
+ otherAgentNames?: Array<string> | null;
2487
3339
  metadata?: Record<string, any> | null;
2488
3340
  runtime: {
2489
3341
  __typename?: 'WorkloadRuntimeSnapshot';
@@ -2503,7 +3355,154 @@ export type GetWorkloadReportQuery = {
2503
3355
  version?: string | null;
2504
3356
  };
2505
3357
  };
3358
+ details?: {
3359
+ __typename: 'ContainerdProcessDetails';
3360
+ containerId?: string | null;
3361
+ imageName?: string | null;
3362
+ processKind: string;
3363
+ labels?: Array<{
3364
+ __typename?: 'KeyValue';
3365
+ key: string;
3366
+ value: string;
3367
+ }> | null;
3368
+ } | {
3369
+ __typename: 'DockerProcessDetails';
3370
+ containerId?: string | null;
3371
+ containerName?: string | null;
3372
+ imageName?: string | null;
3373
+ processKind: string;
3374
+ labels?: Array<{
3375
+ __typename?: 'KeyValue';
3376
+ key: string;
3377
+ value: string;
3378
+ }> | null;
3379
+ } | {
3380
+ __typename: 'EcsProcessDetails';
3381
+ containerId?: string | null;
3382
+ containerName?: string | null;
3383
+ imageName?: string | null;
3384
+ taskFamily?: string | null;
3385
+ taskArn?: string | null;
3386
+ processKind: string;
3387
+ labels?: Array<{
3388
+ __typename?: 'KeyValue';
3389
+ key: string;
3390
+ value: string;
3391
+ }> | null;
3392
+ } | {
3393
+ __typename: 'SystemdProcessDetails';
3394
+ unitName?: string | null;
3395
+ unitFilePath?: string | null;
3396
+ processKind: string;
3397
+ } | null;
2506
3398
  }> | null;
3399
+ details?: {
3400
+ __typename: 'CloudRunWorkloadDetails';
3401
+ service?: string | null;
3402
+ revision?: string | null;
3403
+ kind: string;
3404
+ containers?: Array<{
3405
+ __typename?: 'WorkloadContainer';
3406
+ name: string;
3407
+ image?: string | null;
3408
+ pids?: Array<number> | null;
3409
+ instrumented: boolean;
3410
+ instrumentationEligible: boolean;
3411
+ excludedReason?: string | null;
3412
+ distro?: string | null;
3413
+ runtime?: {
3414
+ __typename?: 'WorkloadRuntimeSnapshot';
3415
+ detected: {
3416
+ __typename?: 'WorkloadRuntime';
3417
+ language?: string | null;
3418
+ version?: string | null;
3419
+ };
3420
+ override?: {
3421
+ __typename?: 'WorkloadRuntime';
3422
+ language?: string | null;
3423
+ version?: string | null;
3424
+ } | null;
3425
+ running: {
3426
+ __typename?: 'WorkloadRuntime';
3427
+ language?: string | null;
3428
+ version?: string | null;
3429
+ };
3430
+ } | null;
3431
+ }> | null;
3432
+ } | {
3433
+ __typename: 'DockerWorkloadDetails';
3434
+ kind: string;
3435
+ containers?: Array<{
3436
+ __typename?: 'WorkloadContainer';
3437
+ name: string;
3438
+ image?: string | null;
3439
+ pids?: Array<number> | null;
3440
+ instrumented: boolean;
3441
+ instrumentationEligible: boolean;
3442
+ excludedReason?: string | null;
3443
+ distro?: string | null;
3444
+ runtime?: {
3445
+ __typename?: 'WorkloadRuntimeSnapshot';
3446
+ detected: {
3447
+ __typename?: 'WorkloadRuntime';
3448
+ language?: string | null;
3449
+ version?: string | null;
3450
+ };
3451
+ override?: {
3452
+ __typename?: 'WorkloadRuntime';
3453
+ language?: string | null;
3454
+ version?: string | null;
3455
+ } | null;
3456
+ running: {
3457
+ __typename?: 'WorkloadRuntime';
3458
+ language?: string | null;
3459
+ version?: string | null;
3460
+ };
3461
+ } | null;
3462
+ }> | null;
3463
+ } | {
3464
+ __typename: 'EcsWorkloadDetails';
3465
+ clusterArn?: string | null;
3466
+ taskDefinition?: string | null;
3467
+ launchType?: string | null;
3468
+ deploymentController?: string | null;
3469
+ kind: string;
3470
+ containers?: Array<{
3471
+ __typename?: 'WorkloadContainer';
3472
+ name: string;
3473
+ image?: string | null;
3474
+ pids?: Array<number> | null;
3475
+ instrumented: boolean;
3476
+ instrumentationEligible: boolean;
3477
+ excludedReason?: string | null;
3478
+ distro?: string | null;
3479
+ runtime?: {
3480
+ __typename?: 'WorkloadRuntimeSnapshot';
3481
+ detected: {
3482
+ __typename?: 'WorkloadRuntime';
3483
+ language?: string | null;
3484
+ version?: string | null;
3485
+ };
3486
+ override?: {
3487
+ __typename?: 'WorkloadRuntime';
3488
+ language?: string | null;
3489
+ version?: string | null;
3490
+ } | null;
3491
+ running: {
3492
+ __typename?: 'WorkloadRuntime';
3493
+ language?: string | null;
3494
+ version?: string | null;
3495
+ };
3496
+ } | null;
3497
+ }> | null;
3498
+ } | {
3499
+ __typename: 'LambdaWorkloadDetails';
3500
+ functionArn?: string | null;
3501
+ runtime?: string | null;
3502
+ architecture?: string | null;
3503
+ layerArn?: string | null;
3504
+ kind: string;
3505
+ } | null;
2507
3506
  } | null;
2508
3507
  };
2509
3508
  export type GetWorkloadReportsQueryVariables = Exact<{
@@ -2592,6 +3591,7 @@ export type GetWorkloadReportsQuery = {
2592
3591
  instrumented: boolean;
2593
3592
  probesAttached?: boolean | null;
2594
3593
  excludedReason?: string | null;
3594
+ otherAgentNames?: Array<string> | null;
2595
3595
  metadata?: Record<string, any> | null;
2596
3596
  runtime: {
2597
3597
  __typename?: 'WorkloadRuntimeSnapshot';
@@ -2611,7 +3611,154 @@ export type GetWorkloadReportsQuery = {
2611
3611
  version?: string | null;
2612
3612
  };
2613
3613
  };
3614
+ details?: {
3615
+ __typename: 'ContainerdProcessDetails';
3616
+ containerId?: string | null;
3617
+ imageName?: string | null;
3618
+ processKind: string;
3619
+ labels?: Array<{
3620
+ __typename?: 'KeyValue';
3621
+ key: string;
3622
+ value: string;
3623
+ }> | null;
3624
+ } | {
3625
+ __typename: 'DockerProcessDetails';
3626
+ containerId?: string | null;
3627
+ containerName?: string | null;
3628
+ imageName?: string | null;
3629
+ processKind: string;
3630
+ labels?: Array<{
3631
+ __typename?: 'KeyValue';
3632
+ key: string;
3633
+ value: string;
3634
+ }> | null;
3635
+ } | {
3636
+ __typename: 'EcsProcessDetails';
3637
+ containerId?: string | null;
3638
+ containerName?: string | null;
3639
+ imageName?: string | null;
3640
+ taskFamily?: string | null;
3641
+ taskArn?: string | null;
3642
+ processKind: string;
3643
+ labels?: Array<{
3644
+ __typename?: 'KeyValue';
3645
+ key: string;
3646
+ value: string;
3647
+ }> | null;
3648
+ } | {
3649
+ __typename: 'SystemdProcessDetails';
3650
+ unitName?: string | null;
3651
+ unitFilePath?: string | null;
3652
+ processKind: string;
3653
+ } | null;
2614
3654
  }> | null;
3655
+ details?: {
3656
+ __typename: 'CloudRunWorkloadDetails';
3657
+ service?: string | null;
3658
+ revision?: string | null;
3659
+ kind: string;
3660
+ containers?: Array<{
3661
+ __typename?: 'WorkloadContainer';
3662
+ name: string;
3663
+ image?: string | null;
3664
+ pids?: Array<number> | null;
3665
+ instrumented: boolean;
3666
+ instrumentationEligible: boolean;
3667
+ excludedReason?: string | null;
3668
+ distro?: string | null;
3669
+ runtime?: {
3670
+ __typename?: 'WorkloadRuntimeSnapshot';
3671
+ detected: {
3672
+ __typename?: 'WorkloadRuntime';
3673
+ language?: string | null;
3674
+ version?: string | null;
3675
+ };
3676
+ override?: {
3677
+ __typename?: 'WorkloadRuntime';
3678
+ language?: string | null;
3679
+ version?: string | null;
3680
+ } | null;
3681
+ running: {
3682
+ __typename?: 'WorkloadRuntime';
3683
+ language?: string | null;
3684
+ version?: string | null;
3685
+ };
3686
+ } | null;
3687
+ }> | null;
3688
+ } | {
3689
+ __typename: 'DockerWorkloadDetails';
3690
+ kind: string;
3691
+ containers?: Array<{
3692
+ __typename?: 'WorkloadContainer';
3693
+ name: string;
3694
+ image?: string | null;
3695
+ pids?: Array<number> | null;
3696
+ instrumented: boolean;
3697
+ instrumentationEligible: boolean;
3698
+ excludedReason?: string | null;
3699
+ distro?: string | null;
3700
+ runtime?: {
3701
+ __typename?: 'WorkloadRuntimeSnapshot';
3702
+ detected: {
3703
+ __typename?: 'WorkloadRuntime';
3704
+ language?: string | null;
3705
+ version?: string | null;
3706
+ };
3707
+ override?: {
3708
+ __typename?: 'WorkloadRuntime';
3709
+ language?: string | null;
3710
+ version?: string | null;
3711
+ } | null;
3712
+ running: {
3713
+ __typename?: 'WorkloadRuntime';
3714
+ language?: string | null;
3715
+ version?: string | null;
3716
+ };
3717
+ } | null;
3718
+ }> | null;
3719
+ } | {
3720
+ __typename: 'EcsWorkloadDetails';
3721
+ clusterArn?: string | null;
3722
+ taskDefinition?: string | null;
3723
+ launchType?: string | null;
3724
+ deploymentController?: string | null;
3725
+ kind: string;
3726
+ containers?: Array<{
3727
+ __typename?: 'WorkloadContainer';
3728
+ name: string;
3729
+ image?: string | null;
3730
+ pids?: Array<number> | null;
3731
+ instrumented: boolean;
3732
+ instrumentationEligible: boolean;
3733
+ excludedReason?: string | null;
3734
+ distro?: string | null;
3735
+ runtime?: {
3736
+ __typename?: 'WorkloadRuntimeSnapshot';
3737
+ detected: {
3738
+ __typename?: 'WorkloadRuntime';
3739
+ language?: string | null;
3740
+ version?: string | null;
3741
+ };
3742
+ override?: {
3743
+ __typename?: 'WorkloadRuntime';
3744
+ language?: string | null;
3745
+ version?: string | null;
3746
+ } | null;
3747
+ running: {
3748
+ __typename?: 'WorkloadRuntime';
3749
+ language?: string | null;
3750
+ version?: string | null;
3751
+ };
3752
+ } | null;
3753
+ }> | null;
3754
+ } | {
3755
+ __typename: 'LambdaWorkloadDetails';
3756
+ functionArn?: string | null;
3757
+ runtime?: string | null;
3758
+ architecture?: string | null;
3759
+ layerArn?: string | null;
3760
+ kind: string;
3761
+ } | null;
2615
3762
  }>;
2616
3763
  };
2617
3764
  export declare const ActionTypeFieldsFragmentDoc: DocumentNode<ActionTypeFieldsFragment, unknown>;
@@ -2621,6 +3768,10 @@ export declare const DestinationTypeFieldsFragmentDoc: DocumentNode<DestinationT
2621
3768
  export declare const DestinationFieldsFragmentDoc: DocumentNode<DestinationFieldsFragment, unknown>;
2622
3769
  export declare const InstrumentationRuleTypeFieldsFragmentDoc: DocumentNode<InstrumentationRuleTypeFieldsFragment, unknown>;
2623
3770
  export declare const InstrumentationRuleFieldsFragmentDoc: DocumentNode<InstrumentationRuleFieldsFragment, unknown>;
3771
+ export declare const ContainerOverrideFieldsFragmentDoc: DocumentNode<ContainerOverrideFieldsFragment, unknown>;
3772
+ export declare const ProcessDetailsFieldsFragmentDoc: DocumentNode<ProcessDetailsFieldsFragment, unknown>;
3773
+ export declare const WorkloadContainerFieldsFragmentDoc: DocumentNode<WorkloadContainerFieldsFragment, unknown>;
3774
+ export declare const WorkloadDetailsFieldsFragmentDoc: DocumentNode<WorkloadDetailsFieldsFragment, unknown>;
2624
3775
  export declare const WorkloadReportFieldsFragmentDoc: DocumentNode<WorkloadReportFieldsFragment, unknown>;
2625
3776
  export declare const GetActionTypesDocument: DocumentNode<GetActionTypesQuery, GetActionTypesQueryVariables>;
2626
3777
  export declare const GetActionDocument: DocumentNode<GetActionQuery, GetActionQueryVariables>;
@@ -2659,6 +3810,12 @@ export declare const GenerateProfileBundleDocument: DocumentNode<GenerateProfile
2659
3810
  export declare const StartBackgroundProfileBundleDocument: DocumentNode<StartBackgroundProfileBundleMutation, StartBackgroundProfileBundleMutationVariables>;
2660
3811
  export declare const CancelProfileBundleDocument: DocumentNode<CancelProfileBundleMutation, CancelProfileBundleMutationVariables>;
2661
3812
  export declare const ClearProfileCacheDocument: DocumentNode<ClearProfileCacheMutation, ClearProfileCacheMutationVariables>;
3813
+ export declare const ProfilingSlotsDocument: DocumentNode<ProfilingSlotsQuery, ProfilingSlotsQueryVariables>;
3814
+ export declare const SourceProfileDocument: DocumentNode<SourceProfileQuery, SourceProfileQueryVariables>;
3815
+ export declare const EnableSourceProfilingDocument: DocumentNode<EnableSourceProfilingMutation, EnableSourceProfilingMutationVariables>;
3816
+ export declare const DisableSourceProfilingDocument: DocumentNode<DisableSourceProfilingMutation, DisableSourceProfilingMutationVariables>;
3817
+ export declare const ClearSourceProfilingBufferDocument: DocumentNode<ClearSourceProfilingBufferMutation, ClearSourceProfilingBufferMutationVariables>;
3818
+ export declare const ConfigureProfilingCacheDocument: DocumentNode<ConfigureProfilingCacheMutation, ConfigureProfilingCacheMutationVariables>;
2662
3819
  export declare const GetSourceDocument: DocumentNode<GetSourceQuery, GetSourceQueryVariables>;
2663
3820
  export declare const GetSourcesDocument: DocumentNode<GetSourcesQuery, GetSourcesQueryVariables>;
2664
3821
  export declare const CreateSourceDocument: DocumentNode<CreateSourceMutation, CreateSourceMutationVariables>;