@odigos/vmagent-api-apollo-client 0.18.0 → 0.20.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,16 +80,6 @@ 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
- };
93
83
  export type CodeAttributesConfig = {
94
84
  __typename?: 'CodeAttributesConfig';
95
85
  collectColumn?: Maybe<Scalars['Boolean']['output']>;
@@ -341,6 +331,15 @@ export type DestinationType = {
341
331
  supportedSignals: DestinationSupportedSignals;
342
332
  type: Scalars['String']['output'];
343
333
  };
334
+ export type DiagnoseBundle = {
335
+ __typename?: 'DiagnoseBundle';
336
+ contentBase64?: Maybe<Scalars['String']['output']>;
337
+ createdAt: Scalars['String']['output'];
338
+ error?: Maybe<Scalars['String']['output']>;
339
+ filePath: Scalars['String']['output'];
340
+ id: Scalars['String']['output'];
341
+ sizeBytes?: Maybe<Scalars['Float']['output']>;
342
+ };
344
343
  export type DistroOverride = {
345
344
  __typename?: 'DistroOverride';
346
345
  otelDistroName?: Maybe<Scalars['String']['output']>;
@@ -467,6 +466,107 @@ export type HotFunctionsResult = {
467
466
  host?: Maybe<HostInfo>;
468
467
  services: Array<ServiceHotFunctions>;
469
468
  };
469
+ /**
470
+ * The instrumentation rendered for one delivery tool: a snippet to paste, and the ordered steps that say where
471
+ * it goes.
472
+ *
473
+ * Every field is display-ready. Substitution happens connector-side rather than in a client, so there is only
474
+ * one place that has to know which of the two OTLP endpoint forms a given variable takes — the SDK accepts a
475
+ * bare host:port where it needs a scheme-qualified URL and then exports nowhere, which is not a failure any
476
+ * client would see.
477
+ */
478
+ export type InstructionDocument = {
479
+ __typename?: 'InstructionDocument';
480
+ /** Fully rendered for THIS workload — endpoint, service name, region already substituted. */
481
+ content: Scalars['String']['output'];
482
+ description: Scalars['String']['output'];
483
+ /** Syntax hint for a code block: json | yaml | hcl | shell | text. */
484
+ format: Scalars['String']['output'];
485
+ /** Stable id, unique per connector. */
486
+ id: Scalars['String']['output'];
487
+ /** Ordered instructions shown above the snippet. The snippet alone never says where it goes. */
488
+ steps: Array<Scalars['String']['output']>;
489
+ title: Scalars['String']['output'];
490
+ /**
491
+ * Blanks the connector genuinely could not fill, so the customer knows what is still theirs to supply.
492
+ *
493
+ * Derived from the RENDERED text rather than from what the instructions declare, so a client cannot be asked
494
+ * for a value the document does not carry, and cannot miss one it does. Null when nothing is left to fill in.
495
+ */
496
+ unresolved?: Maybe<Array<InstructionInput>>;
497
+ /**
498
+ * Delivery tool this renders for: terraform, cloudformation, bicep, aws-cli, gcloud, az-cli, manual. A client
499
+ * uses it to pick a default and to key a chooser; it is not otherwise interpreted.
500
+ */
501
+ variant: Scalars['String']['output'];
502
+ /** Label for that chooser, e.g. "Terraform", "Bicep / ARM", "Reference". */
503
+ variantLabel: Scalars['String']['output'];
504
+ };
505
+ /** One blank the connector genuinely could not fill. */
506
+ export type InstructionInput = {
507
+ __typename?: 'InstructionInput';
508
+ /**
509
+ * What to put there, and where to find it.
510
+ *
511
+ * It travels with the token because the token alone is not self-explanatory in the cases that matter most:
512
+ * the service name must MATCH the workload's name in Odigos rather than being any sensible label, and the two
513
+ * OTLP endpoint forms are the same destination spelled two ways that are not interchangeable.
514
+ */
515
+ description: Scalars['String']['output'];
516
+ /** The placeholder exactly as it appears in `content`, e.g. "<YOUR_CONTAINER>". */
517
+ placeholder: Scalars['String']['output'];
518
+ };
519
+ /**
520
+ * Instrumentation is attributable to Odigos but does not match what it should be (code
521
+ * "InstrumentationPartiallyApplied").
522
+ *
523
+ * This is a manual-mode condition specifically. In automatic mode a gap is a non-event — the next reconcile
524
+ * converges it — which is exactly why it needs reporting here: nothing converges a manual-mode workload, so a
525
+ * half-applied instrumentation stays half-applied and would otherwise report as healthy on the strength of its
526
+ * ownership marker alone.
527
+ */
528
+ export type InstrumentationDriftDetails = WorkloadIssueDetails & {
529
+ __typename?: 'InstrumentationDriftDetails';
530
+ code: Scalars['String']['output'];
531
+ /**
532
+ * Provider-neutral names of the components that are absent or carry a stale value: ownershipMarker,
533
+ * serviceName, collectorExport, agentLoader, instrumentationLayer, agentSidecar, agentVolume, … A client
534
+ * renders these; it never re-derives which platform fact led to one.
535
+ */
536
+ missingComponents: Array<Scalars['String']['output']>;
537
+ };
538
+ /** Everything needed to instrument one workload by hand or by IaC. */
539
+ export type InstrumentationInstructions = {
540
+ __typename?: 'InstrumentationInstructions';
541
+ /**
542
+ * The change rendered per delivery tool, in the connector's preferred order.
543
+ *
544
+ * Never empty. A connector that declares no per-tool rendering for a type still returns one `manual` document
545
+ * built from the desired state itself, because a customer on an unsupported toolchain needs the change
546
+ * described more than they need it in their own syntax.
547
+ */
548
+ documents: Array<InstructionDocument>;
549
+ kind: Scalars['String']['output'];
550
+ /**
551
+ * automatic | manual — why the customer is being shown this at all.
552
+ *
553
+ * Instructions are served in BOTH modes on purpose. In manual mode they are what the customer applies. In
554
+ * automatic mode they are the same change Odigos is about to make itself, which is what makes
555
+ * "what exactly did Odigos change here" answerable without reading a provider console.
556
+ */
557
+ mode: Scalars['String']['output'];
558
+ /**
559
+ * Caveats that belong with the instructions whichever tool the customer uses: a platform limit, a value they
560
+ * must supply, a step that is easy to complete and still not have telemetry (moving traffic onto a new
561
+ * revision).
562
+ */
563
+ notes: Array<Scalars['String']['output']>;
564
+ region?: Maybe<Scalars['String']['output']>;
565
+ /** Composite identity of the workload these are for, matching WorkloadReport. */
566
+ serviceName: Scalars['String']['output'];
567
+ /** RFC3339 timestamp the instructions were computed. */
568
+ updatedAt: Scalars['String']['output'];
569
+ };
470
570
  export type InstrumentationRule = {
471
571
  enabled: Scalars['Boolean']['output'];
472
572
  name: Scalars['String']['output'];
@@ -534,6 +634,7 @@ export type Mutation = {
534
634
  deleteSource: DeleteSourcePayload;
535
635
  disableSourceProfiling: SlotResult;
536
636
  enableSourceProfiling: SlotResult;
637
+ generateDiagnoseBundle: DiagnoseBundle;
537
638
  generateProfileBundle: ProfileBundle;
538
639
  /** Trigger an out-of-band provider discovery refresh; returns true if a refresh was enqueued. */
539
640
  refreshDiscovery: Scalars['Boolean']['output'];
@@ -591,6 +692,9 @@ export type MutationDisableSourceProfilingArgs = {
591
692
  export type MutationEnableSourceProfilingArgs = {
592
693
  service: Scalars['String']['input'];
593
694
  };
695
+ export type MutationGenerateDiagnoseBundleArgs = {
696
+ includeContent?: InputMaybe<Scalars['Boolean']['input']>;
697
+ };
594
698
  export type MutationGenerateProfileBundleArgs = {
595
699
  durationSeconds?: InputMaybe<Scalars['Int']['input']>;
596
700
  service?: InputMaybe<Scalars['String']['input']>;
@@ -740,6 +844,11 @@ export type Query = {
740
844
  destination?: Maybe<Destination>;
741
845
  destinationTypes: Array<DestinationType>;
742
846
  destinations: Array<Destination>;
847
+ /**
848
+ * How to instrument one workload, keyed the same way as workloadReport. Null when the workload is unknown, or
849
+ * when its type has no instrumentation defined on this connector.
850
+ */
851
+ instrumentationInstructions?: Maybe<InstrumentationInstructions>;
743
852
  instrumentationRule?: Maybe<InstrumentationRule>;
744
853
  instrumentationRuleTypes: Array<InstrumentationRuleTypeOption>;
745
854
  instrumentationRules: Array<InstrumentationRule>;
@@ -767,6 +876,11 @@ export type QueryComputePlatformReportArgs = {
767
876
  export type QueryDestinationArgs = {
768
877
  name: Scalars['String']['input'];
769
878
  };
879
+ export type QueryInstrumentationInstructionsArgs = {
880
+ kind: Scalars['String']['input'];
881
+ region?: InputMaybe<Scalars['String']['input']>;
882
+ serviceName: Scalars['String']['input'];
883
+ };
770
884
  export type QueryInstrumentationRuleArgs = {
771
885
  name: Scalars['String']['input'];
772
886
  };
@@ -798,6 +912,44 @@ export type RestartSourcePayload = {
798
912
  name: Scalars['String']['output'];
799
913
  restarted: Scalars['Boolean']['output'];
800
914
  };
915
+ /**
916
+ * A managed service whose deployments are immutable REVISIONS behind a traffic split: a Cloud Run service
917
+ * (kind "gcp.cloud-run") or an Azure Container App (kind "azure.container-apps").
918
+ *
919
+ * One type rather than one per platform, because every field here means the same thing on both — the platform
920
+ * resource identity, the revision the platform last reported ready, and the containers in that revision's
921
+ * template. `kind` already tells a client which platform it is, so two names for one shape buys nothing. This is
922
+ * the same reasoning that makes WorkloadContainer shared; per-platform types earn their keep for facts that are
923
+ * genuinely platform-specific (a Lambda layer ARN, an ECS launch type), not for a renamed field.
924
+ *
925
+ * It replaces CloudRunWorkloadDetails and ContainerAppsWorkloadDetails, which had already diverged in the one way
926
+ * that mattered: both called their revision field `revision` and documented it as OPPOSITE facts — Cloud Run's as
927
+ * the revision serving traffic, Container Apps' as the latest ready revision, explicitly "not necessarily the one
928
+ * serving requests". Both reporters in fact populate latest-ready, so a client branching on `__typename` was
929
+ * being told two different things about the same value. Naming the field for what it actually holds is the
930
+ * substantive half of this merge.
931
+ */
932
+ export type RevisionedServiceWorkloadDetails = WorkloadDetails & {
933
+ __typename?: 'RevisionedServiceWorkloadDetails';
934
+ /** Every container in the revision's template, instrumentable or not. */
935
+ containers?: Maybe<Array<WorkloadContainer>>;
936
+ kind: Scalars['String']['output'];
937
+ /**
938
+ * Revision the platform last reported READY — the newest deployment that came up healthy.
939
+ *
940
+ * Deliberately NOT "the revision serving traffic", which is a different fact and the one that bites in manual
941
+ * (IaC) mode: revisions are immutable on both platforms, so instrumentation always produces a new one, and a
942
+ * traffic split can keep weighting an older, uninstrumented revision indefinitely. A customer can apply
943
+ * instrumentation correctly and still see no telemetry.
944
+ *
945
+ * Reporting which revision is READY is what lets them notice that at all. Reporting which revisions SERVE needs
946
+ * per-revision traffic weights (Cloud Run trafficStatuses, Container Apps ingress traffic), and that field gets
947
+ * added by whichever change first observes them — rather than existing now as a slot clients learn to ignore.
948
+ */
949
+ latestReadyRevision?: Maybe<Scalars['String']['output']>;
950
+ /** Fully-qualified platform resource identity: the Cloud Run service name, or the Container App resource id. */
951
+ service?: Maybe<Scalars['String']['output']>;
952
+ };
801
953
  export declare enum RuleType {
802
954
  CodeAttributes = "CodeAttributes",
803
955
  CustomInstrumentation = "CustomInstrumentation",
@@ -1090,11 +1242,11 @@ export type WorkloadDesiredReport = {
1090
1242
  * Kind-specific facts about a workload as a whole. The concrete type is selected by
1091
1243
  * WorkloadReport.kind.
1092
1244
  *
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.
1245
+ * Container-shaped kinds (docker, ecs, cloud-run, container-apps) resolve to a type carrying
1246
+ * `containers`, which adds the container layer between the workload and its processes. Process-shaped
1247
+ * kinds (systemd, plain host processes) have no container layer at all and leave `details` null: their
1248
+ * processes hang directly off the workload's `instances` / `processMetadata`, with no empty container
1249
+ * wrapper invented to make the shapes match.
1098
1250
  */
1099
1251
  export type WorkloadDetails = {
1100
1252
  /** The WorkloadReport.kind this block describes, echoed so clients can branch without a fragment. */
@@ -1117,12 +1269,30 @@ export type WorkloadInstanceStatus = {
1117
1269
  export type WorkloadIssue = {
1118
1270
  __typename?: 'WorkloadIssue';
1119
1271
  code: Scalars['String']['output'];
1272
+ /**
1273
+ * Machine-readable facts behind this issue, typed per `code`. Null for issues whose message is the whole
1274
+ * story.
1275
+ *
1276
+ * It exists because `message` had become the only channel for facts a client needs to ACT on rather than
1277
+ * display: which parts of an instrumentation are missing arrives today as a prose sentence a UI would have
1278
+ * to parse back apart to render as a list, or to offer a targeted fix for. Adding a code here means adding a
1279
+ * branch, never a new convention for encoding data into a sentence.
1280
+ */
1281
+ details?: Maybe<WorkloadIssueDetails>;
1120
1282
  message: Scalars['String']['output'];
1121
1283
  severity: Scalars['String']['output'];
1122
1284
  /** RFC3339 timestamp when the issue was first observed. */
1123
1285
  since?: Maybe<Scalars['String']['output']>;
1124
1286
  transient?: Maybe<Scalars['Boolean']['output']>;
1125
1287
  };
1288
+ /**
1289
+ * Facts behind one WorkloadIssue, typed by its `code`. Same discriminator-plus-typed-branch pattern as
1290
+ * WorkloadDetails and the rule/action config branches.
1291
+ */
1292
+ export type WorkloadIssueDetails = {
1293
+ /** The WorkloadIssue.code this block describes, echoed so clients can branch without a fragment. */
1294
+ code: Scalars['String']['output'];
1295
+ };
1126
1296
  /**
1127
1297
  * One live process under this workload from the instrumentation controller's AnalyzedProcess snapshot
1128
1298
  * (eligible for instrumentation, instrumented, or excluded / uninstrumentable).
@@ -1875,6 +2045,95 @@ export type TestConnectionMutation = {
1875
2045
  reason?: string | null;
1876
2046
  };
1877
2047
  };
2048
+ export type GenerateDiagnoseBundleMutationVariables = Exact<{
2049
+ includeContent?: InputMaybe<Scalars['Boolean']['input']>;
2050
+ }>;
2051
+ export type GenerateDiagnoseBundleMutation = {
2052
+ __typename?: 'Mutation';
2053
+ generateDiagnoseBundle: {
2054
+ __typename?: 'DiagnoseBundle';
2055
+ id: string;
2056
+ filePath: string;
2057
+ createdAt: string;
2058
+ sizeBytes?: number | null;
2059
+ contentBase64?: string | null;
2060
+ error?: string | null;
2061
+ };
2062
+ };
2063
+ export type InstructionDocumentFieldsFragment = {
2064
+ __typename?: 'InstructionDocument';
2065
+ id: string;
2066
+ variant: string;
2067
+ variantLabel: string;
2068
+ title: string;
2069
+ description: string;
2070
+ steps: Array<string>;
2071
+ format: string;
2072
+ content: string;
2073
+ unresolved?: Array<{
2074
+ __typename?: 'InstructionInput';
2075
+ placeholder: string;
2076
+ description: string;
2077
+ }> | null;
2078
+ };
2079
+ export type InstrumentationInstructionsFieldsFragment = {
2080
+ __typename?: 'InstrumentationInstructions';
2081
+ serviceName: string;
2082
+ kind: string;
2083
+ region?: string | null;
2084
+ mode: string;
2085
+ notes: Array<string>;
2086
+ updatedAt: string;
2087
+ documents: Array<{
2088
+ __typename?: 'InstructionDocument';
2089
+ id: string;
2090
+ variant: string;
2091
+ variantLabel: string;
2092
+ title: string;
2093
+ description: string;
2094
+ steps: Array<string>;
2095
+ format: string;
2096
+ content: string;
2097
+ unresolved?: Array<{
2098
+ __typename?: 'InstructionInput';
2099
+ placeholder: string;
2100
+ description: string;
2101
+ }> | null;
2102
+ }>;
2103
+ };
2104
+ export type GetInstrumentationInstructionsQueryVariables = Exact<{
2105
+ serviceName: Scalars['String']['input'];
2106
+ kind: Scalars['String']['input'];
2107
+ region?: InputMaybe<Scalars['String']['input']>;
2108
+ }>;
2109
+ export type GetInstrumentationInstructionsQuery = {
2110
+ __typename?: 'Query';
2111
+ instrumentationInstructions?: {
2112
+ __typename?: 'InstrumentationInstructions';
2113
+ serviceName: string;
2114
+ kind: string;
2115
+ region?: string | null;
2116
+ mode: string;
2117
+ notes: Array<string>;
2118
+ updatedAt: string;
2119
+ documents: Array<{
2120
+ __typename?: 'InstructionDocument';
2121
+ id: string;
2122
+ variant: string;
2123
+ variantLabel: string;
2124
+ title: string;
2125
+ description: string;
2126
+ steps: Array<string>;
2127
+ format: string;
2128
+ content: string;
2129
+ unresolved?: Array<{
2130
+ __typename?: 'InstructionInput';
2131
+ placeholder: string;
2132
+ description: string;
2133
+ }> | null;
2134
+ }>;
2135
+ } | null;
2136
+ };
1878
2137
  export type InstrumentationRuleTypeFieldsFragment = {
1879
2138
  __typename?: 'InstrumentationRuleTypeOption';
1880
2139
  type: string;
@@ -2868,6 +3127,11 @@ export type WorkloadReportFieldsFragment = {
2868
3127
  message: string;
2869
3128
  since?: string | null;
2870
3129
  transient?: boolean | null;
3130
+ details?: {
3131
+ __typename: 'InstrumentationDriftDetails';
3132
+ missingComponents: Array<string>;
3133
+ code: string;
3134
+ } | null;
2871
3135
  }> | null;
2872
3136
  instances?: Array<{
2873
3137
  __typename?: 'WorkloadInstanceStatus';
@@ -2957,9 +3221,7 @@ export type WorkloadReportFieldsFragment = {
2957
3221
  } | null;
2958
3222
  }> | null;
2959
3223
  details?: {
2960
- __typename: 'CloudRunWorkloadDetails';
2961
- service?: string | null;
2962
- revision?: string | null;
3224
+ __typename: 'DockerWorkloadDetails';
2963
3225
  kind: string;
2964
3226
  containers?: Array<{
2965
3227
  __typename?: 'WorkloadContainer';
@@ -2990,7 +3252,11 @@ export type WorkloadReportFieldsFragment = {
2990
3252
  } | null;
2991
3253
  }> | null;
2992
3254
  } | {
2993
- __typename: 'DockerWorkloadDetails';
3255
+ __typename: 'EcsWorkloadDetails';
3256
+ clusterArn?: string | null;
3257
+ taskDefinition?: string | null;
3258
+ launchType?: string | null;
3259
+ deploymentController?: string | null;
2994
3260
  kind: string;
2995
3261
  containers?: Array<{
2996
3262
  __typename?: 'WorkloadContainer';
@@ -3021,11 +3287,16 @@ export type WorkloadReportFieldsFragment = {
3021
3287
  } | null;
3022
3288
  }> | null;
3023
3289
  } | {
3024
- __typename: 'EcsWorkloadDetails';
3025
- clusterArn?: string | null;
3026
- taskDefinition?: string | null;
3027
- launchType?: string | null;
3028
- deploymentController?: string | null;
3290
+ __typename: 'LambdaWorkloadDetails';
3291
+ functionArn?: string | null;
3292
+ runtime?: string | null;
3293
+ architecture?: string | null;
3294
+ layerArn?: string | null;
3295
+ kind: string;
3296
+ } | {
3297
+ __typename: 'RevisionedServiceWorkloadDetails';
3298
+ service?: string | null;
3299
+ latestReadyRevision?: string | null;
3029
3300
  kind: string;
3030
3301
  containers?: Array<{
3031
3302
  __typename?: 'WorkloadContainer';
@@ -3055,13 +3326,6 @@ export type WorkloadReportFieldsFragment = {
3055
3326
  };
3056
3327
  } | null;
3057
3328
  }> | 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
3329
  } | null;
3066
3330
  };
3067
3331
  type ProcessDetailsFields_ContainerdProcessDetails_Fragment = {
@@ -3136,10 +3400,8 @@ export type WorkloadContainerFieldsFragment = {
3136
3400
  };
3137
3401
  } | null;
3138
3402
  };
3139
- type WorkloadDetailsFields_CloudRunWorkloadDetails_Fragment = {
3140
- __typename: 'CloudRunWorkloadDetails';
3141
- service?: string | null;
3142
- revision?: string | null;
3403
+ type WorkloadDetailsFields_DockerWorkloadDetails_Fragment = {
3404
+ __typename: 'DockerWorkloadDetails';
3143
3405
  kind: string;
3144
3406
  containers?: Array<{
3145
3407
  __typename?: 'WorkloadContainer';
@@ -3170,8 +3432,12 @@ type WorkloadDetailsFields_CloudRunWorkloadDetails_Fragment = {
3170
3432
  } | null;
3171
3433
  }> | null;
3172
3434
  };
3173
- type WorkloadDetailsFields_DockerWorkloadDetails_Fragment = {
3174
- __typename: 'DockerWorkloadDetails';
3435
+ type WorkloadDetailsFields_EcsWorkloadDetails_Fragment = {
3436
+ __typename: 'EcsWorkloadDetails';
3437
+ clusterArn?: string | null;
3438
+ taskDefinition?: string | null;
3439
+ launchType?: string | null;
3440
+ deploymentController?: string | null;
3175
3441
  kind: string;
3176
3442
  containers?: Array<{
3177
3443
  __typename?: 'WorkloadContainer';
@@ -3202,12 +3468,18 @@ type WorkloadDetailsFields_DockerWorkloadDetails_Fragment = {
3202
3468
  } | null;
3203
3469
  }> | null;
3204
3470
  };
3205
- type WorkloadDetailsFields_EcsWorkloadDetails_Fragment = {
3206
- __typename: 'EcsWorkloadDetails';
3207
- clusterArn?: string | null;
3208
- taskDefinition?: string | null;
3209
- launchType?: string | null;
3210
- deploymentController?: string | null;
3471
+ type WorkloadDetailsFields_LambdaWorkloadDetails_Fragment = {
3472
+ __typename: 'LambdaWorkloadDetails';
3473
+ functionArn?: string | null;
3474
+ runtime?: string | null;
3475
+ architecture?: string | null;
3476
+ layerArn?: string | null;
3477
+ kind: string;
3478
+ };
3479
+ type WorkloadDetailsFields_RevisionedServiceWorkloadDetails_Fragment = {
3480
+ __typename: 'RevisionedServiceWorkloadDetails';
3481
+ service?: string | null;
3482
+ latestReadyRevision?: string | null;
3211
3483
  kind: string;
3212
3484
  containers?: Array<{
3213
3485
  __typename?: 'WorkloadContainer';
@@ -3238,15 +3510,7 @@ type WorkloadDetailsFields_EcsWorkloadDetails_Fragment = {
3238
3510
  } | null;
3239
3511
  }> | null;
3240
3512
  };
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;
3513
+ export type WorkloadDetailsFieldsFragment = WorkloadDetailsFields_DockerWorkloadDetails_Fragment | WorkloadDetailsFields_EcsWorkloadDetails_Fragment | WorkloadDetailsFields_LambdaWorkloadDetails_Fragment | WorkloadDetailsFields_RevisionedServiceWorkloadDetails_Fragment;
3250
3514
  export type GetWorkloadReportQueryVariables = Exact<{
3251
3515
  serviceName: Scalars['String']['input'];
3252
3516
  kind: Scalars['String']['input'];
@@ -3308,6 +3572,11 @@ export type GetWorkloadReportQuery = {
3308
3572
  message: string;
3309
3573
  since?: string | null;
3310
3574
  transient?: boolean | null;
3575
+ details?: {
3576
+ __typename: 'InstrumentationDriftDetails';
3577
+ missingComponents: Array<string>;
3578
+ code: string;
3579
+ } | null;
3311
3580
  }> | null;
3312
3581
  instances?: Array<{
3313
3582
  __typename?: 'WorkloadInstanceStatus';
@@ -3397,9 +3666,7 @@ export type GetWorkloadReportQuery = {
3397
3666
  } | null;
3398
3667
  }> | null;
3399
3668
  details?: {
3400
- __typename: 'CloudRunWorkloadDetails';
3401
- service?: string | null;
3402
- revision?: string | null;
3669
+ __typename: 'DockerWorkloadDetails';
3403
3670
  kind: string;
3404
3671
  containers?: Array<{
3405
3672
  __typename?: 'WorkloadContainer';
@@ -3430,7 +3697,11 @@ export type GetWorkloadReportQuery = {
3430
3697
  } | null;
3431
3698
  }> | null;
3432
3699
  } | {
3433
- __typename: 'DockerWorkloadDetails';
3700
+ __typename: 'EcsWorkloadDetails';
3701
+ clusterArn?: string | null;
3702
+ taskDefinition?: string | null;
3703
+ launchType?: string | null;
3704
+ deploymentController?: string | null;
3434
3705
  kind: string;
3435
3706
  containers?: Array<{
3436
3707
  __typename?: 'WorkloadContainer';
@@ -3461,11 +3732,16 @@ export type GetWorkloadReportQuery = {
3461
3732
  } | null;
3462
3733
  }> | null;
3463
3734
  } | {
3464
- __typename: 'EcsWorkloadDetails';
3465
- clusterArn?: string | null;
3466
- taskDefinition?: string | null;
3467
- launchType?: string | null;
3468
- deploymentController?: string | null;
3735
+ __typename: 'LambdaWorkloadDetails';
3736
+ functionArn?: string | null;
3737
+ runtime?: string | null;
3738
+ architecture?: string | null;
3739
+ layerArn?: string | null;
3740
+ kind: string;
3741
+ } | {
3742
+ __typename: 'RevisionedServiceWorkloadDetails';
3743
+ service?: string | null;
3744
+ latestReadyRevision?: string | null;
3469
3745
  kind: string;
3470
3746
  containers?: Array<{
3471
3747
  __typename?: 'WorkloadContainer';
@@ -3495,13 +3771,6 @@ export type GetWorkloadReportQuery = {
3495
3771
  };
3496
3772
  } | null;
3497
3773
  }> | 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
3774
  } | null;
3506
3775
  } | null;
3507
3776
  };
@@ -3564,6 +3833,11 @@ export type GetWorkloadReportsQuery = {
3564
3833
  message: string;
3565
3834
  since?: string | null;
3566
3835
  transient?: boolean | null;
3836
+ details?: {
3837
+ __typename: 'InstrumentationDriftDetails';
3838
+ missingComponents: Array<string>;
3839
+ code: string;
3840
+ } | null;
3567
3841
  }> | null;
3568
3842
  instances?: Array<{
3569
3843
  __typename?: 'WorkloadInstanceStatus';
@@ -3653,9 +3927,7 @@ export type GetWorkloadReportsQuery = {
3653
3927
  } | null;
3654
3928
  }> | null;
3655
3929
  details?: {
3656
- __typename: 'CloudRunWorkloadDetails';
3657
- service?: string | null;
3658
- revision?: string | null;
3930
+ __typename: 'DockerWorkloadDetails';
3659
3931
  kind: string;
3660
3932
  containers?: Array<{
3661
3933
  __typename?: 'WorkloadContainer';
@@ -3686,7 +3958,11 @@ export type GetWorkloadReportsQuery = {
3686
3958
  } | null;
3687
3959
  }> | null;
3688
3960
  } | {
3689
- __typename: 'DockerWorkloadDetails';
3961
+ __typename: 'EcsWorkloadDetails';
3962
+ clusterArn?: string | null;
3963
+ taskDefinition?: string | null;
3964
+ launchType?: string | null;
3965
+ deploymentController?: string | null;
3690
3966
  kind: string;
3691
3967
  containers?: Array<{
3692
3968
  __typename?: 'WorkloadContainer';
@@ -3717,11 +3993,16 @@ export type GetWorkloadReportsQuery = {
3717
3993
  } | null;
3718
3994
  }> | null;
3719
3995
  } | {
3720
- __typename: 'EcsWorkloadDetails';
3721
- clusterArn?: string | null;
3722
- taskDefinition?: string | null;
3723
- launchType?: string | null;
3724
- deploymentController?: string | null;
3996
+ __typename: 'LambdaWorkloadDetails';
3997
+ functionArn?: string | null;
3998
+ runtime?: string | null;
3999
+ architecture?: string | null;
4000
+ layerArn?: string | null;
4001
+ kind: string;
4002
+ } | {
4003
+ __typename: 'RevisionedServiceWorkloadDetails';
4004
+ service?: string | null;
4005
+ latestReadyRevision?: string | null;
3725
4006
  kind: string;
3726
4007
  containers?: Array<{
3727
4008
  __typename?: 'WorkloadContainer';
@@ -3751,13 +4032,6 @@ export type GetWorkloadReportsQuery = {
3751
4032
  };
3752
4033
  } | null;
3753
4034
  }> | 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
4035
  } | null;
3762
4036
  }>;
3763
4037
  };
@@ -3766,6 +4040,8 @@ export declare const ActionFieldsFragmentDoc: DocumentNode<ActionFieldsFragment,
3766
4040
  export declare const ComputePlatformReportFieldsFragmentDoc: DocumentNode<ComputePlatformReportFieldsFragment, unknown>;
3767
4041
  export declare const DestinationTypeFieldsFragmentDoc: DocumentNode<DestinationTypeFieldsFragment, unknown>;
3768
4042
  export declare const DestinationFieldsFragmentDoc: DocumentNode<DestinationFieldsFragment, unknown>;
4043
+ export declare const InstructionDocumentFieldsFragmentDoc: DocumentNode<InstructionDocumentFieldsFragment, unknown>;
4044
+ export declare const InstrumentationInstructionsFieldsFragmentDoc: DocumentNode<InstrumentationInstructionsFieldsFragment, unknown>;
3769
4045
  export declare const InstrumentationRuleTypeFieldsFragmentDoc: DocumentNode<InstrumentationRuleTypeFieldsFragment, unknown>;
3770
4046
  export declare const InstrumentationRuleFieldsFragmentDoc: DocumentNode<InstrumentationRuleFieldsFragment, unknown>;
3771
4047
  export declare const ContainerOverrideFieldsFragmentDoc: DocumentNode<ContainerOverrideFieldsFragment, unknown>;
@@ -3797,6 +4073,8 @@ export declare const CreateDestinationDocument: DocumentNode<CreateDestinationMu
3797
4073
  export declare const UpdateDestinationDocument: DocumentNode<UpdateDestinationMutation, UpdateDestinationMutationVariables>;
3798
4074
  export declare const DeleteDestinationDocument: DocumentNode<DeleteDestinationMutation, DeleteDestinationMutationVariables>;
3799
4075
  export declare const TestConnectionDocument: DocumentNode<TestConnectionMutation, TestConnectionMutationVariables>;
4076
+ export declare const GenerateDiagnoseBundleDocument: DocumentNode<GenerateDiagnoseBundleMutation, GenerateDiagnoseBundleMutationVariables>;
4077
+ export declare const GetInstrumentationInstructionsDocument: DocumentNode<GetInstrumentationInstructionsQuery, GetInstrumentationInstructionsQueryVariables>;
3800
4078
  export declare const GetInstrumentationRuleTypesDocument: DocumentNode<GetInstrumentationRuleTypesQuery, GetInstrumentationRuleTypesQueryVariables>;
3801
4079
  export declare const GetInstrumentationRuleDocument: DocumentNode<GetInstrumentationRuleQuery, GetInstrumentationRuleQueryVariables>;
3802
4080
  export declare const GetInstrumentationRulesDocument: DocumentNode<GetInstrumentationRulesQuery, GetInstrumentationRulesQueryVariables>;