@odigos/vmagent-api-apollo-client 0.18.0 → 0.19.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.
@@ -8,6 +8,7 @@ import * as v0_15_0 from "./v0_15_0/graphql";
8
8
  import * as v0_16_0 from "./v0_16_0/graphql";
9
9
  import * as v0_17_0 from "./v0_17_0/graphql";
10
10
  import * as v0_18_0 from "./v0_18_0/graphql";
11
+ import * as v0_19_0 from "./v0_19_0/graphql";
11
12
  import * as nextDialect from "./next/graphql";
12
13
  export declare const dialects: {
13
14
  readonly "v0.6.0": typeof v0_6_0;
@@ -20,6 +21,7 @@ export declare const dialects: {
20
21
  readonly "v0.16.0": typeof v0_16_0;
21
22
  readonly "v0.17.0": typeof v0_17_0;
22
23
  readonly "v0.18.0": typeof v0_18_0;
24
+ readonly "v0.19.0": typeof v0_19_0;
23
25
  };
24
26
  export declare const NEXT_DIALECT: typeof nextDialect;
25
- export declare const LATEST_DIALECT_VERSION: "v0.18.0";
27
+ export declare const LATEST_DIALECT_VERSION: "v0.19.0";
@@ -12,6 +12,7 @@ import * as v0_15_0 from "./v0_15_0/graphql";
12
12
  import * as v0_16_0 from "./v0_16_0/graphql";
13
13
  import * as v0_17_0 from "./v0_17_0/graphql";
14
14
  import * as v0_18_0 from "./v0_18_0/graphql";
15
+ import * as v0_19_0 from "./v0_19_0/graphql";
15
16
  import * as nextDialect from "./next/graphql";
16
17
  // Every frozen dialect, keyed by its snapshot version. The published package
17
18
  // ships all of them so central-ui can resolve a dialect per connected
@@ -27,9 +28,10 @@ export const dialects = {
27
28
  "v0.16.0": v0_16_0,
28
29
  "v0.17.0": v0_17_0,
29
30
  "v0.18.0": v0_18_0,
31
+ "v0.19.0": v0_19_0,
30
32
  };
31
33
  // The live, unreleased dialect (generated from graphql/ HEAD). Deliberately
32
34
  // excluded from `dialects` so it never participates in version resolution.
33
35
  export const NEXT_DIALECT = nextDialect;
34
36
  // Highest frozen dialect: the default surface and the floor-resolution ceiling.
35
- export const LATEST_DIALECT_VERSION = "v0.18.0";
37
+ export const LATEST_DIALECT_VERSION = "v0.19.0";
@@ -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']>;
@@ -467,6 +457,107 @@ export type HotFunctionsResult = {
467
457
  host?: Maybe<HostInfo>;
468
458
  services: Array<ServiceHotFunctions>;
469
459
  };
460
+ /**
461
+ * The instrumentation rendered for one delivery tool: a snippet to paste, and the ordered steps that say where
462
+ * it goes.
463
+ *
464
+ * Every field is display-ready. Substitution happens connector-side rather than in a client, so there is only
465
+ * one place that has to know which of the two OTLP endpoint forms a given variable takes — the SDK accepts a
466
+ * bare host:port where it needs a scheme-qualified URL and then exports nowhere, which is not a failure any
467
+ * client would see.
468
+ */
469
+ export type InstructionDocument = {
470
+ __typename?: 'InstructionDocument';
471
+ /** Fully rendered for THIS workload — endpoint, service name, region already substituted. */
472
+ content: Scalars['String']['output'];
473
+ description: Scalars['String']['output'];
474
+ /** Syntax hint for a code block: json | yaml | hcl | shell | text. */
475
+ format: Scalars['String']['output'];
476
+ /** Stable id, unique per connector. */
477
+ id: Scalars['String']['output'];
478
+ /** Ordered instructions shown above the snippet. The snippet alone never says where it goes. */
479
+ steps: Array<Scalars['String']['output']>;
480
+ title: Scalars['String']['output'];
481
+ /**
482
+ * Blanks the connector genuinely could not fill, so the customer knows what is still theirs to supply.
483
+ *
484
+ * Derived from the RENDERED text rather than from what the instructions declare, so a client cannot be asked
485
+ * for a value the document does not carry, and cannot miss one it does. Null when nothing is left to fill in.
486
+ */
487
+ unresolved?: Maybe<Array<InstructionInput>>;
488
+ /**
489
+ * Delivery tool this renders for: terraform, cloudformation, bicep, aws-cli, gcloud, az-cli, manual. A client
490
+ * uses it to pick a default and to key a chooser; it is not otherwise interpreted.
491
+ */
492
+ variant: Scalars['String']['output'];
493
+ /** Label for that chooser, e.g. "Terraform", "Bicep / ARM", "Reference". */
494
+ variantLabel: Scalars['String']['output'];
495
+ };
496
+ /** One blank the connector genuinely could not fill. */
497
+ export type InstructionInput = {
498
+ __typename?: 'InstructionInput';
499
+ /**
500
+ * What to put there, and where to find it.
501
+ *
502
+ * It travels with the token because the token alone is not self-explanatory in the cases that matter most:
503
+ * the service name must MATCH the workload's name in Odigos rather than being any sensible label, and the two
504
+ * OTLP endpoint forms are the same destination spelled two ways that are not interchangeable.
505
+ */
506
+ description: Scalars['String']['output'];
507
+ /** The placeholder exactly as it appears in `content`, e.g. "<YOUR_CONTAINER>". */
508
+ placeholder: Scalars['String']['output'];
509
+ };
510
+ /**
511
+ * Instrumentation is attributable to Odigos but does not match what it should be (code
512
+ * "InstrumentationPartiallyApplied").
513
+ *
514
+ * This is a manual-mode condition specifically. In automatic mode a gap is a non-event — the next reconcile
515
+ * converges it — which is exactly why it needs reporting here: nothing converges a manual-mode workload, so a
516
+ * half-applied instrumentation stays half-applied and would otherwise report as healthy on the strength of its
517
+ * ownership marker alone.
518
+ */
519
+ export type InstrumentationDriftDetails = WorkloadIssueDetails & {
520
+ __typename?: 'InstrumentationDriftDetails';
521
+ code: Scalars['String']['output'];
522
+ /**
523
+ * Provider-neutral names of the components that are absent or carry a stale value: ownershipMarker,
524
+ * serviceName, collectorExport, agentLoader, instrumentationLayer, agentSidecar, agentVolume, … A client
525
+ * renders these; it never re-derives which platform fact led to one.
526
+ */
527
+ missingComponents: Array<Scalars['String']['output']>;
528
+ };
529
+ /** Everything needed to instrument one workload by hand or by IaC. */
530
+ export type InstrumentationInstructions = {
531
+ __typename?: 'InstrumentationInstructions';
532
+ /**
533
+ * The change rendered per delivery tool, in the connector's preferred order.
534
+ *
535
+ * Never empty. A connector that declares no per-tool rendering for a type still returns one `manual` document
536
+ * built from the desired state itself, because a customer on an unsupported toolchain needs the change
537
+ * described more than they need it in their own syntax.
538
+ */
539
+ documents: Array<InstructionDocument>;
540
+ kind: Scalars['String']['output'];
541
+ /**
542
+ * automatic | manual — why the customer is being shown this at all.
543
+ *
544
+ * Instructions are served in BOTH modes on purpose. In manual mode they are what the customer applies. In
545
+ * automatic mode they are the same change Odigos is about to make itself, which is what makes
546
+ * "what exactly did Odigos change here" answerable without reading a provider console.
547
+ */
548
+ mode: Scalars['String']['output'];
549
+ /**
550
+ * Caveats that belong with the instructions whichever tool the customer uses: a platform limit, a value they
551
+ * must supply, a step that is easy to complete and still not have telemetry (moving traffic onto a new
552
+ * revision).
553
+ */
554
+ notes: Array<Scalars['String']['output']>;
555
+ region?: Maybe<Scalars['String']['output']>;
556
+ /** Composite identity of the workload these are for, matching WorkloadReport. */
557
+ serviceName: Scalars['String']['output'];
558
+ /** RFC3339 timestamp the instructions were computed. */
559
+ updatedAt: Scalars['String']['output'];
560
+ };
470
561
  export type InstrumentationRule = {
471
562
  enabled: Scalars['Boolean']['output'];
472
563
  name: Scalars['String']['output'];
@@ -740,6 +831,11 @@ export type Query = {
740
831
  destination?: Maybe<Destination>;
741
832
  destinationTypes: Array<DestinationType>;
742
833
  destinations: Array<Destination>;
834
+ /**
835
+ * How to instrument one workload, keyed the same way as workloadReport. Null when the workload is unknown, or
836
+ * when its type has no instrumentation defined on this connector.
837
+ */
838
+ instrumentationInstructions?: Maybe<InstrumentationInstructions>;
743
839
  instrumentationRule?: Maybe<InstrumentationRule>;
744
840
  instrumentationRuleTypes: Array<InstrumentationRuleTypeOption>;
745
841
  instrumentationRules: Array<InstrumentationRule>;
@@ -767,6 +863,11 @@ export type QueryComputePlatformReportArgs = {
767
863
  export type QueryDestinationArgs = {
768
864
  name: Scalars['String']['input'];
769
865
  };
866
+ export type QueryInstrumentationInstructionsArgs = {
867
+ kind: Scalars['String']['input'];
868
+ region?: InputMaybe<Scalars['String']['input']>;
869
+ serviceName: Scalars['String']['input'];
870
+ };
770
871
  export type QueryInstrumentationRuleArgs = {
771
872
  name: Scalars['String']['input'];
772
873
  };
@@ -798,6 +899,44 @@ export type RestartSourcePayload = {
798
899
  name: Scalars['String']['output'];
799
900
  restarted: Scalars['Boolean']['output'];
800
901
  };
902
+ /**
903
+ * A managed service whose deployments are immutable REVISIONS behind a traffic split: a Cloud Run service
904
+ * (kind "gcp.cloud-run") or an Azure Container App (kind "azure.container-apps").
905
+ *
906
+ * One type rather than one per platform, because every field here means the same thing on both — the platform
907
+ * resource identity, the revision the platform last reported ready, and the containers in that revision's
908
+ * template. `kind` already tells a client which platform it is, so two names for one shape buys nothing. This is
909
+ * the same reasoning that makes WorkloadContainer shared; per-platform types earn their keep for facts that are
910
+ * genuinely platform-specific (a Lambda layer ARN, an ECS launch type), not for a renamed field.
911
+ *
912
+ * It replaces CloudRunWorkloadDetails and ContainerAppsWorkloadDetails, which had already diverged in the one way
913
+ * that mattered: both called their revision field `revision` and documented it as OPPOSITE facts — Cloud Run's as
914
+ * the revision serving traffic, Container Apps' as the latest ready revision, explicitly "not necessarily the one
915
+ * serving requests". Both reporters in fact populate latest-ready, so a client branching on `__typename` was
916
+ * being told two different things about the same value. Naming the field for what it actually holds is the
917
+ * substantive half of this merge.
918
+ */
919
+ export type RevisionedServiceWorkloadDetails = WorkloadDetails & {
920
+ __typename?: 'RevisionedServiceWorkloadDetails';
921
+ /** Every container in the revision's template, instrumentable or not. */
922
+ containers?: Maybe<Array<WorkloadContainer>>;
923
+ kind: Scalars['String']['output'];
924
+ /**
925
+ * Revision the platform last reported READY — the newest deployment that came up healthy.
926
+ *
927
+ * Deliberately NOT "the revision serving traffic", which is a different fact and the one that bites in manual
928
+ * (IaC) mode: revisions are immutable on both platforms, so instrumentation always produces a new one, and a
929
+ * traffic split can keep weighting an older, uninstrumented revision indefinitely. A customer can apply
930
+ * instrumentation correctly and still see no telemetry.
931
+ *
932
+ * Reporting which revision is READY is what lets them notice that at all. Reporting which revisions SERVE needs
933
+ * per-revision traffic weights (Cloud Run trafficStatuses, Container Apps ingress traffic), and that field gets
934
+ * added by whichever change first observes them — rather than existing now as a slot clients learn to ignore.
935
+ */
936
+ latestReadyRevision?: Maybe<Scalars['String']['output']>;
937
+ /** Fully-qualified platform resource identity: the Cloud Run service name, or the Container App resource id. */
938
+ service?: Maybe<Scalars['String']['output']>;
939
+ };
801
940
  export declare enum RuleType {
802
941
  CodeAttributes = "CodeAttributes",
803
942
  CustomInstrumentation = "CustomInstrumentation",
@@ -1090,11 +1229,11 @@ export type WorkloadDesiredReport = {
1090
1229
  * Kind-specific facts about a workload as a whole. The concrete type is selected by
1091
1230
  * WorkloadReport.kind.
1092
1231
  *
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.
1232
+ * Container-shaped kinds (docker, ecs, cloud-run, container-apps) resolve to a type carrying
1233
+ * `containers`, which adds the container layer between the workload and its processes. Process-shaped
1234
+ * kinds (systemd, plain host processes) have no container layer at all and leave `details` null: their
1235
+ * processes hang directly off the workload's `instances` / `processMetadata`, with no empty container
1236
+ * wrapper invented to make the shapes match.
1098
1237
  */
1099
1238
  export type WorkloadDetails = {
1100
1239
  /** The WorkloadReport.kind this block describes, echoed so clients can branch without a fragment. */
@@ -1117,12 +1256,30 @@ export type WorkloadInstanceStatus = {
1117
1256
  export type WorkloadIssue = {
1118
1257
  __typename?: 'WorkloadIssue';
1119
1258
  code: Scalars['String']['output'];
1259
+ /**
1260
+ * Machine-readable facts behind this issue, typed per `code`. Null for issues whose message is the whole
1261
+ * story.
1262
+ *
1263
+ * It exists because `message` had become the only channel for facts a client needs to ACT on rather than
1264
+ * display: which parts of an instrumentation are missing arrives today as a prose sentence a UI would have
1265
+ * to parse back apart to render as a list, or to offer a targeted fix for. Adding a code here means adding a
1266
+ * branch, never a new convention for encoding data into a sentence.
1267
+ */
1268
+ details?: Maybe<WorkloadIssueDetails>;
1120
1269
  message: Scalars['String']['output'];
1121
1270
  severity: Scalars['String']['output'];
1122
1271
  /** RFC3339 timestamp when the issue was first observed. */
1123
1272
  since?: Maybe<Scalars['String']['output']>;
1124
1273
  transient?: Maybe<Scalars['Boolean']['output']>;
1125
1274
  };
1275
+ /**
1276
+ * Facts behind one WorkloadIssue, typed by its `code`. Same discriminator-plus-typed-branch pattern as
1277
+ * WorkloadDetails and the rule/action config branches.
1278
+ */
1279
+ export type WorkloadIssueDetails = {
1280
+ /** The WorkloadIssue.code this block describes, echoed so clients can branch without a fragment. */
1281
+ code: Scalars['String']['output'];
1282
+ };
1126
1283
  /**
1127
1284
  * One live process under this workload from the instrumentation controller's AnalyzedProcess snapshot
1128
1285
  * (eligible for instrumentation, instrumented, or excluded / uninstrumentable).
@@ -1875,6 +2032,80 @@ export type TestConnectionMutation = {
1875
2032
  reason?: string | null;
1876
2033
  };
1877
2034
  };
2035
+ export type InstructionDocumentFieldsFragment = {
2036
+ __typename?: 'InstructionDocument';
2037
+ id: string;
2038
+ variant: string;
2039
+ variantLabel: string;
2040
+ title: string;
2041
+ description: string;
2042
+ steps: Array<string>;
2043
+ format: string;
2044
+ content: string;
2045
+ unresolved?: Array<{
2046
+ __typename?: 'InstructionInput';
2047
+ placeholder: string;
2048
+ description: string;
2049
+ }> | null;
2050
+ };
2051
+ export type InstrumentationInstructionsFieldsFragment = {
2052
+ __typename?: 'InstrumentationInstructions';
2053
+ serviceName: string;
2054
+ kind: string;
2055
+ region?: string | null;
2056
+ mode: string;
2057
+ notes: Array<string>;
2058
+ updatedAt: string;
2059
+ documents: Array<{
2060
+ __typename?: 'InstructionDocument';
2061
+ id: string;
2062
+ variant: string;
2063
+ variantLabel: string;
2064
+ title: string;
2065
+ description: string;
2066
+ steps: Array<string>;
2067
+ format: string;
2068
+ content: string;
2069
+ unresolved?: Array<{
2070
+ __typename?: 'InstructionInput';
2071
+ placeholder: string;
2072
+ description: string;
2073
+ }> | null;
2074
+ }>;
2075
+ };
2076
+ export type GetInstrumentationInstructionsQueryVariables = Exact<{
2077
+ serviceName: Scalars['String']['input'];
2078
+ kind: Scalars['String']['input'];
2079
+ region?: InputMaybe<Scalars['String']['input']>;
2080
+ }>;
2081
+ export type GetInstrumentationInstructionsQuery = {
2082
+ __typename?: 'Query';
2083
+ instrumentationInstructions?: {
2084
+ __typename?: 'InstrumentationInstructions';
2085
+ serviceName: string;
2086
+ kind: string;
2087
+ region?: string | null;
2088
+ mode: string;
2089
+ notes: Array<string>;
2090
+ updatedAt: string;
2091
+ documents: Array<{
2092
+ __typename?: 'InstructionDocument';
2093
+ id: string;
2094
+ variant: string;
2095
+ variantLabel: string;
2096
+ title: string;
2097
+ description: string;
2098
+ steps: Array<string>;
2099
+ format: string;
2100
+ content: string;
2101
+ unresolved?: Array<{
2102
+ __typename?: 'InstructionInput';
2103
+ placeholder: string;
2104
+ description: string;
2105
+ }> | null;
2106
+ }>;
2107
+ } | null;
2108
+ };
1878
2109
  export type InstrumentationRuleTypeFieldsFragment = {
1879
2110
  __typename?: 'InstrumentationRuleTypeOption';
1880
2111
  type: string;
@@ -2868,6 +3099,11 @@ export type WorkloadReportFieldsFragment = {
2868
3099
  message: string;
2869
3100
  since?: string | null;
2870
3101
  transient?: boolean | null;
3102
+ details?: {
3103
+ __typename: 'InstrumentationDriftDetails';
3104
+ missingComponents: Array<string>;
3105
+ code: string;
3106
+ } | null;
2871
3107
  }> | null;
2872
3108
  instances?: Array<{
2873
3109
  __typename?: 'WorkloadInstanceStatus';
@@ -2957,9 +3193,7 @@ export type WorkloadReportFieldsFragment = {
2957
3193
  } | null;
2958
3194
  }> | null;
2959
3195
  details?: {
2960
- __typename: 'CloudRunWorkloadDetails';
2961
- service?: string | null;
2962
- revision?: string | null;
3196
+ __typename: 'DockerWorkloadDetails';
2963
3197
  kind: string;
2964
3198
  containers?: Array<{
2965
3199
  __typename?: 'WorkloadContainer';
@@ -2990,7 +3224,11 @@ export type WorkloadReportFieldsFragment = {
2990
3224
  } | null;
2991
3225
  }> | null;
2992
3226
  } | {
2993
- __typename: 'DockerWorkloadDetails';
3227
+ __typename: 'EcsWorkloadDetails';
3228
+ clusterArn?: string | null;
3229
+ taskDefinition?: string | null;
3230
+ launchType?: string | null;
3231
+ deploymentController?: string | null;
2994
3232
  kind: string;
2995
3233
  containers?: Array<{
2996
3234
  __typename?: 'WorkloadContainer';
@@ -3021,11 +3259,16 @@ export type WorkloadReportFieldsFragment = {
3021
3259
  } | null;
3022
3260
  }> | null;
3023
3261
  } | {
3024
- __typename: 'EcsWorkloadDetails';
3025
- clusterArn?: string | null;
3026
- taskDefinition?: string | null;
3027
- launchType?: string | null;
3028
- deploymentController?: string | null;
3262
+ __typename: 'LambdaWorkloadDetails';
3263
+ functionArn?: string | null;
3264
+ runtime?: string | null;
3265
+ architecture?: string | null;
3266
+ layerArn?: string | null;
3267
+ kind: string;
3268
+ } | {
3269
+ __typename: 'RevisionedServiceWorkloadDetails';
3270
+ service?: string | null;
3271
+ latestReadyRevision?: string | null;
3029
3272
  kind: string;
3030
3273
  containers?: Array<{
3031
3274
  __typename?: 'WorkloadContainer';
@@ -3055,13 +3298,6 @@ export type WorkloadReportFieldsFragment = {
3055
3298
  };
3056
3299
  } | null;
3057
3300
  }> | 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
3301
  } | null;
3066
3302
  };
3067
3303
  type ProcessDetailsFields_ContainerdProcessDetails_Fragment = {
@@ -3136,10 +3372,8 @@ export type WorkloadContainerFieldsFragment = {
3136
3372
  };
3137
3373
  } | null;
3138
3374
  };
3139
- type WorkloadDetailsFields_CloudRunWorkloadDetails_Fragment = {
3140
- __typename: 'CloudRunWorkloadDetails';
3141
- service?: string | null;
3142
- revision?: string | null;
3375
+ type WorkloadDetailsFields_DockerWorkloadDetails_Fragment = {
3376
+ __typename: 'DockerWorkloadDetails';
3143
3377
  kind: string;
3144
3378
  containers?: Array<{
3145
3379
  __typename?: 'WorkloadContainer';
@@ -3170,8 +3404,12 @@ type WorkloadDetailsFields_CloudRunWorkloadDetails_Fragment = {
3170
3404
  } | null;
3171
3405
  }> | null;
3172
3406
  };
3173
- type WorkloadDetailsFields_DockerWorkloadDetails_Fragment = {
3174
- __typename: 'DockerWorkloadDetails';
3407
+ type WorkloadDetailsFields_EcsWorkloadDetails_Fragment = {
3408
+ __typename: 'EcsWorkloadDetails';
3409
+ clusterArn?: string | null;
3410
+ taskDefinition?: string | null;
3411
+ launchType?: string | null;
3412
+ deploymentController?: string | null;
3175
3413
  kind: string;
3176
3414
  containers?: Array<{
3177
3415
  __typename?: 'WorkloadContainer';
@@ -3202,12 +3440,18 @@ type WorkloadDetailsFields_DockerWorkloadDetails_Fragment = {
3202
3440
  } | null;
3203
3441
  }> | null;
3204
3442
  };
3205
- type WorkloadDetailsFields_EcsWorkloadDetails_Fragment = {
3206
- __typename: 'EcsWorkloadDetails';
3207
- clusterArn?: string | null;
3208
- taskDefinition?: string | null;
3209
- launchType?: string | null;
3210
- deploymentController?: string | null;
3443
+ type WorkloadDetailsFields_LambdaWorkloadDetails_Fragment = {
3444
+ __typename: 'LambdaWorkloadDetails';
3445
+ functionArn?: string | null;
3446
+ runtime?: string | null;
3447
+ architecture?: string | null;
3448
+ layerArn?: string | null;
3449
+ kind: string;
3450
+ };
3451
+ type WorkloadDetailsFields_RevisionedServiceWorkloadDetails_Fragment = {
3452
+ __typename: 'RevisionedServiceWorkloadDetails';
3453
+ service?: string | null;
3454
+ latestReadyRevision?: string | null;
3211
3455
  kind: string;
3212
3456
  containers?: Array<{
3213
3457
  __typename?: 'WorkloadContainer';
@@ -3238,15 +3482,7 @@ type WorkloadDetailsFields_EcsWorkloadDetails_Fragment = {
3238
3482
  } | null;
3239
3483
  }> | null;
3240
3484
  };
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;
3485
+ export type WorkloadDetailsFieldsFragment = WorkloadDetailsFields_DockerWorkloadDetails_Fragment | WorkloadDetailsFields_EcsWorkloadDetails_Fragment | WorkloadDetailsFields_LambdaWorkloadDetails_Fragment | WorkloadDetailsFields_RevisionedServiceWorkloadDetails_Fragment;
3250
3486
  export type GetWorkloadReportQueryVariables = Exact<{
3251
3487
  serviceName: Scalars['String']['input'];
3252
3488
  kind: Scalars['String']['input'];
@@ -3308,6 +3544,11 @@ export type GetWorkloadReportQuery = {
3308
3544
  message: string;
3309
3545
  since?: string | null;
3310
3546
  transient?: boolean | null;
3547
+ details?: {
3548
+ __typename: 'InstrumentationDriftDetails';
3549
+ missingComponents: Array<string>;
3550
+ code: string;
3551
+ } | null;
3311
3552
  }> | null;
3312
3553
  instances?: Array<{
3313
3554
  __typename?: 'WorkloadInstanceStatus';
@@ -3397,9 +3638,7 @@ export type GetWorkloadReportQuery = {
3397
3638
  } | null;
3398
3639
  }> | null;
3399
3640
  details?: {
3400
- __typename: 'CloudRunWorkloadDetails';
3401
- service?: string | null;
3402
- revision?: string | null;
3641
+ __typename: 'DockerWorkloadDetails';
3403
3642
  kind: string;
3404
3643
  containers?: Array<{
3405
3644
  __typename?: 'WorkloadContainer';
@@ -3430,7 +3669,11 @@ export type GetWorkloadReportQuery = {
3430
3669
  } | null;
3431
3670
  }> | null;
3432
3671
  } | {
3433
- __typename: 'DockerWorkloadDetails';
3672
+ __typename: 'EcsWorkloadDetails';
3673
+ clusterArn?: string | null;
3674
+ taskDefinition?: string | null;
3675
+ launchType?: string | null;
3676
+ deploymentController?: string | null;
3434
3677
  kind: string;
3435
3678
  containers?: Array<{
3436
3679
  __typename?: 'WorkloadContainer';
@@ -3461,11 +3704,16 @@ export type GetWorkloadReportQuery = {
3461
3704
  } | null;
3462
3705
  }> | null;
3463
3706
  } | {
3464
- __typename: 'EcsWorkloadDetails';
3465
- clusterArn?: string | null;
3466
- taskDefinition?: string | null;
3467
- launchType?: string | null;
3468
- deploymentController?: string | null;
3707
+ __typename: 'LambdaWorkloadDetails';
3708
+ functionArn?: string | null;
3709
+ runtime?: string | null;
3710
+ architecture?: string | null;
3711
+ layerArn?: string | null;
3712
+ kind: string;
3713
+ } | {
3714
+ __typename: 'RevisionedServiceWorkloadDetails';
3715
+ service?: string | null;
3716
+ latestReadyRevision?: string | null;
3469
3717
  kind: string;
3470
3718
  containers?: Array<{
3471
3719
  __typename?: 'WorkloadContainer';
@@ -3495,13 +3743,6 @@ export type GetWorkloadReportQuery = {
3495
3743
  };
3496
3744
  } | null;
3497
3745
  }> | 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
3746
  } | null;
3506
3747
  } | null;
3507
3748
  };
@@ -3564,6 +3805,11 @@ export type GetWorkloadReportsQuery = {
3564
3805
  message: string;
3565
3806
  since?: string | null;
3566
3807
  transient?: boolean | null;
3808
+ details?: {
3809
+ __typename: 'InstrumentationDriftDetails';
3810
+ missingComponents: Array<string>;
3811
+ code: string;
3812
+ } | null;
3567
3813
  }> | null;
3568
3814
  instances?: Array<{
3569
3815
  __typename?: 'WorkloadInstanceStatus';
@@ -3653,9 +3899,7 @@ export type GetWorkloadReportsQuery = {
3653
3899
  } | null;
3654
3900
  }> | null;
3655
3901
  details?: {
3656
- __typename: 'CloudRunWorkloadDetails';
3657
- service?: string | null;
3658
- revision?: string | null;
3902
+ __typename: 'DockerWorkloadDetails';
3659
3903
  kind: string;
3660
3904
  containers?: Array<{
3661
3905
  __typename?: 'WorkloadContainer';
@@ -3686,7 +3930,11 @@ export type GetWorkloadReportsQuery = {
3686
3930
  } | null;
3687
3931
  }> | null;
3688
3932
  } | {
3689
- __typename: 'DockerWorkloadDetails';
3933
+ __typename: 'EcsWorkloadDetails';
3934
+ clusterArn?: string | null;
3935
+ taskDefinition?: string | null;
3936
+ launchType?: string | null;
3937
+ deploymentController?: string | null;
3690
3938
  kind: string;
3691
3939
  containers?: Array<{
3692
3940
  __typename?: 'WorkloadContainer';
@@ -3717,11 +3965,16 @@ export type GetWorkloadReportsQuery = {
3717
3965
  } | null;
3718
3966
  }> | null;
3719
3967
  } | {
3720
- __typename: 'EcsWorkloadDetails';
3721
- clusterArn?: string | null;
3722
- taskDefinition?: string | null;
3723
- launchType?: string | null;
3724
- deploymentController?: string | null;
3968
+ __typename: 'LambdaWorkloadDetails';
3969
+ functionArn?: string | null;
3970
+ runtime?: string | null;
3971
+ architecture?: string | null;
3972
+ layerArn?: string | null;
3973
+ kind: string;
3974
+ } | {
3975
+ __typename: 'RevisionedServiceWorkloadDetails';
3976
+ service?: string | null;
3977
+ latestReadyRevision?: string | null;
3725
3978
  kind: string;
3726
3979
  containers?: Array<{
3727
3980
  __typename?: 'WorkloadContainer';
@@ -3751,13 +4004,6 @@ export type GetWorkloadReportsQuery = {
3751
4004
  };
3752
4005
  } | null;
3753
4006
  }> | 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
4007
  } | null;
3762
4008
  }>;
3763
4009
  };
@@ -3766,6 +4012,8 @@ export declare const ActionFieldsFragmentDoc: DocumentNode<ActionFieldsFragment,
3766
4012
  export declare const ComputePlatformReportFieldsFragmentDoc: DocumentNode<ComputePlatformReportFieldsFragment, unknown>;
3767
4013
  export declare const DestinationTypeFieldsFragmentDoc: DocumentNode<DestinationTypeFieldsFragment, unknown>;
3768
4014
  export declare const DestinationFieldsFragmentDoc: DocumentNode<DestinationFieldsFragment, unknown>;
4015
+ export declare const InstructionDocumentFieldsFragmentDoc: DocumentNode<InstructionDocumentFieldsFragment, unknown>;
4016
+ export declare const InstrumentationInstructionsFieldsFragmentDoc: DocumentNode<InstrumentationInstructionsFieldsFragment, unknown>;
3769
4017
  export declare const InstrumentationRuleTypeFieldsFragmentDoc: DocumentNode<InstrumentationRuleTypeFieldsFragment, unknown>;
3770
4018
  export declare const InstrumentationRuleFieldsFragmentDoc: DocumentNode<InstrumentationRuleFieldsFragment, unknown>;
3771
4019
  export declare const ContainerOverrideFieldsFragmentDoc: DocumentNode<ContainerOverrideFieldsFragment, unknown>;
@@ -3797,6 +4045,7 @@ export declare const CreateDestinationDocument: DocumentNode<CreateDestinationMu
3797
4045
  export declare const UpdateDestinationDocument: DocumentNode<UpdateDestinationMutation, UpdateDestinationMutationVariables>;
3798
4046
  export declare const DeleteDestinationDocument: DocumentNode<DeleteDestinationMutation, DeleteDestinationMutationVariables>;
3799
4047
  export declare const TestConnectionDocument: DocumentNode<TestConnectionMutation, TestConnectionMutationVariables>;
4048
+ export declare const GetInstrumentationInstructionsDocument: DocumentNode<GetInstrumentationInstructionsQuery, GetInstrumentationInstructionsQueryVariables>;
3800
4049
  export declare const GetInstrumentationRuleTypesDocument: DocumentNode<GetInstrumentationRuleTypesQuery, GetInstrumentationRuleTypesQueryVariables>;
3801
4050
  export declare const GetInstrumentationRuleDocument: DocumentNode<GetInstrumentationRuleQuery, GetInstrumentationRuleQueryVariables>;
3802
4051
  export declare const GetInstrumentationRulesDocument: DocumentNode<GetInstrumentationRulesQuery, GetInstrumentationRulesQueryVariables>;