@odigos/vmagent-api-apollo-client 0.22.0 → 0.23.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.
@@ -0,0 +1,4205 @@
1
+ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
2
+ export type Maybe<T> = T | null;
3
+ export type InputMaybe<T> = Maybe<T>;
4
+ export type Exact<T extends {
5
+ [key: string]: unknown;
6
+ }> = {
7
+ [K in keyof T]: T[K];
8
+ };
9
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
10
+ [SubKey in K]?: Maybe<T[SubKey]>;
11
+ };
12
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
13
+ [SubKey in K]: Maybe<T[SubKey]>;
14
+ };
15
+ export type MakeEmpty<T extends {
16
+ [key: string]: unknown;
17
+ }, K extends keyof T> = {
18
+ [_ in K]?: never;
19
+ };
20
+ export type Incremental<T> = T | {
21
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
22
+ };
23
+ /** All built-in and custom scalars, mapped to their actual values */
24
+ export type Scalars = {
25
+ ID: {
26
+ input: string;
27
+ output: string;
28
+ };
29
+ String: {
30
+ input: string;
31
+ output: string;
32
+ };
33
+ Boolean: {
34
+ input: boolean;
35
+ output: boolean;
36
+ };
37
+ Int: {
38
+ input: number;
39
+ output: number;
40
+ };
41
+ Float: {
42
+ input: number;
43
+ output: number;
44
+ };
45
+ JSON: {
46
+ input: Record<string, any>;
47
+ output: Record<string, any>;
48
+ };
49
+ };
50
+ export type Action = {
51
+ actionName?: Maybe<Scalars['String']['output']>;
52
+ actionType: ActionType;
53
+ disabled: Scalars['Boolean']['output'];
54
+ name: Scalars['String']['output'];
55
+ notes?: Maybe<Scalars['String']['output']>;
56
+ orderHint?: Maybe<Scalars['Int']['output']>;
57
+ pipelines?: Maybe<Array<Scalars['String']['output']>>;
58
+ signals: Array<TelemetrySignal>;
59
+ };
60
+ export type ActionField = {
61
+ __typename?: 'ActionField';
62
+ componentProperties: Scalars['String']['output'];
63
+ componentType: Scalars['String']['output'];
64
+ displayName: Scalars['String']['output'];
65
+ initialValue?: Maybe<Scalars['String']['output']>;
66
+ name: Scalars['String']['output'];
67
+ renderCondition?: Maybe<Scalars['String']['output']>;
68
+ };
69
+ export declare enum ActionType {
70
+ ProcessorAddition = "processorAddition",
71
+ SpanMetrics = "spanMetrics",
72
+ UrlTemplatization = "urlTemplatization"
73
+ }
74
+ export type ActionTypeOption = {
75
+ __typename?: 'ActionTypeOption';
76
+ allowedSignals: Array<TelemetrySignal>;
77
+ description: Scalars['String']['output'];
78
+ displayName: Scalars['String']['output'];
79
+ docsUrl: Scalars['String']['output'];
80
+ fields: Array<ActionField>;
81
+ type: Scalars['String']['output'];
82
+ };
83
+ export type CodeAttributesConfig = {
84
+ __typename?: 'CodeAttributesConfig';
85
+ collectColumn?: Maybe<Scalars['Boolean']['output']>;
86
+ collectFilePath?: Maybe<Scalars['Boolean']['output']>;
87
+ collectFunction?: Maybe<Scalars['Boolean']['output']>;
88
+ collectLineNumber?: Maybe<Scalars['Boolean']['output']>;
89
+ collectNamespace?: Maybe<Scalars['Boolean']['output']>;
90
+ collectStacktrace?: Maybe<Scalars['Boolean']['output']>;
91
+ };
92
+ export type CodeAttributesConfigInput = {
93
+ collectColumn?: InputMaybe<Scalars['Boolean']['input']>;
94
+ collectFilePath?: InputMaybe<Scalars['Boolean']['input']>;
95
+ collectFunction?: InputMaybe<Scalars['Boolean']['input']>;
96
+ collectLineNumber?: InputMaybe<Scalars['Boolean']['input']>;
97
+ collectNamespace?: InputMaybe<Scalars['Boolean']['input']>;
98
+ collectStacktrace?: InputMaybe<Scalars['Boolean']['input']>;
99
+ };
100
+ export type CodeAttributesRule = InstrumentationRule & {
101
+ __typename?: 'CodeAttributesRule';
102
+ config?: Maybe<CodeAttributesConfig>;
103
+ enabled: Scalars['Boolean']['output'];
104
+ name: Scalars['String']['output'];
105
+ notes?: Maybe<Scalars['String']['output']>;
106
+ ruleType: RuleType;
107
+ };
108
+ export type ComputePlatformReport = {
109
+ __typename?: 'ComputePlatformReport';
110
+ /** Provider resource id (e.g. cluster ARN, instance id). */
111
+ externalId?: Maybe<Scalars['String']['output']>;
112
+ kind: Scalars['String']['output'];
113
+ /** Kind-specific attributes (e.g. EC2 instance count, Fargate task coverage). JSON object with string/number values. */
114
+ metadata?: Maybe<Scalars['JSON']['output']>;
115
+ name: Scalars['String']['output'];
116
+ /** Installed Odigos version, when known. */
117
+ odigosVersion?: Maybe<Scalars['String']['output']>;
118
+ /** Provider region the compute platform was discovered in; part of the composite identity. Null for region-less platforms. */
119
+ region?: Maybe<Scalars['String']['output']>;
120
+ /** Lifecycle of Odigos on this compute platform (e.g. Discovered, Installed). Install status is populated once the central↔odigos flow lands. */
121
+ status?: Maybe<Scalars['String']['output']>;
122
+ /** RFC3339 timestamp of the last report refresh. */
123
+ updatedAt: Scalars['String']['output'];
124
+ };
125
+ export type ConnectorCollectorStatus = {
126
+ __typename?: 'ConnectorCollectorStatus';
127
+ isHealthy: Scalars['Boolean']['output'];
128
+ message?: Maybe<Scalars['String']['output']>;
129
+ /** Collector identity (e.g. region name). */
130
+ name: Scalars['String']['output'];
131
+ };
132
+ export type ConnectorRuntimeHealth = {
133
+ __typename?: 'ConnectorRuntimeHealth';
134
+ /** The live Postgres schema version matches the version this runtime expects. */
135
+ hasSchemaVersionMatch: Scalars['Boolean']['output'];
136
+ /** Provider credentials authenticated successfully on the last check. */
137
+ isAuthenticated: Scalars['Boolean']['output'];
138
+ /** Initial discovery has completed at least once. */
139
+ isDiscoveryReady: Scalars['Boolean']['output'];
140
+ /** The runtime has registered with Central and is heartbeating. */
141
+ isRegistered: Scalars['Boolean']['output'];
142
+ /** RFC3339 timestamp of the last heartbeat written by the runtime. */
143
+ lastHeartbeatAt?: Maybe<Scalars['String']['output']>;
144
+ /** Human-readable status detail. */
145
+ message?: Maybe<Scalars['String']['output']>;
146
+ };
147
+ export type ContainerOverride = {
148
+ __typename?: 'ContainerOverride';
149
+ containerName: Scalars['String']['output'];
150
+ /**
151
+ * Set true to exclude this container from instrumentation even when its runtime is supported.
152
+ * Absent or false means the workload-level decision applies.
153
+ *
154
+ * Stated as an opt-OUT rather than an `enabled` opt-in on purpose: several GraphQL code generators
155
+ * (genqlient among them) render a nullable Boolean as a plain bool with no omitempty, so an absent
156
+ * value arrives as `false`. With `enabled` that would read as "disable this container" and silently
157
+ * turn instrumentation off; with `disabled` the same zero value reads as "no opinion", which is the
158
+ * safe default. Any nullable Boolean added here should be phrased so its zero value is the safe one.
159
+ */
160
+ disabled?: Maybe<Scalars['Boolean']['output']>;
161
+ distroOverride?: Maybe<DistroOverride>;
162
+ runtimeOverride?: Maybe<RuntimeOverride>;
163
+ };
164
+ export type ContainerOverrideInput = {
165
+ containerName: Scalars['String']['input'];
166
+ /** Set true to exclude this container from instrumentation. See ContainerOverride.disabled. */
167
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
168
+ distroOverride?: InputMaybe<DistroOverrideInput>;
169
+ runtimeOverride?: InputMaybe<RuntimeOverrideInput>;
170
+ };
171
+ /** Process running in a containerd container (processKind "containerd"). */
172
+ export type ContainerdProcessDetails = ProcessDetails & {
173
+ __typename?: 'ContainerdProcessDetails';
174
+ containerId?: Maybe<Scalars['String']['output']>;
175
+ imageName?: Maybe<Scalars['String']['output']>;
176
+ labels?: Maybe<Array<KeyValue>>;
177
+ processKind: Scalars['String']['output'];
178
+ };
179
+ export type CppProbe = {
180
+ __typename?: 'CppProbe';
181
+ signature: Scalars['String']['output'];
182
+ };
183
+ export type CppProbeInput = {
184
+ signature: Scalars['String']['input'];
185
+ };
186
+ export type CreateActionInput = {
187
+ actionName?: InputMaybe<Scalars['String']['input']>;
188
+ actionType: ActionType;
189
+ disabled: Scalars['Boolean']['input'];
190
+ name: Scalars['String']['input'];
191
+ notes?: InputMaybe<Scalars['String']['input']>;
192
+ orderHint?: InputMaybe<Scalars['Int']['input']>;
193
+ pipelines?: InputMaybe<Array<Scalars['String']['input']>>;
194
+ processorAddition?: InputMaybe<ProcessorAdditionConfigInput>;
195
+ signals: Array<TelemetrySignal>;
196
+ spanMetrics?: InputMaybe<SpanMetricsConfigInput>;
197
+ /** Config must match actionType (validated server-side). */
198
+ urlTemplatization?: InputMaybe<UrlTemplatizationConfigInput>;
199
+ };
200
+ export type CreateDestinationInput = {
201
+ config?: InputMaybe<Scalars['JSON']['input']>;
202
+ name: Scalars['String']['input'];
203
+ region?: InputMaybe<Scalars['String']['input']>;
204
+ signals: Array<TelemetrySignal>;
205
+ type: Scalars['String']['input'];
206
+ };
207
+ export type CreateInstrumentationRuleInput = {
208
+ HeadersCollection?: InputMaybe<HeadersCollectionConfigInput>;
209
+ codeAttributes?: InputMaybe<CodeAttributesConfigInput>;
210
+ /** Exactly one config branch must match ruleType (validated server-side). */
211
+ customInstrumentation?: InputMaybe<CustomInstrumentationConfigInput>;
212
+ enabled: Scalars['Boolean']['input'];
213
+ name: Scalars['String']['input'];
214
+ notes?: InputMaybe<Scalars['String']['input']>;
215
+ payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
216
+ ruleType: RuleType;
217
+ };
218
+ export type CreateSourceInput = {
219
+ config?: InputMaybe<SourceConfigInput>;
220
+ enabled: Scalars['Boolean']['input'];
221
+ kind: Scalars['String']['input'];
222
+ name: Scalars['String']['input'];
223
+ region?: InputMaybe<Scalars['String']['input']>;
224
+ serviceName?: InputMaybe<Scalars['String']['input']>;
225
+ };
226
+ export type CustomInstrumentationConfig = {
227
+ __typename?: 'CustomInstrumentationConfig';
228
+ cpp?: Maybe<Array<CppProbe>>;
229
+ golang?: Maybe<Array<GolangProbe>>;
230
+ java?: Maybe<Array<JavaProbe>>;
231
+ };
232
+ export type CustomInstrumentationConfigInput = {
233
+ cpp?: InputMaybe<Array<CppProbeInput>>;
234
+ golang?: InputMaybe<Array<GolangProbeInput>>;
235
+ java?: InputMaybe<Array<JavaProbeInput>>;
236
+ };
237
+ export type CustomInstrumentationRule = InstrumentationRule & {
238
+ __typename?: 'CustomInstrumentationRule';
239
+ config?: Maybe<CustomInstrumentationConfig>;
240
+ enabled: Scalars['Boolean']['output'];
241
+ name: Scalars['String']['output'];
242
+ notes?: Maybe<Scalars['String']['output']>;
243
+ ruleType: RuleType;
244
+ };
245
+ export type CustomReadDataLabel = {
246
+ __typename?: 'CustomReadDataLabel';
247
+ condition: Scalars['String']['output'];
248
+ title: Scalars['String']['output'];
249
+ value: Scalars['String']['output'];
250
+ };
251
+ export type DeleteActionInput = {
252
+ name: Scalars['String']['input'];
253
+ };
254
+ export type DeleteActionPayload = {
255
+ __typename?: 'DeleteActionPayload';
256
+ deleted: Scalars['Boolean']['output'];
257
+ name: Scalars['String']['output'];
258
+ };
259
+ export type DeleteDestinationInput = {
260
+ name: Scalars['String']['input'];
261
+ };
262
+ export type DeleteDestinationPayload = {
263
+ __typename?: 'DeleteDestinationPayload';
264
+ deleted: Scalars['Boolean']['output'];
265
+ name: Scalars['String']['output'];
266
+ };
267
+ export type DeleteInstrumentationRuleInput = {
268
+ name: Scalars['String']['input'];
269
+ };
270
+ export type DeleteInstrumentationRulePayload = {
271
+ __typename?: 'DeleteInstrumentationRulePayload';
272
+ deleted: Scalars['Boolean']['output'];
273
+ name: Scalars['String']['output'];
274
+ };
275
+ export type DeleteSourceInput = {
276
+ kind?: InputMaybe<Scalars['String']['input']>;
277
+ name: Scalars['String']['input'];
278
+ region?: InputMaybe<Scalars['String']['input']>;
279
+ };
280
+ export type DeleteSourcePayload = {
281
+ __typename?: 'DeleteSourcePayload';
282
+ deleted: Scalars['Boolean']['output'];
283
+ name: Scalars['String']['output'];
284
+ };
285
+ export type Destination = {
286
+ __typename?: 'Destination';
287
+ config?: Maybe<Scalars['JSON']['output']>;
288
+ name: Scalars['String']['output'];
289
+ region?: Maybe<Scalars['String']['output']>;
290
+ signals: Array<TelemetrySignal>;
291
+ type: Scalars['String']['output'];
292
+ };
293
+ export type DestinationCounters = {
294
+ __typename?: 'DestinationCounters';
295
+ exporter: Scalars['String']['output'];
296
+ logs: DestinationSignal;
297
+ metrics: DestinationSignal;
298
+ profiles: DestinationSignal;
299
+ traces: DestinationSignal;
300
+ };
301
+ export type DestinationField = {
302
+ __typename?: 'DestinationField';
303
+ componentProperties: Scalars['String']['output'];
304
+ componentType: Scalars['String']['output'];
305
+ customReadDataLabels: Array<CustomReadDataLabel>;
306
+ displayName: Scalars['String']['output'];
307
+ hideFromReadData: Scalars['Boolean']['output'];
308
+ initialValue?: Maybe<Scalars['String']['output']>;
309
+ name: Scalars['String']['output'];
310
+ renderCondition?: Maybe<Scalars['String']['output']>;
311
+ secret: Scalars['Boolean']['output'];
312
+ };
313
+ export type DestinationSignal = {
314
+ __typename?: 'DestinationSignal';
315
+ failed: Scalars['Float']['output'];
316
+ queue: Scalars['Float']['output'];
317
+ sent: Scalars['Float']['output'];
318
+ };
319
+ export type DestinationSupportedSignals = {
320
+ __typename?: 'DestinationSupportedSignals';
321
+ logs: Scalars['Boolean']['output'];
322
+ metrics: Scalars['Boolean']['output'];
323
+ profiles: Scalars['Boolean']['output'];
324
+ traces: Scalars['Boolean']['output'];
325
+ };
326
+ export type DestinationType = {
327
+ __typename?: 'DestinationType';
328
+ displayName: Scalars['String']['output'];
329
+ fields: Array<DestinationField>;
330
+ imageUrl: Scalars['String']['output'];
331
+ supportedSignals: DestinationSupportedSignals;
332
+ type: Scalars['String']['output'];
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
+ };
343
+ export type DistroOverride = {
344
+ __typename?: 'DistroOverride';
345
+ otelDistroName?: Maybe<Scalars['String']['output']>;
346
+ };
347
+ export type DistroOverrideInput = {
348
+ otelDistroName?: InputMaybe<Scalars['String']['input']>;
349
+ };
350
+ /** Process running in a Docker container (processKind "docker"). */
351
+ export type DockerProcessDetails = ProcessDetails & {
352
+ __typename?: 'DockerProcessDetails';
353
+ containerId?: Maybe<Scalars['String']['output']>;
354
+ containerName?: Maybe<Scalars['String']['output']>;
355
+ imageName?: Maybe<Scalars['String']['output']>;
356
+ /** Container labels; customer-defined keys, hence a list rather than named fields. */
357
+ labels?: Maybe<Array<KeyValue>>;
358
+ processKind: Scalars['String']['output'];
359
+ };
360
+ export type DockerSourceConfig = {
361
+ __typename?: 'DockerSourceConfig';
362
+ containerOverrides?: Maybe<Array<ContainerOverride>>;
363
+ };
364
+ export type DockerSourceConfigInput = {
365
+ containerOverrides?: InputMaybe<Array<ContainerOverrideInput>>;
366
+ };
367
+ /** Docker containers backing a workload on a host the agent runs on (kind "docker"). */
368
+ export type DockerWorkloadDetails = WorkloadDetails & {
369
+ __typename?: 'DockerWorkloadDetails';
370
+ containers?: Maybe<Array<WorkloadContainer>>;
371
+ kind: Scalars['String']['output'];
372
+ };
373
+ /** Process running in an ECS task container on EC2 (processKind "ecs-docker"). */
374
+ export type EcsProcessDetails = ProcessDetails & {
375
+ __typename?: 'EcsProcessDetails';
376
+ containerId?: Maybe<Scalars['String']['output']>;
377
+ containerName?: Maybe<Scalars['String']['output']>;
378
+ imageName?: Maybe<Scalars['String']['output']>;
379
+ labels?: Maybe<Array<KeyValue>>;
380
+ processKind: Scalars['String']['output'];
381
+ /** ARN of the running task, when the agent can resolve it. */
382
+ taskArn?: Maybe<Scalars['String']['output']>;
383
+ /** ECS task family this container belongs to. */
384
+ taskFamily?: Maybe<Scalars['String']['output']>;
385
+ };
386
+ export type EcsSourceConfig = {
387
+ __typename?: 'EcsSourceConfig';
388
+ containerOverrides?: Maybe<Array<ContainerOverride>>;
389
+ };
390
+ export type EcsSourceConfigInput = {
391
+ containerOverrides?: InputMaybe<Array<ContainerOverrideInput>>;
392
+ };
393
+ /**
394
+ * An ECS service or task (kinds "aws.fargate-task", "aws.ecs", "ecs-docker").
395
+ *
396
+ * Two very different reporters populate this type and each fills the subset it can see, which is why
397
+ * every field is nullable: the cloud connector rewrites task definitions and knows the cluster, the
398
+ * revision, and the launch type but never sees a process; the ECS agent on EC2 sees processes inside
399
+ * containers but reaches the control plane only through the task metadata endpoint.
400
+ */
401
+ export type EcsWorkloadDetails = WorkloadDetails & {
402
+ __typename?: 'EcsWorkloadDetails';
403
+ /** ARN of the cluster the service runs in. */
404
+ clusterArn?: Maybe<Scalars['String']['output']>;
405
+ /** Every container in the task definition, instrumentable or not. */
406
+ containers?: Maybe<Array<WorkloadContainer>>;
407
+ /** Deployment controller type (ECS, CODE_DEPLOY, EXTERNAL); instrumentation requires ECS. */
408
+ deploymentController?: Maybe<Scalars['String']['output']>;
409
+ kind: Scalars['String']['output'];
410
+ /** FARGATE, FARGATE_SPOT, or EC2. */
411
+ launchType?: Maybe<Scalars['String']['output']>;
412
+ /** Task definition family:revision currently deployed. */
413
+ taskDefinition?: Maybe<Scalars['String']['output']>;
414
+ };
415
+ export type GolangProbe = {
416
+ __typename?: 'GolangProbe';
417
+ functionName?: Maybe<Scalars['String']['output']>;
418
+ packageName: Scalars['String']['output'];
419
+ receiverMethodName?: Maybe<Scalars['String']['output']>;
420
+ receiverName?: Maybe<Scalars['String']['output']>;
421
+ };
422
+ export type GolangProbeInput = {
423
+ functionName?: InputMaybe<Scalars['String']['input']>;
424
+ packageName: Scalars['String']['input'];
425
+ receiverMethodName?: InputMaybe<Scalars['String']['input']>;
426
+ receiverName?: InputMaybe<Scalars['String']['input']>;
427
+ };
428
+ export type HeadersCollectionConfig = {
429
+ __typename?: 'HeadersCollectionConfig';
430
+ headerKeys: Array<Scalars['String']['output']>;
431
+ };
432
+ export type HeadersCollectionConfigInput = {
433
+ headerKeys: Array<Scalars['String']['input']>;
434
+ };
435
+ export type HeadersCollectionRule = InstrumentationRule & {
436
+ __typename?: 'HeadersCollectionRule';
437
+ config?: Maybe<HeadersCollectionConfig>;
438
+ enabled: Scalars['Boolean']['output'];
439
+ name: Scalars['String']['output'];
440
+ notes?: Maybe<Scalars['String']['output']>;
441
+ ruleType: RuleType;
442
+ };
443
+ export type HostInfo = {
444
+ __typename?: 'HostInfo';
445
+ arch: Scalars['String']['output'];
446
+ hostname: Scalars['String']['output'];
447
+ kernel: Scalars['String']['output'];
448
+ os: Scalars['String']['output'];
449
+ };
450
+ export type HotFunction = {
451
+ __typename?: 'HotFunction';
452
+ buildId?: Maybe<Scalars['String']['output']>;
453
+ instrumentable?: Maybe<Scalars['String']['output']>;
454
+ module: Scalars['String']['output'];
455
+ name: Scalars['String']['output'];
456
+ offset?: Maybe<Scalars['Float']['output']>;
457
+ self: Scalars['Float']['output'];
458
+ size?: Maybe<Scalars['Float']['output']>;
459
+ total: Scalars['Float']['output'];
460
+ };
461
+ export type HotFunctionsResult = {
462
+ __typename?: 'HotFunctionsResult';
463
+ cache?: Maybe<ProfileCacheStats>;
464
+ dynamicInstrumentation: Scalars['Boolean']['output'];
465
+ enabled: Scalars['Boolean']['output'];
466
+ host?: Maybe<HostInfo>;
467
+ services: Array<ServiceHotFunctions>;
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
+ };
570
+ /**
571
+ * Observed state of one instrumentation library after eBPF load (Go/Java today).
572
+ * Inactive or disabled libraries are omitted. Mirrors OSS InstrumentationLibraryStatus
573
+ * without Kubernetes types.
574
+ */
575
+ export type InstrumentationLibraryStatus = {
576
+ __typename?: 'InstrumentationLibraryStatus';
577
+ healthy?: Maybe<Scalars['Boolean']['output']>;
578
+ identifyingAttributes?: Maybe<Array<KeyValue>>;
579
+ /** RFC3339 timestamp of the last status update. */
580
+ lastStatusTime?: Maybe<Scalars['String']['output']>;
581
+ message?: Maybe<Scalars['String']['output']>;
582
+ name: Scalars['String']['output'];
583
+ nonIdentifyingAttributes?: Maybe<Array<KeyValue>>;
584
+ reason?: Maybe<Scalars['String']['output']>;
585
+ type: InstrumentationLibraryType;
586
+ };
587
+ export declare enum InstrumentationLibraryType {
588
+ Exporter = "exporter",
589
+ Instrumentation = "instrumentation",
590
+ Sampler = "sampler"
591
+ }
592
+ export type InstrumentationRule = {
593
+ enabled: Scalars['Boolean']['output'];
594
+ name: Scalars['String']['output'];
595
+ notes?: Maybe<Scalars['String']['output']>;
596
+ ruleType: RuleType;
597
+ };
598
+ export type InstrumentationRuleField = {
599
+ __typename?: 'InstrumentationRuleField';
600
+ componentProperties: Scalars['String']['output'];
601
+ componentType: Scalars['String']['output'];
602
+ displayName: Scalars['String']['output'];
603
+ initialValue?: Maybe<Scalars['String']['output']>;
604
+ name: Scalars['String']['output'];
605
+ renderCondition?: Maybe<Scalars['String']['output']>;
606
+ };
607
+ export type InstrumentationRuleTypeOption = {
608
+ __typename?: 'InstrumentationRuleTypeOption';
609
+ description: Scalars['String']['output'];
610
+ displayName: Scalars['String']['output'];
611
+ docsUrl: Scalars['String']['output'];
612
+ fields: Array<InstrumentationRuleField>;
613
+ supportedLanguages: Array<Scalars['String']['output']>;
614
+ type: Scalars['String']['output'];
615
+ };
616
+ export type JavaProbe = {
617
+ __typename?: 'JavaProbe';
618
+ className: Scalars['String']['output'];
619
+ methodName: Scalars['String']['output'];
620
+ };
621
+ export type JavaProbeInput = {
622
+ className: Scalars['String']['input'];
623
+ methodName: Scalars['String']['input'];
624
+ };
625
+ /** One key/value pair for data whose keys are defined by the customer rather than by Odigos. */
626
+ export type KeyValue = {
627
+ __typename?: 'KeyValue';
628
+ key: Scalars['String']['output'];
629
+ value: Scalars['String']['output'];
630
+ };
631
+ /** A Lambda function (kind "aws.lambda"). */
632
+ export type LambdaWorkloadDetails = WorkloadDetails & {
633
+ __typename?: 'LambdaWorkloadDetails';
634
+ /** Instruction set the function is configured for (x86_64 or arm64). */
635
+ architecture?: Maybe<Scalars['String']['output']>;
636
+ functionArn?: Maybe<Scalars['String']['output']>;
637
+ kind: Scalars['String']['output'];
638
+ /** ARN of the Odigos instrumentation layer attached to the function, when instrumented. */
639
+ layerArn?: Maybe<Scalars['String']['output']>;
640
+ /** Lambda-managed runtime identifier (e.g. "python3.12", "java21"). */
641
+ runtime?: Maybe<Scalars['String']['output']>;
642
+ };
643
+ export type Mutation = {
644
+ __typename?: 'Mutation';
645
+ cancelProfileBundle: Scalars['Boolean']['output'];
646
+ clearProfileCache: Scalars['Boolean']['output'];
647
+ clearSourceProfilingBuffer: SlotResult;
648
+ configureProfilingCache: ProfilingSlots;
649
+ createAction: Action;
650
+ createDestination: Destination;
651
+ createInstrumentationRule: InstrumentationRule;
652
+ createSource: Source;
653
+ deleteAction: DeleteActionPayload;
654
+ deleteDestination: DeleteDestinationPayload;
655
+ deleteInstrumentationRule: DeleteInstrumentationRulePayload;
656
+ deleteSource: DeleteSourcePayload;
657
+ disableSourceProfiling: SlotResult;
658
+ enableSourceProfiling: SlotResult;
659
+ generateDiagnoseBundle: DiagnoseBundle;
660
+ generateProfileBundle: ProfileBundle;
661
+ /** Trigger an out-of-band provider discovery refresh; returns true if a refresh was enqueued. */
662
+ refreshDiscovery: Scalars['Boolean']['output'];
663
+ /** Request bounded cleanup of connector-created resources. Not implemented in the discovery-only phase. */
664
+ requestCleanup: Scalars['Boolean']['output'];
665
+ restartSource: RestartSourcePayload;
666
+ startBackgroundProfileBundle: ProfileBundleStatus;
667
+ testConnectionForDestination: TestConnectionResponse;
668
+ /** Roll back instrumentation changes for the given reconcile id. Not implemented in the discovery-only phase. */
669
+ triggerRollback: Scalars['Boolean']['output'];
670
+ updateAction: Action;
671
+ updateConfig: UpdateConfigPayload;
672
+ updateDestination: Destination;
673
+ updateInstrumentationRule: InstrumentationRule;
674
+ /**
675
+ * Replace the on-prem license JWT on this agent (writes license.jwt).
676
+ * The token is verified before writing. Returns true on success.
677
+ */
678
+ updateOnPremLicense: Scalars['Boolean']['output'];
679
+ updateSource: Source;
680
+ };
681
+ export type MutationCancelProfileBundleArgs = {
682
+ jobId: Scalars['String']['input'];
683
+ };
684
+ export type MutationClearSourceProfilingBufferArgs = {
685
+ service: Scalars['String']['input'];
686
+ };
687
+ export type MutationConfigureProfilingCacheArgs = {
688
+ maxSlots?: InputMaybe<Scalars['Int']['input']>;
689
+ slotMaxBytes?: InputMaybe<Scalars['Int']['input']>;
690
+ slotTTLSeconds?: InputMaybe<Scalars['Int']['input']>;
691
+ };
692
+ export type MutationCreateActionArgs = {
693
+ input: CreateActionInput;
694
+ };
695
+ export type MutationCreateDestinationArgs = {
696
+ input: CreateDestinationInput;
697
+ };
698
+ export type MutationCreateInstrumentationRuleArgs = {
699
+ input: CreateInstrumentationRuleInput;
700
+ };
701
+ export type MutationCreateSourceArgs = {
702
+ input: CreateSourceInput;
703
+ };
704
+ export type MutationDeleteActionArgs = {
705
+ input: DeleteActionInput;
706
+ };
707
+ export type MutationDeleteDestinationArgs = {
708
+ input: DeleteDestinationInput;
709
+ };
710
+ export type MutationDeleteInstrumentationRuleArgs = {
711
+ input: DeleteInstrumentationRuleInput;
712
+ };
713
+ export type MutationDeleteSourceArgs = {
714
+ input: DeleteSourceInput;
715
+ };
716
+ export type MutationDisableSourceProfilingArgs = {
717
+ service: Scalars['String']['input'];
718
+ };
719
+ export type MutationEnableSourceProfilingArgs = {
720
+ service: Scalars['String']['input'];
721
+ };
722
+ export type MutationGenerateDiagnoseBundleArgs = {
723
+ includeContent?: InputMaybe<Scalars['Boolean']['input']>;
724
+ };
725
+ export type MutationGenerateProfileBundleArgs = {
726
+ durationSeconds?: InputMaybe<Scalars['Int']['input']>;
727
+ service?: InputMaybe<Scalars['String']['input']>;
728
+ };
729
+ export type MutationRequestCleanupArgs = {
730
+ id: Scalars['String']['input'];
731
+ };
732
+ export type MutationRestartSourceArgs = {
733
+ input: RestartSourceInput;
734
+ };
735
+ export type MutationStartBackgroundProfileBundleArgs = {
736
+ durationSeconds?: InputMaybe<Scalars['Int']['input']>;
737
+ service?: InputMaybe<Scalars['String']['input']>;
738
+ };
739
+ export type MutationTestConnectionForDestinationArgs = {
740
+ input: TestConnectionDestinationInput;
741
+ };
742
+ export type MutationTriggerRollbackArgs = {
743
+ id: Scalars['String']['input'];
744
+ };
745
+ export type MutationUpdateActionArgs = {
746
+ input: UpdateActionInput;
747
+ };
748
+ export type MutationUpdateConfigArgs = {
749
+ input: UpdateConfigInput;
750
+ };
751
+ export type MutationUpdateDestinationArgs = {
752
+ input: UpdateDestinationInput;
753
+ };
754
+ export type MutationUpdateInstrumentationRuleArgs = {
755
+ input: UpdateInstrumentationRuleInput;
756
+ };
757
+ export type MutationUpdateOnPremLicenseArgs = {
758
+ token: Scalars['String']['input'];
759
+ };
760
+ export type MutationUpdateSourceArgs = {
761
+ input: UpdateSourceInput;
762
+ };
763
+ export type PayloadCollectionConfig = {
764
+ __typename?: 'PayloadCollectionConfig';
765
+ collectDbQuery?: Maybe<Scalars['Boolean']['output']>;
766
+ collectHttpRequest?: Maybe<Scalars['Boolean']['output']>;
767
+ collectHttpResponse?: Maybe<Scalars['Boolean']['output']>;
768
+ collectMessaging?: Maybe<Scalars['Boolean']['output']>;
769
+ };
770
+ export type PayloadCollectionConfigInput = {
771
+ collectDbQuery?: InputMaybe<Scalars['Boolean']['input']>;
772
+ collectHttpRequest?: InputMaybe<Scalars['Boolean']['input']>;
773
+ collectHttpResponse?: InputMaybe<Scalars['Boolean']['input']>;
774
+ collectMessaging?: InputMaybe<Scalars['Boolean']['input']>;
775
+ };
776
+ export type PayloadCollectionRule = InstrumentationRule & {
777
+ __typename?: 'PayloadCollectionRule';
778
+ config?: Maybe<PayloadCollectionConfig>;
779
+ enabled: Scalars['Boolean']['output'];
780
+ name: Scalars['String']['output'];
781
+ notes?: Maybe<Scalars['String']['output']>;
782
+ ruleType: RuleType;
783
+ };
784
+ export type PipelineCounters = {
785
+ __typename?: 'PipelineCounters';
786
+ destinations: Array<DestinationCounters>;
787
+ otelcolHealthy: Scalars['Boolean']['output'];
788
+ scrapeError?: Maybe<Scalars['String']['output']>;
789
+ scrapedAt: Scalars['String']['output'];
790
+ };
791
+ /**
792
+ * Kind-specific facts about ONE process, selected by WorkloadProcessMetadata.processKind. Null for
793
+ * plain host processes, whose pid/exe/cmdline are already named fields on WorkloadProcessMetadata.
794
+ */
795
+ export type ProcessDetails = {
796
+ /** The WorkloadProcessMetadata.processKind this block describes. */
797
+ processKind: Scalars['String']['output'];
798
+ };
799
+ export type ProcessorAdditionAction = Action & {
800
+ __typename?: 'ProcessorAdditionAction';
801
+ actionName?: Maybe<Scalars['String']['output']>;
802
+ actionType: ActionType;
803
+ config?: Maybe<ProcessorAdditionConfig>;
804
+ disabled: Scalars['Boolean']['output'];
805
+ name: Scalars['String']['output'];
806
+ notes?: Maybe<Scalars['String']['output']>;
807
+ orderHint?: Maybe<Scalars['Int']['output']>;
808
+ pipelines?: Maybe<Array<Scalars['String']['output']>>;
809
+ signals: Array<TelemetrySignal>;
810
+ };
811
+ export type ProcessorAdditionConfig = {
812
+ __typename?: 'ProcessorAdditionConfig';
813
+ processorConfig: Scalars['JSON']['output'];
814
+ processorName?: Maybe<Scalars['String']['output']>;
815
+ type: Scalars['String']['output'];
816
+ };
817
+ export type ProcessorAdditionConfigInput = {
818
+ processorConfig: Scalars['JSON']['input'];
819
+ processorName?: InputMaybe<Scalars['String']['input']>;
820
+ type: Scalars['String']['input'];
821
+ };
822
+ export type ProfileBundle = {
823
+ __typename?: 'ProfileBundle';
824
+ createdAt: Scalars['String']['output'];
825
+ durationSec: Scalars['Int']['output'];
826
+ error?: Maybe<Scalars['String']['output']>;
827
+ errorKind?: Maybe<Scalars['String']['output']>;
828
+ filePath: Scalars['String']['output'];
829
+ id: Scalars['String']['output'];
830
+ sampleBytes: Scalars['Float']['output'];
831
+ };
832
+ export type ProfileBundleStatus = {
833
+ __typename?: 'ProfileBundleStatus';
834
+ durationSec: Scalars['Int']['output'];
835
+ elapsedSec: Scalars['Int']['output'];
836
+ error?: Maybe<Scalars['String']['output']>;
837
+ errorKind?: Maybe<Scalars['String']['output']>;
838
+ filePath?: Maybe<Scalars['String']['output']>;
839
+ id: Scalars['String']['output'];
840
+ sampleBytes?: Maybe<Scalars['Float']['output']>;
841
+ startedAt: Scalars['String']['output'];
842
+ state: Scalars['String']['output'];
843
+ };
844
+ export type ProfileCacheStats = {
845
+ __typename?: 'ProfileCacheStats';
846
+ evictedSlotsTotal: Scalars['Float']['output'];
847
+ maxSlots: Scalars['Int']['output'];
848
+ maxTotalBytesBudget: Scalars['Float']['output'];
849
+ services: Scalars['Int']['output'];
850
+ slotMaxBytes: Scalars['Float']['output'];
851
+ slotTtlSeconds: Scalars['Int']['output'];
852
+ totalBytes: Scalars['Float']['output'];
853
+ };
854
+ export type ProfilingSlots = {
855
+ __typename?: 'ProfilingSlots';
856
+ activeKeys: Array<Scalars['String']['output']>;
857
+ cache: ProfileCacheStats;
858
+ keysWithData: Array<Scalars['String']['output']>;
859
+ };
860
+ export type Query = {
861
+ __typename?: 'Query';
862
+ action?: Maybe<Action>;
863
+ actionTypes: Array<ActionTypeOption>;
864
+ actions: Array<Action>;
865
+ /** Lookup a compute platform by composite key name + kind + region; null if absent. region may be omitted for region-less platforms. */
866
+ computePlatformReport?: Maybe<ComputePlatformReport>;
867
+ computePlatformReports: Array<ComputePlatformReport>;
868
+ config: Scalars['JSON']['output'];
869
+ configDefaults: Scalars['JSON']['output'];
870
+ /** Per-region collector statuses (empty until managed-otelcol integration). */
871
+ connectorCollectorStatuses: Array<ConnectorCollectorStatus>;
872
+ /** Computed health of this connector runtime. */
873
+ connectorRuntimeHealth: ConnectorRuntimeHealth;
874
+ destination?: Maybe<Destination>;
875
+ destinationTypes: Array<DestinationType>;
876
+ destinations: Array<Destination>;
877
+ /**
878
+ * How to instrument one workload, keyed the same way as workloadReport. Null when the workload is unknown, or
879
+ * when its type has no instrumentation defined on this connector.
880
+ */
881
+ instrumentationInstructions?: Maybe<InstrumentationInstructions>;
882
+ instrumentationRule?: Maybe<InstrumentationRule>;
883
+ instrumentationRuleTypes: Array<InstrumentationRuleTypeOption>;
884
+ instrumentationRules: Array<InstrumentationRule>;
885
+ pipelineCounters: PipelineCounters;
886
+ profileBundleStatus: ProfileBundleStatus;
887
+ profileHotFunctions: HotFunctionsResult;
888
+ profilingSlots: ProfilingSlots;
889
+ source?: Maybe<Source>;
890
+ sourceProfile: SourceProfilingResult;
891
+ sources: Array<Source>;
892
+ /** Provider source kinds this connector can discover/instrument (e.g. ["aws.lambda", "aws.ecs_service"]). */
893
+ supportedSourceKinds: Array<Scalars['String']['output']>;
894
+ /** Lookup by composite key serviceName + kind + region; null if absent. region may be omitted for region-less platforms. */
895
+ workloadReport?: Maybe<WorkloadReport>;
896
+ workloadReports: Array<WorkloadReport>;
897
+ };
898
+ export type QueryActionArgs = {
899
+ name: Scalars['String']['input'];
900
+ };
901
+ export type QueryComputePlatformReportArgs = {
902
+ kind: Scalars['String']['input'];
903
+ name: Scalars['String']['input'];
904
+ region?: InputMaybe<Scalars['String']['input']>;
905
+ };
906
+ export type QueryDestinationArgs = {
907
+ name: Scalars['String']['input'];
908
+ };
909
+ export type QueryInstrumentationInstructionsArgs = {
910
+ kind: Scalars['String']['input'];
911
+ region?: InputMaybe<Scalars['String']['input']>;
912
+ serviceName: Scalars['String']['input'];
913
+ };
914
+ export type QueryInstrumentationRuleArgs = {
915
+ name: Scalars['String']['input'];
916
+ };
917
+ export type QueryProfileBundleStatusArgs = {
918
+ jobId: Scalars['String']['input'];
919
+ };
920
+ export type QueryProfileHotFunctionsArgs = {
921
+ topN?: InputMaybe<Scalars['Int']['input']>;
922
+ };
923
+ export type QuerySourceArgs = {
924
+ name: Scalars['String']['input'];
925
+ };
926
+ export type QuerySourceProfileArgs = {
927
+ service: Scalars['String']['input'];
928
+ };
929
+ export type QueryWorkloadReportArgs = {
930
+ kind: Scalars['String']['input'];
931
+ region?: InputMaybe<Scalars['String']['input']>;
932
+ serviceName: Scalars['String']['input'];
933
+ };
934
+ export type RestartSourceInput = {
935
+ kind: Scalars['String']['input'];
936
+ name: Scalars['String']['input'];
937
+ };
938
+ export type RestartSourcePayload = {
939
+ __typename?: 'RestartSourcePayload';
940
+ kind: Scalars['String']['output'];
941
+ message?: Maybe<Scalars['String']['output']>;
942
+ name: Scalars['String']['output'];
943
+ restarted: Scalars['Boolean']['output'];
944
+ };
945
+ /**
946
+ * A managed service whose deployments are immutable REVISIONS behind a traffic split: a Cloud Run service
947
+ * (kind "gcp.cloud-run") or an Azure Container App (kind "azure.container-apps").
948
+ *
949
+ * One type rather than one per platform, because every field here means the same thing on both — the platform
950
+ * resource identity, the revision the platform last reported ready, and the containers in that revision's
951
+ * template. `kind` already tells a client which platform it is, so two names for one shape buys nothing. This is
952
+ * the same reasoning that makes WorkloadContainer shared; per-platform types earn their keep for facts that are
953
+ * genuinely platform-specific (a Lambda layer ARN, an ECS launch type), not for a renamed field.
954
+ *
955
+ * It replaces CloudRunWorkloadDetails and ContainerAppsWorkloadDetails, which had already diverged in the one way
956
+ * that mattered: both called their revision field `revision` and documented it as OPPOSITE facts — Cloud Run's as
957
+ * the revision serving traffic, Container Apps' as the latest ready revision, explicitly "not necessarily the one
958
+ * serving requests". Both reporters in fact populate latest-ready, so a client branching on `__typename` was
959
+ * being told two different things about the same value. Naming the field for what it actually holds is the
960
+ * substantive half of this merge.
961
+ */
962
+ export type RevisionedServiceWorkloadDetails = WorkloadDetails & {
963
+ __typename?: 'RevisionedServiceWorkloadDetails';
964
+ /** Every container in the revision's template, instrumentable or not. */
965
+ containers?: Maybe<Array<WorkloadContainer>>;
966
+ kind: Scalars['String']['output'];
967
+ /**
968
+ * Revision the platform last reported READY — the newest deployment that came up healthy.
969
+ *
970
+ * Deliberately NOT "the revision serving traffic", which is a different fact and the one that bites in manual
971
+ * (IaC) mode: revisions are immutable on both platforms, so instrumentation always produces a new one, and a
972
+ * traffic split can keep weighting an older, uninstrumented revision indefinitely. A customer can apply
973
+ * instrumentation correctly and still see no telemetry.
974
+ *
975
+ * Reporting which revision is READY is what lets them notice that at all. Reporting which revisions SERVE needs
976
+ * per-revision traffic weights (Cloud Run trafficStatuses, Container Apps ingress traffic), and that field gets
977
+ * added by whichever change first observes them — rather than existing now as a slot clients learn to ignore.
978
+ */
979
+ latestReadyRevision?: Maybe<Scalars['String']['output']>;
980
+ /** Fully-qualified platform resource identity: the Cloud Run service name, or the Container App resource id. */
981
+ service?: Maybe<Scalars['String']['output']>;
982
+ };
983
+ export declare enum RuleType {
984
+ CodeAttributes = "CodeAttributes",
985
+ CustomInstrumentation = "CustomInstrumentation",
986
+ HeadersCollection = "HeadersCollection",
987
+ PayloadCollection = "PayloadCollection"
988
+ }
989
+ export type RuntimeOverride = {
990
+ __typename?: 'RuntimeOverride';
991
+ language?: Maybe<Scalars['String']['output']>;
992
+ version?: Maybe<Scalars['String']['output']>;
993
+ };
994
+ export type RuntimeOverrideInput = {
995
+ language?: InputMaybe<Scalars['String']['input']>;
996
+ version?: InputMaybe<Scalars['String']['input']>;
997
+ };
998
+ export type ServiceHotFunctions = {
999
+ __typename?: 'ServiceHotFunctions';
1000
+ functions: Array<HotFunction>;
1001
+ language?: Maybe<Scalars['String']['output']>;
1002
+ service: Scalars['String']['output'];
1003
+ totalNanos: Scalars['Float']['output'];
1004
+ };
1005
+ export type ServiceNameOverride = {
1006
+ __typename?: 'ServiceNameOverride';
1007
+ serviceName?: Maybe<Scalars['String']['output']>;
1008
+ };
1009
+ export type ServiceNameOverrideInput = {
1010
+ serviceName?: InputMaybe<Scalars['String']['input']>;
1011
+ };
1012
+ export type SlotResult = {
1013
+ __typename?: 'SlotResult';
1014
+ activeSlots: Scalars['Int']['output'];
1015
+ maxSlots: Scalars['Int']['output'];
1016
+ sourceKey: Scalars['String']['output'];
1017
+ status: Scalars['String']['output'];
1018
+ };
1019
+ export type Source = {
1020
+ __typename?: 'Source';
1021
+ config?: Maybe<SourceConfig>;
1022
+ enabled: Scalars['Boolean']['output'];
1023
+ kind: Scalars['String']['output'];
1024
+ name: Scalars['String']['output'];
1025
+ region?: Maybe<Scalars['String']['output']>;
1026
+ serviceName?: Maybe<Scalars['String']['output']>;
1027
+ };
1028
+ export type SourceConfig = {
1029
+ __typename?: 'SourceConfig';
1030
+ distroOverride?: Maybe<DistroOverride>;
1031
+ docker?: Maybe<DockerSourceConfig>;
1032
+ /**
1033
+ * Kind-specific config. At most one branch is set and it must match the source's kind (validated
1034
+ * server-side), following the same discriminator-plus-typed-branch pattern as
1035
+ * CreateInstrumentationRuleInput. See SourceConfigInput for the full rationale.
1036
+ */
1037
+ ecs?: Maybe<EcsSourceConfig>;
1038
+ runtimeOverride?: Maybe<RuntimeOverride>;
1039
+ serviceNameOverride?: Maybe<ServiceNameOverride>;
1040
+ };
1041
+ export type SourceConfigInput = {
1042
+ distroOverride?: InputMaybe<DistroOverrideInput>;
1043
+ docker?: InputMaybe<DockerSourceConfigInput>;
1044
+ /**
1045
+ * Kind-specific config. At most one branch may be set and it must match the source's kind
1046
+ * (validated server-side) — a Lambda source rejects `ecs`.
1047
+ *
1048
+ * GraphQL has no input unions, so a discriminator plus typed optional branches is the only way to
1049
+ * express this on the write side; it is the same shape CreateInstrumentationRuleInput uses for
1050
+ * ruleType. Adding a platform means adding a branch here, never widening an untyped map.
1051
+ */
1052
+ ecs?: InputMaybe<EcsSourceConfigInput>;
1053
+ runtimeOverride?: InputMaybe<RuntimeOverrideInput>;
1054
+ serviceNameOverride?: InputMaybe<ServiceNameOverrideInput>;
1055
+ };
1056
+ export type SourceProfilingResult = {
1057
+ __typename?: 'SourceProfilingResult';
1058
+ profileJson: Scalars['String']['output'];
1059
+ };
1060
+ export type SpanMetricsAction = Action & {
1061
+ __typename?: 'SpanMetricsAction';
1062
+ actionName?: Maybe<Scalars['String']['output']>;
1063
+ actionType: ActionType;
1064
+ config?: Maybe<SpanMetricsConfig>;
1065
+ disabled: Scalars['Boolean']['output'];
1066
+ name: Scalars['String']['output'];
1067
+ notes?: Maybe<Scalars['String']['output']>;
1068
+ orderHint?: Maybe<Scalars['Int']['output']>;
1069
+ pipelines?: Maybe<Array<Scalars['String']['output']>>;
1070
+ signals: Array<TelemetrySignal>;
1071
+ };
1072
+ export type SpanMetricsConfig = {
1073
+ __typename?: 'SpanMetricsConfig';
1074
+ additionalDimensions?: Maybe<Array<Scalars['String']['output']>>;
1075
+ disabled?: Maybe<Scalars['Boolean']['output']>;
1076
+ excludedResourceAttributes?: Maybe<Array<Scalars['String']['output']>>;
1077
+ explicitHistogramBuckets?: Maybe<Array<Scalars['String']['output']>>;
1078
+ histogramDisabled?: Maybe<Scalars['Boolean']['output']>;
1079
+ includedProcessInDimensions?: Maybe<Scalars['Boolean']['output']>;
1080
+ interval?: Maybe<Scalars['String']['output']>;
1081
+ metricsExpiration?: Maybe<Scalars['String']['output']>;
1082
+ resourceMetricsKeyAttributes?: Maybe<Array<Scalars['String']['output']>>;
1083
+ };
1084
+ export type SpanMetricsConfigInput = {
1085
+ additionalDimensions?: InputMaybe<Array<Scalars['String']['input']>>;
1086
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
1087
+ excludedResourceAttributes?: InputMaybe<Array<Scalars['String']['input']>>;
1088
+ explicitHistogramBuckets?: InputMaybe<Array<Scalars['String']['input']>>;
1089
+ histogramDisabled?: InputMaybe<Scalars['Boolean']['input']>;
1090
+ includedProcessInDimensions?: InputMaybe<Scalars['Boolean']['input']>;
1091
+ interval?: InputMaybe<Scalars['String']['input']>;
1092
+ metricsExpiration?: InputMaybe<Scalars['String']['input']>;
1093
+ resourceMetricsKeyAttributes?: InputMaybe<Array<Scalars['String']['input']>>;
1094
+ };
1095
+ /** Process managed by systemd (processKind "systemd"). */
1096
+ export type SystemdProcessDetails = ProcessDetails & {
1097
+ __typename?: 'SystemdProcessDetails';
1098
+ processKind: Scalars['String']['output'];
1099
+ /** Absolute path of the unit file backing this service. */
1100
+ unitFilePath?: Maybe<Scalars['String']['output']>;
1101
+ /** Unit name without the .service suffix. */
1102
+ unitName?: Maybe<Scalars['String']['output']>;
1103
+ };
1104
+ export declare enum TelemetrySignal {
1105
+ Logs = "LOGS",
1106
+ Metrics = "METRICS",
1107
+ Profiles = "PROFILES",
1108
+ Traces = "TRACES"
1109
+ }
1110
+ export type TestConnectionDestinationInput = {
1111
+ config?: InputMaybe<Scalars['JSON']['input']>;
1112
+ type: Scalars['String']['input'];
1113
+ };
1114
+ export type TestConnectionResponse = {
1115
+ __typename?: 'TestConnectionResponse';
1116
+ destinationType?: Maybe<Scalars['String']['output']>;
1117
+ message?: Maybe<Scalars['String']['output']>;
1118
+ reason?: Maybe<Scalars['String']['output']>;
1119
+ statusCode: Scalars['Int']['output'];
1120
+ succeeded: Scalars['Boolean']['output'];
1121
+ };
1122
+ export type UrlTemplatizationAction = Action & {
1123
+ __typename?: 'URLTemplatizationAction';
1124
+ actionName?: Maybe<Scalars['String']['output']>;
1125
+ actionType: ActionType;
1126
+ config?: Maybe<UrlTemplatizationConfig>;
1127
+ disabled: Scalars['Boolean']['output'];
1128
+ name: Scalars['String']['output'];
1129
+ notes?: Maybe<Scalars['String']['output']>;
1130
+ orderHint?: Maybe<Scalars['Int']['output']>;
1131
+ pipelines?: Maybe<Array<Scalars['String']['output']>>;
1132
+ signals: Array<TelemetrySignal>;
1133
+ };
1134
+ export type UrlTemplatizationConfig = {
1135
+ __typename?: 'URLTemplatizationConfig';
1136
+ templatizationRulesGroups: Array<UrlTemplatizationRulesGroup>;
1137
+ };
1138
+ export type UrlTemplatizationConfigInput = {
1139
+ templatizationRulesGroups: Array<UrlTemplatizationRulesGroupInput>;
1140
+ };
1141
+ export type UrlTemplatizationRule = {
1142
+ __typename?: 'URLTemplatizationRule';
1143
+ examples?: Maybe<Array<Scalars['String']['output']>>;
1144
+ notes?: Maybe<Scalars['String']['output']>;
1145
+ template: Scalars['String']['output'];
1146
+ };
1147
+ export type UrlTemplatizationRuleInput = {
1148
+ examples?: InputMaybe<Array<Scalars['String']['input']>>;
1149
+ notes?: InputMaybe<Scalars['String']['input']>;
1150
+ template: Scalars['String']['input'];
1151
+ };
1152
+ export type UrlTemplatizationRulesGroup = {
1153
+ __typename?: 'URLTemplatizationRulesGroup';
1154
+ notes?: Maybe<Scalars['String']['output']>;
1155
+ templatizationRules: Array<UrlTemplatizationRule>;
1156
+ };
1157
+ export type UrlTemplatizationRulesGroupInput = {
1158
+ notes?: InputMaybe<Scalars['String']['input']>;
1159
+ templatizationRules: Array<UrlTemplatizationRuleInput>;
1160
+ };
1161
+ export type UpdateActionInput = {
1162
+ actionName?: InputMaybe<Scalars['String']['input']>;
1163
+ actionType?: InputMaybe<ActionType>;
1164
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
1165
+ name: Scalars['String']['input'];
1166
+ notes?: InputMaybe<Scalars['String']['input']>;
1167
+ orderHint?: InputMaybe<Scalars['Int']['input']>;
1168
+ pipelines?: InputMaybe<Array<Scalars['String']['input']>>;
1169
+ processorAddition?: InputMaybe<ProcessorAdditionConfigInput>;
1170
+ signals?: InputMaybe<Array<TelemetrySignal>>;
1171
+ spanMetrics?: InputMaybe<SpanMetricsConfigInput>;
1172
+ urlTemplatization?: InputMaybe<UrlTemplatizationConfigInput>;
1173
+ };
1174
+ export type UpdateConfigInput = {
1175
+ config: Scalars['JSON']['input'];
1176
+ };
1177
+ export type UpdateConfigPayload = {
1178
+ __typename?: 'UpdateConfigPayload';
1179
+ config: Scalars['JSON']['output'];
1180
+ };
1181
+ export type UpdateDestinationInput = {
1182
+ config?: InputMaybe<Scalars['JSON']['input']>;
1183
+ name: Scalars['String']['input'];
1184
+ region?: InputMaybe<Scalars['String']['input']>;
1185
+ signals?: InputMaybe<Array<TelemetrySignal>>;
1186
+ type?: InputMaybe<Scalars['String']['input']>;
1187
+ };
1188
+ export type UpdateInstrumentationRuleInput = {
1189
+ HeadersCollection?: InputMaybe<HeadersCollectionConfigInput>;
1190
+ codeAttributes?: InputMaybe<CodeAttributesConfigInput>;
1191
+ customInstrumentation?: InputMaybe<CustomInstrumentationConfigInput>;
1192
+ enabled: Scalars['Boolean']['input'];
1193
+ name: Scalars['String']['input'];
1194
+ notes?: InputMaybe<Scalars['String']['input']>;
1195
+ payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
1196
+ ruleType?: InputMaybe<RuleType>;
1197
+ };
1198
+ export type UpdateSourceInput = {
1199
+ config?: InputMaybe<SourceConfigInput>;
1200
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
1201
+ kind?: InputMaybe<Scalars['String']['input']>;
1202
+ name: Scalars['String']['input'];
1203
+ region?: InputMaybe<Scalars['String']['input']>;
1204
+ serviceName?: InputMaybe<Scalars['String']['input']>;
1205
+ };
1206
+ /**
1207
+ * One container inside a multi-container workload. Shared by every container-shaped platform (ECS
1208
+ * tasks, Cloud Run services, and Kubernetes pods if the k8s API ever moves here) so clients render
1209
+ * containers the same way everywhere.
1210
+ *
1211
+ * This is the dimension the flat report cannot express: a single ECS task definition can pack several
1212
+ * independently instrumentable application containers, and reporting only the workload's aggregate
1213
+ * runtime forces an arbitrary choice between them.
1214
+ */
1215
+ export type WorkloadContainer = {
1216
+ __typename?: 'WorkloadContainer';
1217
+ /** Odigos distro applied to this container, when instrumented. */
1218
+ distro?: Maybe<Scalars['String']['output']>;
1219
+ /**
1220
+ * Why this container is not instrumented. This is the ONE place a client learns that, and
1221
+ * deliberately so: every platform-specific fact that leads to an exclusion is resolved by the
1222
+ * reporter and reported here, never as a separate flag the client has to interpret for itself.
1223
+ *
1224
+ * A container Odigos itself injected reports "Odigos agents sidecar"; one the platform does not
1225
+ * treat as part of the application reports "non-essential container"; an unsupported runtime says
1226
+ * so. A client renders the reason — it never re-derives the decision, and it never needs a
1227
+ * platform-specific field (ECS `essential`, an Odigos ownership marker) to do it.
1228
+ */
1229
+ excludedReason?: Maybe<Scalars['String']['output']>;
1230
+ /** Image reference as declared by the customer. */
1231
+ image?: Maybe<Scalars['String']['output']>;
1232
+ /** True when Odigos can instrument this container; false with excludedReason when it cannot. */
1233
+ instrumentationEligible: Scalars['Boolean']['output'];
1234
+ /** True when Odigos instrumentation is currently applied to this container. */
1235
+ instrumented: Scalars['Boolean']['output'];
1236
+ /** Container name, unique within the workload and stable across deployments. */
1237
+ name: Scalars['String']['output'];
1238
+ /**
1239
+ * PIDs observed running in this container, keying into the workload's `instances` and
1240
+ * `processMetadata` — the container layer groups those rows, it does not duplicate them, so the
1241
+ * workload's flat process list stays the single source of truth for per-process facts.
1242
+ *
1243
+ * Empty when the reporter cannot see inside the container: a cloud connector rewriting an ECS task
1244
+ * definition knows the container exists and what runs in it, but never observes its processes. An
1245
+ * empty list therefore means "no process visibility", not "no processes".
1246
+ */
1247
+ pids?: Maybe<Array<Scalars['Int']['output']>>;
1248
+ /** Detected, overridden, and effective runtime for this container specifically. */
1249
+ runtime?: Maybe<WorkloadRuntimeSnapshot>;
1250
+ };
1251
+ export type WorkloadCurrentReport = {
1252
+ __typename?: 'WorkloadCurrentReport';
1253
+ instrumented: Scalars['Boolean']['output'];
1254
+ processCount: Scalars['Int']['output'];
1255
+ runtime: WorkloadRuntimeSnapshot;
1256
+ /** Deprecated: use runtime.running.language. Kept for backward compatibility. */
1257
+ runtimeName?: Maybe<Scalars['String']['output']>;
1258
+ /** Deprecated: use runtime.running.version. Kept for backward compatibility. */
1259
+ runtimeVersion?: Maybe<Scalars['String']['output']>;
1260
+ state: Scalars['String']['output'];
1261
+ };
1262
+ export type WorkloadDesiredReport = {
1263
+ __typename?: 'WorkloadDesiredReport';
1264
+ enabled: Scalars['Boolean']['output'];
1265
+ mode?: Maybe<Scalars['String']['output']>;
1266
+ reason?: Maybe<Scalars['String']['output']>;
1267
+ sdkType?: Maybe<Scalars['String']['output']>;
1268
+ sourceEnabled?: Maybe<Scalars['Boolean']['output']>;
1269
+ sourceMatched?: Maybe<Scalars['Boolean']['output']>;
1270
+ };
1271
+ /**
1272
+ * Kind-specific facts about a workload as a whole. The concrete type is selected by
1273
+ * WorkloadReport.kind.
1274
+ *
1275
+ * Container-shaped kinds (docker, ecs, cloud-run, container-apps) resolve to a type carrying
1276
+ * `containers`, which adds the container layer between the workload and its processes. Process-shaped
1277
+ * kinds (systemd, plain host processes) have no container layer at all and leave `details` null: their
1278
+ * processes hang directly off the workload's `instances` / `processMetadata`, with no empty container
1279
+ * wrapper invented to make the shapes match.
1280
+ */
1281
+ export type WorkloadDetails = {
1282
+ /** The WorkloadReport.kind this block describes, echoed so clients can branch without a fragment. */
1283
+ kind: Scalars['String']['output'];
1284
+ };
1285
+ export type WorkloadInstanceStatus = {
1286
+ __typename?: 'WorkloadInstanceStatus';
1287
+ alive: Scalars['Boolean']['output'];
1288
+ distro?: Maybe<Scalars['String']['output']>;
1289
+ /** Stable id (e.g. serviceName-pid). */
1290
+ id: Scalars['String']['output'];
1291
+ instrumented: Scalars['Boolean']['output'];
1292
+ message?: Maybe<Scalars['String']['output']>;
1293
+ pid: Scalars['Int']['output'];
1294
+ probesAttached: Scalars['Boolean']['output'];
1295
+ restarted?: Maybe<Scalars['Boolean']['output']>;
1296
+ runtimeName?: Maybe<Scalars['String']['output']>;
1297
+ runtimeVersion?: Maybe<Scalars['String']['output']>;
1298
+ };
1299
+ export type WorkloadIssue = {
1300
+ __typename?: 'WorkloadIssue';
1301
+ code: Scalars['String']['output'];
1302
+ /**
1303
+ * Machine-readable facts behind this issue, typed per `code`. Null for issues whose message is the whole
1304
+ * story.
1305
+ *
1306
+ * It exists because `message` had become the only channel for facts a client needs to ACT on rather than
1307
+ * display: which parts of an instrumentation are missing arrives today as a prose sentence a UI would have
1308
+ * to parse back apart to render as a list, or to offer a targeted fix for. Adding a code here means adding a
1309
+ * branch, never a new convention for encoding data into a sentence.
1310
+ */
1311
+ details?: Maybe<WorkloadIssueDetails>;
1312
+ message: Scalars['String']['output'];
1313
+ severity: Scalars['String']['output'];
1314
+ /** RFC3339 timestamp when the issue was first observed. */
1315
+ since?: Maybe<Scalars['String']['output']>;
1316
+ transient?: Maybe<Scalars['Boolean']['output']>;
1317
+ };
1318
+ /**
1319
+ * Facts behind one WorkloadIssue, typed by its `code`. Same discriminator-plus-typed-branch pattern as
1320
+ * WorkloadDetails and the rule/action config branches.
1321
+ */
1322
+ export type WorkloadIssueDetails = {
1323
+ /** The WorkloadIssue.code this block describes, echoed so clients can branch without a fragment. */
1324
+ code: Scalars['String']['output'];
1325
+ };
1326
+ /**
1327
+ * One live process under this workload from the instrumentation controller's AnalyzedProcess snapshot
1328
+ * (eligible for instrumentation, instrumented, or excluded / uninstrumentable).
1329
+ */
1330
+ export type WorkloadProcessMetadata = {
1331
+ __typename?: 'WorkloadProcessMetadata';
1332
+ cmdline?: Maybe<Scalars['String']['output']>;
1333
+ /**
1334
+ * Kind-specific facts about this process, typed per processKind (container id/name/image for
1335
+ * container kinds, unit file for systemd). Null for plain host processes, whose pid/exe/cmdline are
1336
+ * already named fields above.
1337
+ */
1338
+ details?: Maybe<ProcessDetails>;
1339
+ /** Set when instrumentationEligible is false (e.g. language mismatch). */
1340
+ excludedReason?: Maybe<Scalars['String']['output']>;
1341
+ exe?: Maybe<Scalars['String']['output']>;
1342
+ /** True when language/runtime matches the workload instrumentation target. */
1343
+ instrumentationEligible: Scalars['Boolean']['output'];
1344
+ /** True when the workload is instrumented and this PID is targeted (same notion as instances.instrumented). */
1345
+ instrumented: Scalars['Boolean']['output'];
1346
+ /**
1347
+ * Arbitrary string attributes (e.g. container.id from ResourceAttributes); JSON object with string values.
1348
+ * @deprecated Use `details`, which names and types the same facts per processKind. Still populated; will be removed once clients have migrated.
1349
+ */
1350
+ metadata?: Maybe<Scalars['JSON']['output']>;
1351
+ /** Names of other instrumentation agents detected in this process (e.g. "Datadog Agent"); empty or absent when none. */
1352
+ otherAgentNames?: Maybe<Array<Scalars['String']['output']>>;
1353
+ pid: Scalars['Int']['output'];
1354
+ ppid?: Maybe<Scalars['Int']['output']>;
1355
+ /** eBPF probes loaded for this PID; may be absent on the wire when false (omitempty). */
1356
+ probesAttached?: Maybe<Scalars['Boolean']['output']>;
1357
+ processKind?: Maybe<Scalars['String']['output']>;
1358
+ /** Per-PID detected runtime, workload source override, and effective running runtime. */
1359
+ runtime: WorkloadRuntimeSnapshot;
1360
+ /** Service name from process discovery when set (may differ from workload identity). */
1361
+ serviceNameObserved?: Maybe<Scalars['String']['output']>;
1362
+ startTimeEpoch?: Maybe<Scalars['Float']['output']>;
1363
+ };
1364
+ export type WorkloadProgressReport = {
1365
+ __typename?: 'WorkloadProgressReport';
1366
+ message?: Maybe<Scalars['String']['output']>;
1367
+ stage: Scalars['String']['output'];
1368
+ waitingFor?: Maybe<Scalars['String']['output']>;
1369
+ };
1370
+ export type WorkloadReport = {
1371
+ __typename?: 'WorkloadReport';
1372
+ current: WorkloadCurrentReport;
1373
+ desired: WorkloadDesiredReport;
1374
+ /**
1375
+ * Kind-specific facts about this workload, typed per kind. Container-shaped kinds resolve to a type
1376
+ * carrying `containers`, which groups the flat `instances` / `processMetadata` above by container;
1377
+ * process-shaped kinds (systemd, plain processes) leave this null and expose processes directly.
1378
+ */
1379
+ details?: Maybe<WorkloadDetails>;
1380
+ /** Tracked PIDs, sorted ascending by pid in the backing store. */
1381
+ instances?: Maybe<Array<WorkloadInstanceStatus>>;
1382
+ issues?: Maybe<Array<WorkloadIssue>>;
1383
+ kind: Scalars['String']['output'];
1384
+ /**
1385
+ * Go/Java instrumentation libraries aggregated across this source's PIDs.
1386
+ * Empty when the SDK does not report per-library status.
1387
+ */
1388
+ libraries?: Maybe<Array<InstrumentationLibraryStatus>>;
1389
+ /** Controller process rows for this workload; same PIDs as the controller; sorted ascending by pid. */
1390
+ processMetadata?: Maybe<Array<WorkloadProcessMetadata>>;
1391
+ progress: WorkloadProgressReport;
1392
+ /** Provider region the workload was discovered in (e.g. AWS region); part of the composite identity. Null for region-less platforms. */
1393
+ region?: Maybe<Scalars['String']['output']>;
1394
+ serviceName: Scalars['String']['output'];
1395
+ /** RFC3339 timestamp of the last report refresh. */
1396
+ updatedAt: Scalars['String']['output'];
1397
+ };
1398
+ /** Single runtime language and version pair. */
1399
+ export type WorkloadRuntime = {
1400
+ __typename?: 'WorkloadRuntime';
1401
+ language?: Maybe<Scalars['String']['output']>;
1402
+ version?: Maybe<Scalars['String']['output']>;
1403
+ };
1404
+ /** Runtime breakdown for a workload: detector output, optional source override, and effective running values. */
1405
+ export type WorkloadRuntimeSnapshot = {
1406
+ __typename?: 'WorkloadRuntimeSnapshot';
1407
+ /** Values from process/runtime detection. */
1408
+ detected: WorkloadRuntime;
1409
+ /** Source config override when applied; null when no override is set. */
1410
+ override?: Maybe<WorkloadRuntime>;
1411
+ /** Effective language/version used for instrumentation (override wins over detection). */
1412
+ running: WorkloadRuntime;
1413
+ };
1414
+ export type ActionTypeFieldsFragment = {
1415
+ __typename?: 'ActionTypeOption';
1416
+ type: string;
1417
+ displayName: string;
1418
+ description: string;
1419
+ allowedSignals: Array<TelemetrySignal>;
1420
+ docsUrl: string;
1421
+ fields: Array<{
1422
+ __typename?: 'ActionField';
1423
+ name: string;
1424
+ displayName: string;
1425
+ componentType: string;
1426
+ componentProperties: string;
1427
+ initialValue?: string | null;
1428
+ renderCondition?: string | null;
1429
+ }>;
1430
+ };
1431
+ export type GetActionTypesQueryVariables = Exact<{
1432
+ [key: string]: never;
1433
+ }>;
1434
+ export type GetActionTypesQuery = {
1435
+ __typename?: 'Query';
1436
+ actionTypes: Array<{
1437
+ __typename?: 'ActionTypeOption';
1438
+ type: string;
1439
+ displayName: string;
1440
+ description: string;
1441
+ allowedSignals: Array<TelemetrySignal>;
1442
+ docsUrl: string;
1443
+ fields: Array<{
1444
+ __typename?: 'ActionField';
1445
+ name: string;
1446
+ displayName: string;
1447
+ componentType: string;
1448
+ componentProperties: string;
1449
+ initialValue?: string | null;
1450
+ renderCondition?: string | null;
1451
+ }>;
1452
+ }>;
1453
+ };
1454
+ type ActionFields_ProcessorAdditionAction_Fragment = {
1455
+ __typename: 'ProcessorAdditionAction';
1456
+ name: string;
1457
+ actionName?: string | null;
1458
+ notes?: string | null;
1459
+ disabled: boolean;
1460
+ signals: Array<TelemetrySignal>;
1461
+ pipelines?: Array<string> | null;
1462
+ orderHint?: number | null;
1463
+ actionType: ActionType;
1464
+ config?: {
1465
+ __typename?: 'ProcessorAdditionConfig';
1466
+ type: string;
1467
+ processorName?: string | null;
1468
+ processorConfig: Record<string, any>;
1469
+ } | null;
1470
+ };
1471
+ type ActionFields_SpanMetricsAction_Fragment = {
1472
+ __typename: 'SpanMetricsAction';
1473
+ name: string;
1474
+ actionName?: string | null;
1475
+ notes?: string | null;
1476
+ disabled: boolean;
1477
+ signals: Array<TelemetrySignal>;
1478
+ pipelines?: Array<string> | null;
1479
+ orderHint?: number | null;
1480
+ actionType: ActionType;
1481
+ config?: {
1482
+ __typename?: 'SpanMetricsConfig';
1483
+ disabled?: boolean | null;
1484
+ interval?: string | null;
1485
+ metricsExpiration?: string | null;
1486
+ additionalDimensions?: Array<string> | null;
1487
+ histogramDisabled?: boolean | null;
1488
+ explicitHistogramBuckets?: Array<string> | null;
1489
+ resourceMetricsKeyAttributes?: Array<string> | null;
1490
+ includedProcessInDimensions?: boolean | null;
1491
+ excludedResourceAttributes?: Array<string> | null;
1492
+ } | null;
1493
+ };
1494
+ type ActionFields_UrlTemplatizationAction_Fragment = {
1495
+ __typename: 'URLTemplatizationAction';
1496
+ name: string;
1497
+ actionName?: string | null;
1498
+ notes?: string | null;
1499
+ disabled: boolean;
1500
+ signals: Array<TelemetrySignal>;
1501
+ pipelines?: Array<string> | null;
1502
+ orderHint?: number | null;
1503
+ actionType: ActionType;
1504
+ config?: {
1505
+ __typename?: 'URLTemplatizationConfig';
1506
+ templatizationRulesGroups: Array<{
1507
+ __typename?: 'URLTemplatizationRulesGroup';
1508
+ notes?: string | null;
1509
+ templatizationRules: Array<{
1510
+ __typename?: 'URLTemplatizationRule';
1511
+ template: string;
1512
+ examples?: Array<string> | null;
1513
+ notes?: string | null;
1514
+ }>;
1515
+ }>;
1516
+ } | null;
1517
+ };
1518
+ export type ActionFieldsFragment = ActionFields_ProcessorAdditionAction_Fragment | ActionFields_SpanMetricsAction_Fragment | ActionFields_UrlTemplatizationAction_Fragment;
1519
+ export type GetActionQueryVariables = Exact<{
1520
+ name: Scalars['String']['input'];
1521
+ }>;
1522
+ export type GetActionQuery = {
1523
+ __typename?: 'Query';
1524
+ action?: {
1525
+ __typename: 'ProcessorAdditionAction';
1526
+ name: string;
1527
+ actionName?: string | null;
1528
+ notes?: string | null;
1529
+ disabled: boolean;
1530
+ signals: Array<TelemetrySignal>;
1531
+ pipelines?: Array<string> | null;
1532
+ orderHint?: number | null;
1533
+ actionType: ActionType;
1534
+ config?: {
1535
+ __typename?: 'ProcessorAdditionConfig';
1536
+ type: string;
1537
+ processorName?: string | null;
1538
+ processorConfig: Record<string, any>;
1539
+ } | null;
1540
+ } | {
1541
+ __typename: 'SpanMetricsAction';
1542
+ name: string;
1543
+ actionName?: string | null;
1544
+ notes?: string | null;
1545
+ disabled: boolean;
1546
+ signals: Array<TelemetrySignal>;
1547
+ pipelines?: Array<string> | null;
1548
+ orderHint?: number | null;
1549
+ actionType: ActionType;
1550
+ config?: {
1551
+ __typename?: 'SpanMetricsConfig';
1552
+ disabled?: boolean | null;
1553
+ interval?: string | null;
1554
+ metricsExpiration?: string | null;
1555
+ additionalDimensions?: Array<string> | null;
1556
+ histogramDisabled?: boolean | null;
1557
+ explicitHistogramBuckets?: Array<string> | null;
1558
+ resourceMetricsKeyAttributes?: Array<string> | null;
1559
+ includedProcessInDimensions?: boolean | null;
1560
+ excludedResourceAttributes?: Array<string> | null;
1561
+ } | null;
1562
+ } | {
1563
+ __typename: 'URLTemplatizationAction';
1564
+ name: string;
1565
+ actionName?: string | null;
1566
+ notes?: string | null;
1567
+ disabled: boolean;
1568
+ signals: Array<TelemetrySignal>;
1569
+ pipelines?: Array<string> | null;
1570
+ orderHint?: number | null;
1571
+ actionType: ActionType;
1572
+ config?: {
1573
+ __typename?: 'URLTemplatizationConfig';
1574
+ templatizationRulesGroups: Array<{
1575
+ __typename?: 'URLTemplatizationRulesGroup';
1576
+ notes?: string | null;
1577
+ templatizationRules: Array<{
1578
+ __typename?: 'URLTemplatizationRule';
1579
+ template: string;
1580
+ examples?: Array<string> | null;
1581
+ notes?: string | null;
1582
+ }>;
1583
+ }>;
1584
+ } | null;
1585
+ } | null;
1586
+ };
1587
+ export type GetActionsQueryVariables = Exact<{
1588
+ [key: string]: never;
1589
+ }>;
1590
+ export type GetActionsQuery = {
1591
+ __typename?: 'Query';
1592
+ actions: Array<{
1593
+ __typename: 'ProcessorAdditionAction';
1594
+ name: string;
1595
+ actionName?: string | null;
1596
+ notes?: string | null;
1597
+ disabled: boolean;
1598
+ signals: Array<TelemetrySignal>;
1599
+ pipelines?: Array<string> | null;
1600
+ orderHint?: number | null;
1601
+ actionType: ActionType;
1602
+ config?: {
1603
+ __typename?: 'ProcessorAdditionConfig';
1604
+ type: string;
1605
+ processorName?: string | null;
1606
+ processorConfig: Record<string, any>;
1607
+ } | null;
1608
+ } | {
1609
+ __typename: 'SpanMetricsAction';
1610
+ name: string;
1611
+ actionName?: string | null;
1612
+ notes?: string | null;
1613
+ disabled: boolean;
1614
+ signals: Array<TelemetrySignal>;
1615
+ pipelines?: Array<string> | null;
1616
+ orderHint?: number | null;
1617
+ actionType: ActionType;
1618
+ config?: {
1619
+ __typename?: 'SpanMetricsConfig';
1620
+ disabled?: boolean | null;
1621
+ interval?: string | null;
1622
+ metricsExpiration?: string | null;
1623
+ additionalDimensions?: Array<string> | null;
1624
+ histogramDisabled?: boolean | null;
1625
+ explicitHistogramBuckets?: Array<string> | null;
1626
+ resourceMetricsKeyAttributes?: Array<string> | null;
1627
+ includedProcessInDimensions?: boolean | null;
1628
+ excludedResourceAttributes?: Array<string> | null;
1629
+ } | null;
1630
+ } | {
1631
+ __typename: 'URLTemplatizationAction';
1632
+ name: string;
1633
+ actionName?: string | null;
1634
+ notes?: string | null;
1635
+ disabled: boolean;
1636
+ signals: Array<TelemetrySignal>;
1637
+ pipelines?: Array<string> | null;
1638
+ orderHint?: number | null;
1639
+ actionType: ActionType;
1640
+ config?: {
1641
+ __typename?: 'URLTemplatizationConfig';
1642
+ templatizationRulesGroups: Array<{
1643
+ __typename?: 'URLTemplatizationRulesGroup';
1644
+ notes?: string | null;
1645
+ templatizationRules: Array<{
1646
+ __typename?: 'URLTemplatizationRule';
1647
+ template: string;
1648
+ examples?: Array<string> | null;
1649
+ notes?: string | null;
1650
+ }>;
1651
+ }>;
1652
+ } | null;
1653
+ }>;
1654
+ };
1655
+ export type CreateActionMutationVariables = Exact<{
1656
+ input: CreateActionInput;
1657
+ }>;
1658
+ export type CreateActionMutation = {
1659
+ __typename?: 'Mutation';
1660
+ createAction: {
1661
+ __typename: 'ProcessorAdditionAction';
1662
+ name: string;
1663
+ actionName?: string | null;
1664
+ notes?: string | null;
1665
+ disabled: boolean;
1666
+ signals: Array<TelemetrySignal>;
1667
+ pipelines?: Array<string> | null;
1668
+ orderHint?: number | null;
1669
+ actionType: ActionType;
1670
+ config?: {
1671
+ __typename?: 'ProcessorAdditionConfig';
1672
+ type: string;
1673
+ processorName?: string | null;
1674
+ processorConfig: Record<string, any>;
1675
+ } | null;
1676
+ } | {
1677
+ __typename: 'SpanMetricsAction';
1678
+ name: string;
1679
+ actionName?: string | null;
1680
+ notes?: string | null;
1681
+ disabled: boolean;
1682
+ signals: Array<TelemetrySignal>;
1683
+ pipelines?: Array<string> | null;
1684
+ orderHint?: number | null;
1685
+ actionType: ActionType;
1686
+ config?: {
1687
+ __typename?: 'SpanMetricsConfig';
1688
+ disabled?: boolean | null;
1689
+ interval?: string | null;
1690
+ metricsExpiration?: string | null;
1691
+ additionalDimensions?: Array<string> | null;
1692
+ histogramDisabled?: boolean | null;
1693
+ explicitHistogramBuckets?: Array<string> | null;
1694
+ resourceMetricsKeyAttributes?: Array<string> | null;
1695
+ includedProcessInDimensions?: boolean | null;
1696
+ excludedResourceAttributes?: Array<string> | null;
1697
+ } | null;
1698
+ } | {
1699
+ __typename: 'URLTemplatizationAction';
1700
+ name: string;
1701
+ actionName?: string | null;
1702
+ notes?: string | null;
1703
+ disabled: boolean;
1704
+ signals: Array<TelemetrySignal>;
1705
+ pipelines?: Array<string> | null;
1706
+ orderHint?: number | null;
1707
+ actionType: ActionType;
1708
+ config?: {
1709
+ __typename?: 'URLTemplatizationConfig';
1710
+ templatizationRulesGroups: Array<{
1711
+ __typename?: 'URLTemplatizationRulesGroup';
1712
+ notes?: string | null;
1713
+ templatizationRules: Array<{
1714
+ __typename?: 'URLTemplatizationRule';
1715
+ template: string;
1716
+ examples?: Array<string> | null;
1717
+ notes?: string | null;
1718
+ }>;
1719
+ }>;
1720
+ } | null;
1721
+ };
1722
+ };
1723
+ export type UpdateActionMutationVariables = Exact<{
1724
+ input: UpdateActionInput;
1725
+ }>;
1726
+ export type UpdateActionMutation = {
1727
+ __typename?: 'Mutation';
1728
+ updateAction: {
1729
+ __typename: 'ProcessorAdditionAction';
1730
+ name: string;
1731
+ actionName?: string | null;
1732
+ notes?: string | null;
1733
+ disabled: boolean;
1734
+ signals: Array<TelemetrySignal>;
1735
+ pipelines?: Array<string> | null;
1736
+ orderHint?: number | null;
1737
+ actionType: ActionType;
1738
+ config?: {
1739
+ __typename?: 'ProcessorAdditionConfig';
1740
+ type: string;
1741
+ processorName?: string | null;
1742
+ processorConfig: Record<string, any>;
1743
+ } | null;
1744
+ } | {
1745
+ __typename: 'SpanMetricsAction';
1746
+ name: string;
1747
+ actionName?: string | null;
1748
+ notes?: string | null;
1749
+ disabled: boolean;
1750
+ signals: Array<TelemetrySignal>;
1751
+ pipelines?: Array<string> | null;
1752
+ orderHint?: number | null;
1753
+ actionType: ActionType;
1754
+ config?: {
1755
+ __typename?: 'SpanMetricsConfig';
1756
+ disabled?: boolean | null;
1757
+ interval?: string | null;
1758
+ metricsExpiration?: string | null;
1759
+ additionalDimensions?: Array<string> | null;
1760
+ histogramDisabled?: boolean | null;
1761
+ explicitHistogramBuckets?: Array<string> | null;
1762
+ resourceMetricsKeyAttributes?: Array<string> | null;
1763
+ includedProcessInDimensions?: boolean | null;
1764
+ excludedResourceAttributes?: Array<string> | null;
1765
+ } | null;
1766
+ } | {
1767
+ __typename: 'URLTemplatizationAction';
1768
+ name: string;
1769
+ actionName?: string | null;
1770
+ notes?: string | null;
1771
+ disabled: boolean;
1772
+ signals: Array<TelemetrySignal>;
1773
+ pipelines?: Array<string> | null;
1774
+ orderHint?: number | null;
1775
+ actionType: ActionType;
1776
+ config?: {
1777
+ __typename?: 'URLTemplatizationConfig';
1778
+ templatizationRulesGroups: Array<{
1779
+ __typename?: 'URLTemplatizationRulesGroup';
1780
+ notes?: string | null;
1781
+ templatizationRules: Array<{
1782
+ __typename?: 'URLTemplatizationRule';
1783
+ template: string;
1784
+ examples?: Array<string> | null;
1785
+ notes?: string | null;
1786
+ }>;
1787
+ }>;
1788
+ } | null;
1789
+ };
1790
+ };
1791
+ export type DeleteActionMutationVariables = Exact<{
1792
+ input: DeleteActionInput;
1793
+ }>;
1794
+ export type DeleteActionMutation = {
1795
+ __typename?: 'Mutation';
1796
+ deleteAction: {
1797
+ __typename?: 'DeleteActionPayload';
1798
+ name: string;
1799
+ deleted: boolean;
1800
+ };
1801
+ };
1802
+ export type ComputePlatformReportFieldsFragment = {
1803
+ __typename?: 'ComputePlatformReport';
1804
+ name: string;
1805
+ kind: string;
1806
+ region?: string | null;
1807
+ externalId?: string | null;
1808
+ status?: string | null;
1809
+ odigosVersion?: string | null;
1810
+ metadata?: Record<string, any> | null;
1811
+ updatedAt: string;
1812
+ };
1813
+ export type GetComputePlatformReportQueryVariables = Exact<{
1814
+ name: Scalars['String']['input'];
1815
+ kind: Scalars['String']['input'];
1816
+ region?: InputMaybe<Scalars['String']['input']>;
1817
+ }>;
1818
+ export type GetComputePlatformReportQuery = {
1819
+ __typename?: 'Query';
1820
+ computePlatformReport?: {
1821
+ __typename?: 'ComputePlatformReport';
1822
+ name: string;
1823
+ kind: string;
1824
+ region?: string | null;
1825
+ externalId?: string | null;
1826
+ status?: string | null;
1827
+ odigosVersion?: string | null;
1828
+ metadata?: Record<string, any> | null;
1829
+ updatedAt: string;
1830
+ } | null;
1831
+ };
1832
+ export type GetComputePlatformReportsQueryVariables = Exact<{
1833
+ [key: string]: never;
1834
+ }>;
1835
+ export type GetComputePlatformReportsQuery = {
1836
+ __typename?: 'Query';
1837
+ computePlatformReports: Array<{
1838
+ __typename?: 'ComputePlatformReport';
1839
+ name: string;
1840
+ kind: string;
1841
+ region?: string | null;
1842
+ externalId?: string | null;
1843
+ status?: string | null;
1844
+ odigosVersion?: string | null;
1845
+ metadata?: Record<string, any> | null;
1846
+ updatedAt: string;
1847
+ }>;
1848
+ };
1849
+ export type GetConfigQueryVariables = Exact<{
1850
+ [key: string]: never;
1851
+ }>;
1852
+ export type GetConfigQuery = {
1853
+ __typename?: 'Query';
1854
+ config: Record<string, any>;
1855
+ };
1856
+ export type GetConfigDefaultsQueryVariables = Exact<{
1857
+ [key: string]: never;
1858
+ }>;
1859
+ export type GetConfigDefaultsQuery = {
1860
+ __typename?: 'Query';
1861
+ configDefaults: Record<string, any>;
1862
+ };
1863
+ export type UpdateConfigMutationVariables = Exact<{
1864
+ input: UpdateConfigInput;
1865
+ }>;
1866
+ export type UpdateConfigMutation = {
1867
+ __typename?: 'Mutation';
1868
+ updateConfig: {
1869
+ __typename?: 'UpdateConfigPayload';
1870
+ config: Record<string, any>;
1871
+ };
1872
+ };
1873
+ export type GetSupportedSourceKindsQueryVariables = Exact<{
1874
+ [key: string]: never;
1875
+ }>;
1876
+ export type GetSupportedSourceKindsQuery = {
1877
+ __typename?: 'Query';
1878
+ supportedSourceKinds: Array<string>;
1879
+ };
1880
+ export type GetConnectorRuntimeHealthQueryVariables = Exact<{
1881
+ [key: string]: never;
1882
+ }>;
1883
+ export type GetConnectorRuntimeHealthQuery = {
1884
+ __typename?: 'Query';
1885
+ connectorRuntimeHealth: {
1886
+ __typename?: 'ConnectorRuntimeHealth';
1887
+ isRegistered: boolean;
1888
+ lastHeartbeatAt?: string | null;
1889
+ hasSchemaVersionMatch: boolean;
1890
+ isAuthenticated: boolean;
1891
+ isDiscoveryReady: boolean;
1892
+ message?: string | null;
1893
+ };
1894
+ };
1895
+ export type GetConnectorCollectorStatusesQueryVariables = Exact<{
1896
+ [key: string]: never;
1897
+ }>;
1898
+ export type GetConnectorCollectorStatusesQuery = {
1899
+ __typename?: 'Query';
1900
+ connectorCollectorStatuses: Array<{
1901
+ __typename?: 'ConnectorCollectorStatus';
1902
+ name: string;
1903
+ isHealthy: boolean;
1904
+ message?: string | null;
1905
+ }>;
1906
+ };
1907
+ export type RefreshDiscoveryMutationVariables = Exact<{
1908
+ [key: string]: never;
1909
+ }>;
1910
+ export type RefreshDiscoveryMutation = {
1911
+ __typename?: 'Mutation';
1912
+ refreshDiscovery: boolean;
1913
+ };
1914
+ export type TriggerRollbackMutationVariables = Exact<{
1915
+ id: Scalars['String']['input'];
1916
+ }>;
1917
+ export type TriggerRollbackMutation = {
1918
+ __typename?: 'Mutation';
1919
+ triggerRollback: boolean;
1920
+ };
1921
+ export type RequestCleanupMutationVariables = Exact<{
1922
+ id: Scalars['String']['input'];
1923
+ }>;
1924
+ export type RequestCleanupMutation = {
1925
+ __typename?: 'Mutation';
1926
+ requestCleanup: boolean;
1927
+ };
1928
+ export type DestinationTypeFieldsFragment = {
1929
+ __typename?: 'DestinationType';
1930
+ type: string;
1931
+ displayName: string;
1932
+ imageUrl: string;
1933
+ supportedSignals: {
1934
+ __typename?: 'DestinationSupportedSignals';
1935
+ traces: boolean;
1936
+ metrics: boolean;
1937
+ logs: boolean;
1938
+ profiles: boolean;
1939
+ };
1940
+ fields: Array<{
1941
+ __typename?: 'DestinationField';
1942
+ name: string;
1943
+ displayName: string;
1944
+ componentType: string;
1945
+ componentProperties: string;
1946
+ secret: boolean;
1947
+ initialValue?: string | null;
1948
+ renderCondition?: string | null;
1949
+ hideFromReadData: boolean;
1950
+ customReadDataLabels: Array<{
1951
+ __typename?: 'CustomReadDataLabel';
1952
+ condition: string;
1953
+ title: string;
1954
+ value: string;
1955
+ }>;
1956
+ }>;
1957
+ };
1958
+ export type DestinationFieldsFragment = {
1959
+ __typename?: 'Destination';
1960
+ name: string;
1961
+ type: string;
1962
+ region?: string | null;
1963
+ config?: Record<string, any> | null;
1964
+ signals: Array<TelemetrySignal>;
1965
+ };
1966
+ export type GetDestinationQueryVariables = Exact<{
1967
+ name: Scalars['String']['input'];
1968
+ }>;
1969
+ export type GetDestinationQuery = {
1970
+ __typename?: 'Query';
1971
+ destination?: {
1972
+ __typename?: 'Destination';
1973
+ name: string;
1974
+ type: string;
1975
+ region?: string | null;
1976
+ config?: Record<string, any> | null;
1977
+ signals: Array<TelemetrySignal>;
1978
+ } | null;
1979
+ };
1980
+ export type GetDestinationsQueryVariables = Exact<{
1981
+ [key: string]: never;
1982
+ }>;
1983
+ export type GetDestinationsQuery = {
1984
+ __typename?: 'Query';
1985
+ destinations: Array<{
1986
+ __typename?: 'Destination';
1987
+ name: string;
1988
+ type: string;
1989
+ region?: string | null;
1990
+ config?: Record<string, any> | null;
1991
+ signals: Array<TelemetrySignal>;
1992
+ }>;
1993
+ };
1994
+ export type GetDestinationTypesQueryVariables = Exact<{
1995
+ [key: string]: never;
1996
+ }>;
1997
+ export type GetDestinationTypesQuery = {
1998
+ __typename?: 'Query';
1999
+ destinationTypes: Array<{
2000
+ __typename?: 'DestinationType';
2001
+ type: string;
2002
+ displayName: string;
2003
+ imageUrl: string;
2004
+ supportedSignals: {
2005
+ __typename?: 'DestinationSupportedSignals';
2006
+ traces: boolean;
2007
+ metrics: boolean;
2008
+ logs: boolean;
2009
+ profiles: boolean;
2010
+ };
2011
+ fields: Array<{
2012
+ __typename?: 'DestinationField';
2013
+ name: string;
2014
+ displayName: string;
2015
+ componentType: string;
2016
+ componentProperties: string;
2017
+ secret: boolean;
2018
+ initialValue?: string | null;
2019
+ renderCondition?: string | null;
2020
+ hideFromReadData: boolean;
2021
+ customReadDataLabels: Array<{
2022
+ __typename?: 'CustomReadDataLabel';
2023
+ condition: string;
2024
+ title: string;
2025
+ value: string;
2026
+ }>;
2027
+ }>;
2028
+ }>;
2029
+ };
2030
+ export type CreateDestinationMutationVariables = Exact<{
2031
+ input: CreateDestinationInput;
2032
+ }>;
2033
+ export type CreateDestinationMutation = {
2034
+ __typename?: 'Mutation';
2035
+ createDestination: {
2036
+ __typename?: 'Destination';
2037
+ name: string;
2038
+ type: string;
2039
+ region?: string | null;
2040
+ config?: Record<string, any> | null;
2041
+ signals: Array<TelemetrySignal>;
2042
+ };
2043
+ };
2044
+ export type UpdateDestinationMutationVariables = Exact<{
2045
+ input: UpdateDestinationInput;
2046
+ }>;
2047
+ export type UpdateDestinationMutation = {
2048
+ __typename?: 'Mutation';
2049
+ updateDestination: {
2050
+ __typename?: 'Destination';
2051
+ name: string;
2052
+ type: string;
2053
+ region?: string | null;
2054
+ config?: Record<string, any> | null;
2055
+ signals: Array<TelemetrySignal>;
2056
+ };
2057
+ };
2058
+ export type DeleteDestinationMutationVariables = Exact<{
2059
+ input: DeleteDestinationInput;
2060
+ }>;
2061
+ export type DeleteDestinationMutation = {
2062
+ __typename?: 'Mutation';
2063
+ deleteDestination: {
2064
+ __typename?: 'DeleteDestinationPayload';
2065
+ name: string;
2066
+ deleted: boolean;
2067
+ };
2068
+ };
2069
+ export type TestConnectionMutationVariables = Exact<{
2070
+ input: TestConnectionDestinationInput;
2071
+ }>;
2072
+ export type TestConnectionMutation = {
2073
+ __typename?: 'Mutation';
2074
+ testConnectionForDestination: {
2075
+ __typename?: 'TestConnectionResponse';
2076
+ succeeded: boolean;
2077
+ statusCode: number;
2078
+ destinationType?: string | null;
2079
+ message?: string | null;
2080
+ reason?: string | null;
2081
+ };
2082
+ };
2083
+ export type GenerateDiagnoseBundleMutationVariables = Exact<{
2084
+ includeContent?: InputMaybe<Scalars['Boolean']['input']>;
2085
+ }>;
2086
+ export type GenerateDiagnoseBundleMutation = {
2087
+ __typename?: 'Mutation';
2088
+ generateDiagnoseBundle: {
2089
+ __typename?: 'DiagnoseBundle';
2090
+ id: string;
2091
+ filePath: string;
2092
+ createdAt: string;
2093
+ sizeBytes?: number | null;
2094
+ contentBase64?: string | null;
2095
+ error?: string | null;
2096
+ };
2097
+ };
2098
+ export type InstructionDocumentFieldsFragment = {
2099
+ __typename?: 'InstructionDocument';
2100
+ id: string;
2101
+ variant: string;
2102
+ variantLabel: string;
2103
+ title: string;
2104
+ description: string;
2105
+ steps: Array<string>;
2106
+ format: string;
2107
+ content: string;
2108
+ unresolved?: Array<{
2109
+ __typename?: 'InstructionInput';
2110
+ placeholder: string;
2111
+ description: string;
2112
+ }> | null;
2113
+ };
2114
+ export type InstrumentationInstructionsFieldsFragment = {
2115
+ __typename?: 'InstrumentationInstructions';
2116
+ serviceName: string;
2117
+ kind: string;
2118
+ region?: string | null;
2119
+ mode: string;
2120
+ notes: Array<string>;
2121
+ updatedAt: string;
2122
+ documents: Array<{
2123
+ __typename?: 'InstructionDocument';
2124
+ id: string;
2125
+ variant: string;
2126
+ variantLabel: string;
2127
+ title: string;
2128
+ description: string;
2129
+ steps: Array<string>;
2130
+ format: string;
2131
+ content: string;
2132
+ unresolved?: Array<{
2133
+ __typename?: 'InstructionInput';
2134
+ placeholder: string;
2135
+ description: string;
2136
+ }> | null;
2137
+ }>;
2138
+ };
2139
+ export type GetInstrumentationInstructionsQueryVariables = Exact<{
2140
+ serviceName: Scalars['String']['input'];
2141
+ kind: Scalars['String']['input'];
2142
+ region?: InputMaybe<Scalars['String']['input']>;
2143
+ }>;
2144
+ export type GetInstrumentationInstructionsQuery = {
2145
+ __typename?: 'Query';
2146
+ instrumentationInstructions?: {
2147
+ __typename?: 'InstrumentationInstructions';
2148
+ serviceName: string;
2149
+ kind: string;
2150
+ region?: string | null;
2151
+ mode: string;
2152
+ notes: Array<string>;
2153
+ updatedAt: string;
2154
+ documents: Array<{
2155
+ __typename?: 'InstructionDocument';
2156
+ id: string;
2157
+ variant: string;
2158
+ variantLabel: string;
2159
+ title: string;
2160
+ description: string;
2161
+ steps: Array<string>;
2162
+ format: string;
2163
+ content: string;
2164
+ unresolved?: Array<{
2165
+ __typename?: 'InstructionInput';
2166
+ placeholder: string;
2167
+ description: string;
2168
+ }> | null;
2169
+ }>;
2170
+ } | null;
2171
+ };
2172
+ export type InstrumentationRuleTypeFieldsFragment = {
2173
+ __typename?: 'InstrumentationRuleTypeOption';
2174
+ type: string;
2175
+ displayName: string;
2176
+ description: string;
2177
+ supportedLanguages: Array<string>;
2178
+ docsUrl: string;
2179
+ fields: Array<{
2180
+ __typename?: 'InstrumentationRuleField';
2181
+ name: string;
2182
+ displayName: string;
2183
+ componentType: string;
2184
+ componentProperties: string;
2185
+ initialValue?: string | null;
2186
+ renderCondition?: string | null;
2187
+ }>;
2188
+ };
2189
+ export type GetInstrumentationRuleTypesQueryVariables = Exact<{
2190
+ [key: string]: never;
2191
+ }>;
2192
+ export type GetInstrumentationRuleTypesQuery = {
2193
+ __typename?: 'Query';
2194
+ instrumentationRuleTypes: Array<{
2195
+ __typename?: 'InstrumentationRuleTypeOption';
2196
+ type: string;
2197
+ displayName: string;
2198
+ description: string;
2199
+ supportedLanguages: Array<string>;
2200
+ docsUrl: string;
2201
+ fields: Array<{
2202
+ __typename?: 'InstrumentationRuleField';
2203
+ name: string;
2204
+ displayName: string;
2205
+ componentType: string;
2206
+ componentProperties: string;
2207
+ initialValue?: string | null;
2208
+ renderCondition?: string | null;
2209
+ }>;
2210
+ }>;
2211
+ };
2212
+ type InstrumentationRuleFields_CodeAttributesRule_Fragment = {
2213
+ __typename: 'CodeAttributesRule';
2214
+ name: string;
2215
+ ruleType: RuleType;
2216
+ enabled: boolean;
2217
+ notes?: string | null;
2218
+ config?: {
2219
+ __typename?: 'CodeAttributesConfig';
2220
+ collectFilePath?: boolean | null;
2221
+ collectFunction?: boolean | null;
2222
+ collectLineNumber?: boolean | null;
2223
+ collectColumn?: boolean | null;
2224
+ collectNamespace?: boolean | null;
2225
+ collectStacktrace?: boolean | null;
2226
+ } | null;
2227
+ };
2228
+ type InstrumentationRuleFields_CustomInstrumentationRule_Fragment = {
2229
+ __typename: 'CustomInstrumentationRule';
2230
+ name: string;
2231
+ ruleType: RuleType;
2232
+ enabled: boolean;
2233
+ notes?: string | null;
2234
+ config?: {
2235
+ __typename?: 'CustomInstrumentationConfig';
2236
+ java?: Array<{
2237
+ __typename?: 'JavaProbe';
2238
+ className: string;
2239
+ methodName: string;
2240
+ }> | null;
2241
+ golang?: Array<{
2242
+ __typename?: 'GolangProbe';
2243
+ packageName: string;
2244
+ functionName?: string | null;
2245
+ receiverName?: string | null;
2246
+ receiverMethodName?: string | null;
2247
+ }> | null;
2248
+ cpp?: Array<{
2249
+ __typename?: 'CppProbe';
2250
+ signature: string;
2251
+ }> | null;
2252
+ } | null;
2253
+ };
2254
+ type InstrumentationRuleFields_HeadersCollectionRule_Fragment = {
2255
+ __typename: 'HeadersCollectionRule';
2256
+ name: string;
2257
+ ruleType: RuleType;
2258
+ enabled: boolean;
2259
+ notes?: string | null;
2260
+ config?: {
2261
+ __typename?: 'HeadersCollectionConfig';
2262
+ headerKeys: Array<string>;
2263
+ } | null;
2264
+ };
2265
+ type InstrumentationRuleFields_PayloadCollectionRule_Fragment = {
2266
+ __typename: 'PayloadCollectionRule';
2267
+ name: string;
2268
+ ruleType: RuleType;
2269
+ enabled: boolean;
2270
+ notes?: string | null;
2271
+ config?: {
2272
+ __typename?: 'PayloadCollectionConfig';
2273
+ collectHttpRequest?: boolean | null;
2274
+ collectHttpResponse?: boolean | null;
2275
+ collectDbQuery?: boolean | null;
2276
+ collectMessaging?: boolean | null;
2277
+ } | null;
2278
+ };
2279
+ export type InstrumentationRuleFieldsFragment = InstrumentationRuleFields_CodeAttributesRule_Fragment | InstrumentationRuleFields_CustomInstrumentationRule_Fragment | InstrumentationRuleFields_HeadersCollectionRule_Fragment | InstrumentationRuleFields_PayloadCollectionRule_Fragment;
2280
+ export type GetInstrumentationRuleQueryVariables = Exact<{
2281
+ name: Scalars['String']['input'];
2282
+ }>;
2283
+ export type GetInstrumentationRuleQuery = {
2284
+ __typename?: 'Query';
2285
+ instrumentationRule?: {
2286
+ __typename: 'CodeAttributesRule';
2287
+ name: string;
2288
+ ruleType: RuleType;
2289
+ enabled: boolean;
2290
+ notes?: string | null;
2291
+ config?: {
2292
+ __typename?: 'CodeAttributesConfig';
2293
+ collectFilePath?: boolean | null;
2294
+ collectFunction?: boolean | null;
2295
+ collectLineNumber?: boolean | null;
2296
+ collectColumn?: boolean | null;
2297
+ collectNamespace?: boolean | null;
2298
+ collectStacktrace?: boolean | null;
2299
+ } | null;
2300
+ } | {
2301
+ __typename: 'CustomInstrumentationRule';
2302
+ name: string;
2303
+ ruleType: RuleType;
2304
+ enabled: boolean;
2305
+ notes?: string | null;
2306
+ config?: {
2307
+ __typename?: 'CustomInstrumentationConfig';
2308
+ java?: Array<{
2309
+ __typename?: 'JavaProbe';
2310
+ className: string;
2311
+ methodName: string;
2312
+ }> | null;
2313
+ golang?: Array<{
2314
+ __typename?: 'GolangProbe';
2315
+ packageName: string;
2316
+ functionName?: string | null;
2317
+ receiverName?: string | null;
2318
+ receiverMethodName?: string | null;
2319
+ }> | null;
2320
+ cpp?: Array<{
2321
+ __typename?: 'CppProbe';
2322
+ signature: string;
2323
+ }> | null;
2324
+ } | null;
2325
+ } | {
2326
+ __typename: 'HeadersCollectionRule';
2327
+ name: string;
2328
+ ruleType: RuleType;
2329
+ enabled: boolean;
2330
+ notes?: string | null;
2331
+ config?: {
2332
+ __typename?: 'HeadersCollectionConfig';
2333
+ headerKeys: Array<string>;
2334
+ } | null;
2335
+ } | {
2336
+ __typename: 'PayloadCollectionRule';
2337
+ name: string;
2338
+ ruleType: RuleType;
2339
+ enabled: boolean;
2340
+ notes?: string | null;
2341
+ config?: {
2342
+ __typename?: 'PayloadCollectionConfig';
2343
+ collectHttpRequest?: boolean | null;
2344
+ collectHttpResponse?: boolean | null;
2345
+ collectDbQuery?: boolean | null;
2346
+ collectMessaging?: boolean | null;
2347
+ } | null;
2348
+ } | null;
2349
+ };
2350
+ export type GetInstrumentationRulesQueryVariables = Exact<{
2351
+ [key: string]: never;
2352
+ }>;
2353
+ export type GetInstrumentationRulesQuery = {
2354
+ __typename?: 'Query';
2355
+ instrumentationRules: Array<{
2356
+ __typename: 'CodeAttributesRule';
2357
+ name: string;
2358
+ ruleType: RuleType;
2359
+ enabled: boolean;
2360
+ notes?: string | null;
2361
+ config?: {
2362
+ __typename?: 'CodeAttributesConfig';
2363
+ collectFilePath?: boolean | null;
2364
+ collectFunction?: boolean | null;
2365
+ collectLineNumber?: boolean | null;
2366
+ collectColumn?: boolean | null;
2367
+ collectNamespace?: boolean | null;
2368
+ collectStacktrace?: boolean | null;
2369
+ } | null;
2370
+ } | {
2371
+ __typename: 'CustomInstrumentationRule';
2372
+ name: string;
2373
+ ruleType: RuleType;
2374
+ enabled: boolean;
2375
+ notes?: string | null;
2376
+ config?: {
2377
+ __typename?: 'CustomInstrumentationConfig';
2378
+ java?: Array<{
2379
+ __typename?: 'JavaProbe';
2380
+ className: string;
2381
+ methodName: string;
2382
+ }> | null;
2383
+ golang?: Array<{
2384
+ __typename?: 'GolangProbe';
2385
+ packageName: string;
2386
+ functionName?: string | null;
2387
+ receiverName?: string | null;
2388
+ receiverMethodName?: string | null;
2389
+ }> | null;
2390
+ cpp?: Array<{
2391
+ __typename?: 'CppProbe';
2392
+ signature: string;
2393
+ }> | null;
2394
+ } | null;
2395
+ } | {
2396
+ __typename: 'HeadersCollectionRule';
2397
+ name: string;
2398
+ ruleType: RuleType;
2399
+ enabled: boolean;
2400
+ notes?: string | null;
2401
+ config?: {
2402
+ __typename?: 'HeadersCollectionConfig';
2403
+ headerKeys: Array<string>;
2404
+ } | null;
2405
+ } | {
2406
+ __typename: 'PayloadCollectionRule';
2407
+ name: string;
2408
+ ruleType: RuleType;
2409
+ enabled: boolean;
2410
+ notes?: string | null;
2411
+ config?: {
2412
+ __typename?: 'PayloadCollectionConfig';
2413
+ collectHttpRequest?: boolean | null;
2414
+ collectHttpResponse?: boolean | null;
2415
+ collectDbQuery?: boolean | null;
2416
+ collectMessaging?: boolean | null;
2417
+ } | null;
2418
+ }>;
2419
+ };
2420
+ export type CreateInstrumentationRuleMutationVariables = Exact<{
2421
+ input: CreateInstrumentationRuleInput;
2422
+ }>;
2423
+ export type CreateInstrumentationRuleMutation = {
2424
+ __typename?: 'Mutation';
2425
+ createInstrumentationRule: {
2426
+ __typename: 'CodeAttributesRule';
2427
+ name: string;
2428
+ ruleType: RuleType;
2429
+ enabled: boolean;
2430
+ notes?: string | null;
2431
+ config?: {
2432
+ __typename?: 'CodeAttributesConfig';
2433
+ collectFilePath?: boolean | null;
2434
+ collectFunction?: boolean | null;
2435
+ collectLineNumber?: boolean | null;
2436
+ collectColumn?: boolean | null;
2437
+ collectNamespace?: boolean | null;
2438
+ collectStacktrace?: boolean | null;
2439
+ } | null;
2440
+ } | {
2441
+ __typename: 'CustomInstrumentationRule';
2442
+ name: string;
2443
+ ruleType: RuleType;
2444
+ enabled: boolean;
2445
+ notes?: string | null;
2446
+ config?: {
2447
+ __typename?: 'CustomInstrumentationConfig';
2448
+ java?: Array<{
2449
+ __typename?: 'JavaProbe';
2450
+ className: string;
2451
+ methodName: string;
2452
+ }> | null;
2453
+ golang?: Array<{
2454
+ __typename?: 'GolangProbe';
2455
+ packageName: string;
2456
+ functionName?: string | null;
2457
+ receiverName?: string | null;
2458
+ receiverMethodName?: string | null;
2459
+ }> | null;
2460
+ cpp?: Array<{
2461
+ __typename?: 'CppProbe';
2462
+ signature: string;
2463
+ }> | null;
2464
+ } | null;
2465
+ } | {
2466
+ __typename: 'HeadersCollectionRule';
2467
+ name: string;
2468
+ ruleType: RuleType;
2469
+ enabled: boolean;
2470
+ notes?: string | null;
2471
+ config?: {
2472
+ __typename?: 'HeadersCollectionConfig';
2473
+ headerKeys: Array<string>;
2474
+ } | null;
2475
+ } | {
2476
+ __typename: 'PayloadCollectionRule';
2477
+ name: string;
2478
+ ruleType: RuleType;
2479
+ enabled: boolean;
2480
+ notes?: string | null;
2481
+ config?: {
2482
+ __typename?: 'PayloadCollectionConfig';
2483
+ collectHttpRequest?: boolean | null;
2484
+ collectHttpResponse?: boolean | null;
2485
+ collectDbQuery?: boolean | null;
2486
+ collectMessaging?: boolean | null;
2487
+ } | null;
2488
+ };
2489
+ };
2490
+ export type UpdateInstrumentationRuleMutationVariables = Exact<{
2491
+ input: UpdateInstrumentationRuleInput;
2492
+ }>;
2493
+ export type UpdateInstrumentationRuleMutation = {
2494
+ __typename?: 'Mutation';
2495
+ updateInstrumentationRule: {
2496
+ __typename: 'CodeAttributesRule';
2497
+ name: string;
2498
+ ruleType: RuleType;
2499
+ enabled: boolean;
2500
+ notes?: string | null;
2501
+ config?: {
2502
+ __typename?: 'CodeAttributesConfig';
2503
+ collectFilePath?: boolean | null;
2504
+ collectFunction?: boolean | null;
2505
+ collectLineNumber?: boolean | null;
2506
+ collectColumn?: boolean | null;
2507
+ collectNamespace?: boolean | null;
2508
+ collectStacktrace?: boolean | null;
2509
+ } | null;
2510
+ } | {
2511
+ __typename: 'CustomInstrumentationRule';
2512
+ name: string;
2513
+ ruleType: RuleType;
2514
+ enabled: boolean;
2515
+ notes?: string | null;
2516
+ config?: {
2517
+ __typename?: 'CustomInstrumentationConfig';
2518
+ java?: Array<{
2519
+ __typename?: 'JavaProbe';
2520
+ className: string;
2521
+ methodName: string;
2522
+ }> | null;
2523
+ golang?: Array<{
2524
+ __typename?: 'GolangProbe';
2525
+ packageName: string;
2526
+ functionName?: string | null;
2527
+ receiverName?: string | null;
2528
+ receiverMethodName?: string | null;
2529
+ }> | null;
2530
+ cpp?: Array<{
2531
+ __typename?: 'CppProbe';
2532
+ signature: string;
2533
+ }> | null;
2534
+ } | null;
2535
+ } | {
2536
+ __typename: 'HeadersCollectionRule';
2537
+ name: string;
2538
+ ruleType: RuleType;
2539
+ enabled: boolean;
2540
+ notes?: string | null;
2541
+ config?: {
2542
+ __typename?: 'HeadersCollectionConfig';
2543
+ headerKeys: Array<string>;
2544
+ } | null;
2545
+ } | {
2546
+ __typename: 'PayloadCollectionRule';
2547
+ name: string;
2548
+ ruleType: RuleType;
2549
+ enabled: boolean;
2550
+ notes?: string | null;
2551
+ config?: {
2552
+ __typename?: 'PayloadCollectionConfig';
2553
+ collectHttpRequest?: boolean | null;
2554
+ collectHttpResponse?: boolean | null;
2555
+ collectDbQuery?: boolean | null;
2556
+ collectMessaging?: boolean | null;
2557
+ } | null;
2558
+ };
2559
+ };
2560
+ export type DeleteInstrumentationRuleMutationVariables = Exact<{
2561
+ input: DeleteInstrumentationRuleInput;
2562
+ }>;
2563
+ export type DeleteInstrumentationRuleMutation = {
2564
+ __typename?: 'Mutation';
2565
+ deleteInstrumentationRule: {
2566
+ __typename?: 'DeleteInstrumentationRulePayload';
2567
+ name: string;
2568
+ deleted: boolean;
2569
+ };
2570
+ };
2571
+ export type UpdateOnPremLicenseMutationVariables = Exact<{
2572
+ token: Scalars['String']['input'];
2573
+ }>;
2574
+ export type UpdateOnPremLicenseMutation = {
2575
+ __typename?: 'Mutation';
2576
+ updateOnPremLicense: boolean;
2577
+ };
2578
+ export type PipelineCountersQueryVariables = Exact<{
2579
+ [key: string]: never;
2580
+ }>;
2581
+ export type PipelineCountersQuery = {
2582
+ __typename?: 'Query';
2583
+ pipelineCounters: {
2584
+ __typename?: 'PipelineCounters';
2585
+ otelcolHealthy: boolean;
2586
+ scrapedAt: string;
2587
+ scrapeError?: string | null;
2588
+ destinations: Array<{
2589
+ __typename?: 'DestinationCounters';
2590
+ exporter: string;
2591
+ traces: {
2592
+ __typename?: 'DestinationSignal';
2593
+ sent: number;
2594
+ failed: number;
2595
+ queue: number;
2596
+ };
2597
+ metrics: {
2598
+ __typename?: 'DestinationSignal';
2599
+ sent: number;
2600
+ failed: number;
2601
+ queue: number;
2602
+ };
2603
+ logs: {
2604
+ __typename?: 'DestinationSignal';
2605
+ sent: number;
2606
+ failed: number;
2607
+ queue: number;
2608
+ };
2609
+ profiles: {
2610
+ __typename?: 'DestinationSignal';
2611
+ sent: number;
2612
+ failed: number;
2613
+ queue: number;
2614
+ };
2615
+ }>;
2616
+ };
2617
+ };
2618
+ export type ProfileHotFunctionsQueryVariables = Exact<{
2619
+ topN?: InputMaybe<Scalars['Int']['input']>;
2620
+ }>;
2621
+ export type ProfileHotFunctionsQuery = {
2622
+ __typename?: 'Query';
2623
+ profileHotFunctions: {
2624
+ __typename?: 'HotFunctionsResult';
2625
+ enabled: boolean;
2626
+ dynamicInstrumentation: boolean;
2627
+ services: Array<{
2628
+ __typename?: 'ServiceHotFunctions';
2629
+ service: string;
2630
+ totalNanos: number;
2631
+ language?: string | null;
2632
+ functions: Array<{
2633
+ __typename?: 'HotFunction';
2634
+ name: string;
2635
+ self: number;
2636
+ total: number;
2637
+ module: string;
2638
+ buildId?: string | null;
2639
+ offset?: number | null;
2640
+ size?: number | null;
2641
+ instrumentable?: string | null;
2642
+ }>;
2643
+ }>;
2644
+ cache?: {
2645
+ __typename?: 'ProfileCacheStats';
2646
+ services: number;
2647
+ totalBytes: number;
2648
+ maxSlots: number;
2649
+ slotMaxBytes: number;
2650
+ maxTotalBytesBudget: number;
2651
+ evictedSlotsTotal: number;
2652
+ slotTtlSeconds: number;
2653
+ } | null;
2654
+ host?: {
2655
+ __typename?: 'HostInfo';
2656
+ os: string;
2657
+ kernel: string;
2658
+ arch: string;
2659
+ hostname: string;
2660
+ } | null;
2661
+ };
2662
+ };
2663
+ export type ProfileBundleStatusQueryVariables = Exact<{
2664
+ jobId: Scalars['String']['input'];
2665
+ }>;
2666
+ export type ProfileBundleStatusQuery = {
2667
+ __typename?: 'Query';
2668
+ profileBundleStatus: {
2669
+ __typename?: 'ProfileBundleStatus';
2670
+ id: string;
2671
+ state: string;
2672
+ startedAt: string;
2673
+ durationSec: number;
2674
+ elapsedSec: number;
2675
+ filePath?: string | null;
2676
+ sampleBytes?: number | null;
2677
+ error?: string | null;
2678
+ errorKind?: string | null;
2679
+ };
2680
+ };
2681
+ export type GenerateProfileBundleMutationVariables = Exact<{
2682
+ durationSeconds?: InputMaybe<Scalars['Int']['input']>;
2683
+ service?: InputMaybe<Scalars['String']['input']>;
2684
+ }>;
2685
+ export type GenerateProfileBundleMutation = {
2686
+ __typename?: 'Mutation';
2687
+ generateProfileBundle: {
2688
+ __typename?: 'ProfileBundle';
2689
+ id: string;
2690
+ filePath: string;
2691
+ createdAt: string;
2692
+ durationSec: number;
2693
+ sampleBytes: number;
2694
+ error?: string | null;
2695
+ errorKind?: string | null;
2696
+ };
2697
+ };
2698
+ export type StartBackgroundProfileBundleMutationVariables = Exact<{
2699
+ durationSeconds?: InputMaybe<Scalars['Int']['input']>;
2700
+ service?: InputMaybe<Scalars['String']['input']>;
2701
+ }>;
2702
+ export type StartBackgroundProfileBundleMutation = {
2703
+ __typename?: 'Mutation';
2704
+ startBackgroundProfileBundle: {
2705
+ __typename?: 'ProfileBundleStatus';
2706
+ id: string;
2707
+ state: string;
2708
+ startedAt: string;
2709
+ durationSec: number;
2710
+ elapsedSec: number;
2711
+ filePath?: string | null;
2712
+ sampleBytes?: number | null;
2713
+ error?: string | null;
2714
+ errorKind?: string | null;
2715
+ };
2716
+ };
2717
+ export type CancelProfileBundleMutationVariables = Exact<{
2718
+ jobId: Scalars['String']['input'];
2719
+ }>;
2720
+ export type CancelProfileBundleMutation = {
2721
+ __typename?: 'Mutation';
2722
+ cancelProfileBundle: boolean;
2723
+ };
2724
+ export type ClearProfileCacheMutationVariables = Exact<{
2725
+ [key: string]: never;
2726
+ }>;
2727
+ export type ClearProfileCacheMutation = {
2728
+ __typename?: 'Mutation';
2729
+ clearProfileCache: boolean;
2730
+ };
2731
+ export type ProfilingSlotsQueryVariables = Exact<{
2732
+ [key: string]: never;
2733
+ }>;
2734
+ export type ProfilingSlotsQuery = {
2735
+ __typename?: 'Query';
2736
+ profilingSlots: {
2737
+ __typename?: 'ProfilingSlots';
2738
+ activeKeys: Array<string>;
2739
+ keysWithData: Array<string>;
2740
+ cache: {
2741
+ __typename?: 'ProfileCacheStats';
2742
+ services: number;
2743
+ totalBytes: number;
2744
+ maxSlots: number;
2745
+ slotMaxBytes: number;
2746
+ maxTotalBytesBudget: number;
2747
+ evictedSlotsTotal: number;
2748
+ slotTtlSeconds: number;
2749
+ };
2750
+ };
2751
+ };
2752
+ export type SourceProfileQueryVariables = Exact<{
2753
+ service: Scalars['String']['input'];
2754
+ }>;
2755
+ export type SourceProfileQuery = {
2756
+ __typename?: 'Query';
2757
+ sourceProfile: {
2758
+ __typename?: 'SourceProfilingResult';
2759
+ profileJson: string;
2760
+ };
2761
+ };
2762
+ export type EnableSourceProfilingMutationVariables = Exact<{
2763
+ service: Scalars['String']['input'];
2764
+ }>;
2765
+ export type EnableSourceProfilingMutation = {
2766
+ __typename?: 'Mutation';
2767
+ enableSourceProfiling: {
2768
+ __typename?: 'SlotResult';
2769
+ status: string;
2770
+ sourceKey: string;
2771
+ activeSlots: number;
2772
+ maxSlots: number;
2773
+ };
2774
+ };
2775
+ export type DisableSourceProfilingMutationVariables = Exact<{
2776
+ service: Scalars['String']['input'];
2777
+ }>;
2778
+ export type DisableSourceProfilingMutation = {
2779
+ __typename?: 'Mutation';
2780
+ disableSourceProfiling: {
2781
+ __typename?: 'SlotResult';
2782
+ status: string;
2783
+ sourceKey: string;
2784
+ activeSlots: number;
2785
+ maxSlots: number;
2786
+ };
2787
+ };
2788
+ export type ClearSourceProfilingBufferMutationVariables = Exact<{
2789
+ service: Scalars['String']['input'];
2790
+ }>;
2791
+ export type ClearSourceProfilingBufferMutation = {
2792
+ __typename?: 'Mutation';
2793
+ clearSourceProfilingBuffer: {
2794
+ __typename?: 'SlotResult';
2795
+ status: string;
2796
+ sourceKey: string;
2797
+ activeSlots: number;
2798
+ maxSlots: number;
2799
+ };
2800
+ };
2801
+ export type ConfigureProfilingCacheMutationVariables = Exact<{
2802
+ maxSlots?: InputMaybe<Scalars['Int']['input']>;
2803
+ slotMaxBytes?: InputMaybe<Scalars['Int']['input']>;
2804
+ slotTTLSeconds?: InputMaybe<Scalars['Int']['input']>;
2805
+ }>;
2806
+ export type ConfigureProfilingCacheMutation = {
2807
+ __typename?: 'Mutation';
2808
+ configureProfilingCache: {
2809
+ __typename?: 'ProfilingSlots';
2810
+ activeKeys: Array<string>;
2811
+ keysWithData: Array<string>;
2812
+ cache: {
2813
+ __typename?: 'ProfileCacheStats';
2814
+ services: number;
2815
+ totalBytes: number;
2816
+ maxSlots: number;
2817
+ slotMaxBytes: number;
2818
+ maxTotalBytesBudget: number;
2819
+ evictedSlotsTotal: number;
2820
+ slotTtlSeconds: number;
2821
+ };
2822
+ };
2823
+ };
2824
+ export type ContainerOverrideFieldsFragment = {
2825
+ __typename?: 'ContainerOverride';
2826
+ containerName: string;
2827
+ disabled?: boolean | null;
2828
+ runtimeOverride?: {
2829
+ __typename?: 'RuntimeOverride';
2830
+ language?: string | null;
2831
+ version?: string | null;
2832
+ } | null;
2833
+ distroOverride?: {
2834
+ __typename?: 'DistroOverride';
2835
+ otelDistroName?: string | null;
2836
+ } | null;
2837
+ };
2838
+ export type GetSourceQueryVariables = Exact<{
2839
+ name: Scalars['String']['input'];
2840
+ }>;
2841
+ export type GetSourceQuery = {
2842
+ __typename?: 'Query';
2843
+ source?: {
2844
+ __typename?: 'Source';
2845
+ name: string;
2846
+ kind: string;
2847
+ serviceName?: string | null;
2848
+ region?: string | null;
2849
+ enabled: boolean;
2850
+ config?: {
2851
+ __typename?: 'SourceConfig';
2852
+ runtimeOverride?: {
2853
+ __typename?: 'RuntimeOverride';
2854
+ language?: string | null;
2855
+ version?: string | null;
2856
+ } | null;
2857
+ distroOverride?: {
2858
+ __typename?: 'DistroOverride';
2859
+ otelDistroName?: string | null;
2860
+ } | null;
2861
+ serviceNameOverride?: {
2862
+ __typename?: 'ServiceNameOverride';
2863
+ serviceName?: string | null;
2864
+ } | null;
2865
+ ecs?: {
2866
+ __typename?: 'EcsSourceConfig';
2867
+ containerOverrides?: Array<{
2868
+ __typename?: 'ContainerOverride';
2869
+ containerName: string;
2870
+ disabled?: boolean | null;
2871
+ runtimeOverride?: {
2872
+ __typename?: 'RuntimeOverride';
2873
+ language?: string | null;
2874
+ version?: string | null;
2875
+ } | null;
2876
+ distroOverride?: {
2877
+ __typename?: 'DistroOverride';
2878
+ otelDistroName?: string | null;
2879
+ } | null;
2880
+ }> | null;
2881
+ } | null;
2882
+ docker?: {
2883
+ __typename?: 'DockerSourceConfig';
2884
+ containerOverrides?: Array<{
2885
+ __typename?: 'ContainerOverride';
2886
+ containerName: string;
2887
+ disabled?: boolean | null;
2888
+ runtimeOverride?: {
2889
+ __typename?: 'RuntimeOverride';
2890
+ language?: string | null;
2891
+ version?: string | null;
2892
+ } | null;
2893
+ distroOverride?: {
2894
+ __typename?: 'DistroOverride';
2895
+ otelDistroName?: string | null;
2896
+ } | null;
2897
+ }> | null;
2898
+ } | null;
2899
+ } | null;
2900
+ } | null;
2901
+ };
2902
+ export type GetSourcesQueryVariables = Exact<{
2903
+ [key: string]: never;
2904
+ }>;
2905
+ export type GetSourcesQuery = {
2906
+ __typename?: 'Query';
2907
+ sources: Array<{
2908
+ __typename?: 'Source';
2909
+ name: string;
2910
+ kind: string;
2911
+ serviceName?: string | null;
2912
+ region?: string | null;
2913
+ enabled: boolean;
2914
+ config?: {
2915
+ __typename?: 'SourceConfig';
2916
+ runtimeOverride?: {
2917
+ __typename?: 'RuntimeOverride';
2918
+ language?: string | null;
2919
+ version?: string | null;
2920
+ } | null;
2921
+ distroOverride?: {
2922
+ __typename?: 'DistroOverride';
2923
+ otelDistroName?: string | null;
2924
+ } | null;
2925
+ serviceNameOverride?: {
2926
+ __typename?: 'ServiceNameOverride';
2927
+ serviceName?: string | null;
2928
+ } | null;
2929
+ ecs?: {
2930
+ __typename?: 'EcsSourceConfig';
2931
+ containerOverrides?: Array<{
2932
+ __typename?: 'ContainerOverride';
2933
+ containerName: string;
2934
+ disabled?: boolean | null;
2935
+ runtimeOverride?: {
2936
+ __typename?: 'RuntimeOverride';
2937
+ language?: string | null;
2938
+ version?: string | null;
2939
+ } | null;
2940
+ distroOverride?: {
2941
+ __typename?: 'DistroOverride';
2942
+ otelDistroName?: string | null;
2943
+ } | null;
2944
+ }> | null;
2945
+ } | null;
2946
+ docker?: {
2947
+ __typename?: 'DockerSourceConfig';
2948
+ containerOverrides?: Array<{
2949
+ __typename?: 'ContainerOverride';
2950
+ containerName: string;
2951
+ disabled?: boolean | null;
2952
+ runtimeOverride?: {
2953
+ __typename?: 'RuntimeOverride';
2954
+ language?: string | null;
2955
+ version?: string | null;
2956
+ } | null;
2957
+ distroOverride?: {
2958
+ __typename?: 'DistroOverride';
2959
+ otelDistroName?: string | null;
2960
+ } | null;
2961
+ }> | null;
2962
+ } | null;
2963
+ } | null;
2964
+ }>;
2965
+ };
2966
+ export type CreateSourceMutationVariables = Exact<{
2967
+ input: CreateSourceInput;
2968
+ }>;
2969
+ export type CreateSourceMutation = {
2970
+ __typename?: 'Mutation';
2971
+ createSource: {
2972
+ __typename?: 'Source';
2973
+ name: string;
2974
+ kind: string;
2975
+ serviceName?: string | null;
2976
+ region?: string | null;
2977
+ enabled: boolean;
2978
+ config?: {
2979
+ __typename?: 'SourceConfig';
2980
+ runtimeOverride?: {
2981
+ __typename?: 'RuntimeOverride';
2982
+ language?: string | null;
2983
+ version?: string | null;
2984
+ } | null;
2985
+ distroOverride?: {
2986
+ __typename?: 'DistroOverride';
2987
+ otelDistroName?: string | null;
2988
+ } | null;
2989
+ serviceNameOverride?: {
2990
+ __typename?: 'ServiceNameOverride';
2991
+ serviceName?: string | null;
2992
+ } | null;
2993
+ ecs?: {
2994
+ __typename?: 'EcsSourceConfig';
2995
+ containerOverrides?: Array<{
2996
+ __typename?: 'ContainerOverride';
2997
+ containerName: string;
2998
+ disabled?: boolean | null;
2999
+ runtimeOverride?: {
3000
+ __typename?: 'RuntimeOverride';
3001
+ language?: string | null;
3002
+ version?: string | null;
3003
+ } | null;
3004
+ distroOverride?: {
3005
+ __typename?: 'DistroOverride';
3006
+ otelDistroName?: string | null;
3007
+ } | null;
3008
+ }> | null;
3009
+ } | null;
3010
+ docker?: {
3011
+ __typename?: 'DockerSourceConfig';
3012
+ containerOverrides?: Array<{
3013
+ __typename?: 'ContainerOverride';
3014
+ containerName: string;
3015
+ disabled?: boolean | null;
3016
+ runtimeOverride?: {
3017
+ __typename?: 'RuntimeOverride';
3018
+ language?: string | null;
3019
+ version?: string | null;
3020
+ } | null;
3021
+ distroOverride?: {
3022
+ __typename?: 'DistroOverride';
3023
+ otelDistroName?: string | null;
3024
+ } | null;
3025
+ }> | null;
3026
+ } | null;
3027
+ } | null;
3028
+ };
3029
+ };
3030
+ export type UpdateSourceMutationVariables = Exact<{
3031
+ input: UpdateSourceInput;
3032
+ }>;
3033
+ export type UpdateSourceMutation = {
3034
+ __typename?: 'Mutation';
3035
+ updateSource: {
3036
+ __typename?: 'Source';
3037
+ name: string;
3038
+ kind: string;
3039
+ serviceName?: string | null;
3040
+ region?: string | null;
3041
+ enabled: boolean;
3042
+ config?: {
3043
+ __typename?: 'SourceConfig';
3044
+ runtimeOverride?: {
3045
+ __typename?: 'RuntimeOverride';
3046
+ language?: string | null;
3047
+ version?: string | null;
3048
+ } | null;
3049
+ distroOverride?: {
3050
+ __typename?: 'DistroOverride';
3051
+ otelDistroName?: string | null;
3052
+ } | null;
3053
+ serviceNameOverride?: {
3054
+ __typename?: 'ServiceNameOverride';
3055
+ serviceName?: string | null;
3056
+ } | null;
3057
+ ecs?: {
3058
+ __typename?: 'EcsSourceConfig';
3059
+ containerOverrides?: Array<{
3060
+ __typename?: 'ContainerOverride';
3061
+ containerName: string;
3062
+ disabled?: boolean | null;
3063
+ runtimeOverride?: {
3064
+ __typename?: 'RuntimeOverride';
3065
+ language?: string | null;
3066
+ version?: string | null;
3067
+ } | null;
3068
+ distroOverride?: {
3069
+ __typename?: 'DistroOverride';
3070
+ otelDistroName?: string | null;
3071
+ } | null;
3072
+ }> | null;
3073
+ } | null;
3074
+ docker?: {
3075
+ __typename?: 'DockerSourceConfig';
3076
+ containerOverrides?: Array<{
3077
+ __typename?: 'ContainerOverride';
3078
+ containerName: string;
3079
+ disabled?: boolean | null;
3080
+ runtimeOverride?: {
3081
+ __typename?: 'RuntimeOverride';
3082
+ language?: string | null;
3083
+ version?: string | null;
3084
+ } | null;
3085
+ distroOverride?: {
3086
+ __typename?: 'DistroOverride';
3087
+ otelDistroName?: string | null;
3088
+ } | null;
3089
+ }> | null;
3090
+ } | null;
3091
+ } | null;
3092
+ };
3093
+ };
3094
+ export type DeleteSourceMutationVariables = Exact<{
3095
+ input: DeleteSourceInput;
3096
+ }>;
3097
+ export type DeleteSourceMutation = {
3098
+ __typename?: 'Mutation';
3099
+ deleteSource: {
3100
+ __typename?: 'DeleteSourcePayload';
3101
+ name: string;
3102
+ deleted: boolean;
3103
+ };
3104
+ };
3105
+ export type RestartSourceMutationVariables = Exact<{
3106
+ input: RestartSourceInput;
3107
+ }>;
3108
+ export type RestartSourceMutation = {
3109
+ __typename?: 'Mutation';
3110
+ restartSource: {
3111
+ __typename?: 'RestartSourcePayload';
3112
+ name: string;
3113
+ kind: string;
3114
+ restarted: boolean;
3115
+ message?: string | null;
3116
+ };
3117
+ };
3118
+ export type WorkloadReportFieldsFragment = {
3119
+ __typename?: 'WorkloadReport';
3120
+ serviceName: string;
3121
+ kind: string;
3122
+ region?: string | null;
3123
+ updatedAt: string;
3124
+ desired: {
3125
+ __typename?: 'WorkloadDesiredReport';
3126
+ enabled: boolean;
3127
+ reason?: string | null;
3128
+ mode?: string | null;
3129
+ sdkType?: string | null;
3130
+ sourceMatched?: boolean | null;
3131
+ sourceEnabled?: boolean | null;
3132
+ };
3133
+ current: {
3134
+ __typename?: 'WorkloadCurrentReport';
3135
+ state: string;
3136
+ instrumented: boolean;
3137
+ runtimeName?: string | null;
3138
+ runtimeVersion?: string | null;
3139
+ processCount: number;
3140
+ runtime: {
3141
+ __typename?: 'WorkloadRuntimeSnapshot';
3142
+ detected: {
3143
+ __typename?: 'WorkloadRuntime';
3144
+ language?: string | null;
3145
+ version?: string | null;
3146
+ };
3147
+ override?: {
3148
+ __typename?: 'WorkloadRuntime';
3149
+ language?: string | null;
3150
+ version?: string | null;
3151
+ } | null;
3152
+ running: {
3153
+ __typename?: 'WorkloadRuntime';
3154
+ language?: string | null;
3155
+ version?: string | null;
3156
+ };
3157
+ };
3158
+ };
3159
+ progress: {
3160
+ __typename?: 'WorkloadProgressReport';
3161
+ stage: string;
3162
+ message?: string | null;
3163
+ waitingFor?: string | null;
3164
+ };
3165
+ issues?: Array<{
3166
+ __typename?: 'WorkloadIssue';
3167
+ code: string;
3168
+ severity: string;
3169
+ message: string;
3170
+ since?: string | null;
3171
+ transient?: boolean | null;
3172
+ details?: {
3173
+ __typename: 'InstrumentationDriftDetails';
3174
+ missingComponents: Array<string>;
3175
+ code: string;
3176
+ } | null;
3177
+ }> | null;
3178
+ instances?: Array<{
3179
+ __typename?: 'WorkloadInstanceStatus';
3180
+ id: string;
3181
+ pid: number;
3182
+ alive: boolean;
3183
+ runtimeName?: string | null;
3184
+ runtimeVersion?: string | null;
3185
+ instrumented: boolean;
3186
+ probesAttached: boolean;
3187
+ restarted?: boolean | null;
3188
+ message?: string | null;
3189
+ distro?: string | null;
3190
+ }> | null;
3191
+ processMetadata?: Array<{
3192
+ __typename?: 'WorkloadProcessMetadata';
3193
+ pid: number;
3194
+ ppid?: number | null;
3195
+ exe?: string | null;
3196
+ cmdline?: string | null;
3197
+ processKind?: string | null;
3198
+ serviceNameObserved?: string | null;
3199
+ startTimeEpoch?: number | null;
3200
+ instrumentationEligible: boolean;
3201
+ instrumented: boolean;
3202
+ probesAttached?: boolean | null;
3203
+ excludedReason?: string | null;
3204
+ otherAgentNames?: Array<string> | null;
3205
+ metadata?: Record<string, any> | null;
3206
+ runtime: {
3207
+ __typename?: 'WorkloadRuntimeSnapshot';
3208
+ detected: {
3209
+ __typename?: 'WorkloadRuntime';
3210
+ language?: string | null;
3211
+ version?: string | null;
3212
+ };
3213
+ override?: {
3214
+ __typename?: 'WorkloadRuntime';
3215
+ language?: string | null;
3216
+ version?: string | null;
3217
+ } | null;
3218
+ running: {
3219
+ __typename?: 'WorkloadRuntime';
3220
+ language?: string | null;
3221
+ version?: string | null;
3222
+ };
3223
+ };
3224
+ details?: {
3225
+ __typename: 'ContainerdProcessDetails';
3226
+ containerId?: string | null;
3227
+ imageName?: string | null;
3228
+ processKind: string;
3229
+ labels?: Array<{
3230
+ __typename?: 'KeyValue';
3231
+ key: string;
3232
+ value: string;
3233
+ }> | null;
3234
+ } | {
3235
+ __typename: 'DockerProcessDetails';
3236
+ containerId?: string | null;
3237
+ containerName?: string | null;
3238
+ imageName?: string | null;
3239
+ processKind: string;
3240
+ labels?: Array<{
3241
+ __typename?: 'KeyValue';
3242
+ key: string;
3243
+ value: string;
3244
+ }> | null;
3245
+ } | {
3246
+ __typename: 'EcsProcessDetails';
3247
+ containerId?: string | null;
3248
+ containerName?: string | null;
3249
+ imageName?: string | null;
3250
+ taskFamily?: string | null;
3251
+ taskArn?: string | null;
3252
+ processKind: string;
3253
+ labels?: Array<{
3254
+ __typename?: 'KeyValue';
3255
+ key: string;
3256
+ value: string;
3257
+ }> | null;
3258
+ } | {
3259
+ __typename: 'SystemdProcessDetails';
3260
+ unitName?: string | null;
3261
+ unitFilePath?: string | null;
3262
+ processKind: string;
3263
+ } | null;
3264
+ }> | null;
3265
+ details?: {
3266
+ __typename: 'DockerWorkloadDetails';
3267
+ kind: string;
3268
+ containers?: Array<{
3269
+ __typename?: 'WorkloadContainer';
3270
+ name: string;
3271
+ image?: string | null;
3272
+ pids?: Array<number> | null;
3273
+ instrumented: boolean;
3274
+ instrumentationEligible: boolean;
3275
+ excludedReason?: string | null;
3276
+ distro?: string | null;
3277
+ runtime?: {
3278
+ __typename?: 'WorkloadRuntimeSnapshot';
3279
+ detected: {
3280
+ __typename?: 'WorkloadRuntime';
3281
+ language?: string | null;
3282
+ version?: string | null;
3283
+ };
3284
+ override?: {
3285
+ __typename?: 'WorkloadRuntime';
3286
+ language?: string | null;
3287
+ version?: string | null;
3288
+ } | null;
3289
+ running: {
3290
+ __typename?: 'WorkloadRuntime';
3291
+ language?: string | null;
3292
+ version?: string | null;
3293
+ };
3294
+ } | null;
3295
+ }> | null;
3296
+ } | {
3297
+ __typename: 'EcsWorkloadDetails';
3298
+ clusterArn?: string | null;
3299
+ taskDefinition?: string | null;
3300
+ launchType?: string | null;
3301
+ deploymentController?: string | null;
3302
+ kind: string;
3303
+ containers?: Array<{
3304
+ __typename?: 'WorkloadContainer';
3305
+ name: string;
3306
+ image?: string | null;
3307
+ pids?: Array<number> | null;
3308
+ instrumented: boolean;
3309
+ instrumentationEligible: boolean;
3310
+ excludedReason?: string | null;
3311
+ distro?: string | null;
3312
+ runtime?: {
3313
+ __typename?: 'WorkloadRuntimeSnapshot';
3314
+ detected: {
3315
+ __typename?: 'WorkloadRuntime';
3316
+ language?: string | null;
3317
+ version?: string | null;
3318
+ };
3319
+ override?: {
3320
+ __typename?: 'WorkloadRuntime';
3321
+ language?: string | null;
3322
+ version?: string | null;
3323
+ } | null;
3324
+ running: {
3325
+ __typename?: 'WorkloadRuntime';
3326
+ language?: string | null;
3327
+ version?: string | null;
3328
+ };
3329
+ } | null;
3330
+ }> | null;
3331
+ } | {
3332
+ __typename: 'LambdaWorkloadDetails';
3333
+ functionArn?: string | null;
3334
+ runtime?: string | null;
3335
+ architecture?: string | null;
3336
+ layerArn?: string | null;
3337
+ kind: string;
3338
+ } | {
3339
+ __typename: 'RevisionedServiceWorkloadDetails';
3340
+ service?: string | null;
3341
+ latestReadyRevision?: string | null;
3342
+ kind: string;
3343
+ containers?: Array<{
3344
+ __typename?: 'WorkloadContainer';
3345
+ name: string;
3346
+ image?: string | null;
3347
+ pids?: Array<number> | null;
3348
+ instrumented: boolean;
3349
+ instrumentationEligible: boolean;
3350
+ excludedReason?: string | null;
3351
+ distro?: string | null;
3352
+ runtime?: {
3353
+ __typename?: 'WorkloadRuntimeSnapshot';
3354
+ detected: {
3355
+ __typename?: 'WorkloadRuntime';
3356
+ language?: string | null;
3357
+ version?: string | null;
3358
+ };
3359
+ override?: {
3360
+ __typename?: 'WorkloadRuntime';
3361
+ language?: string | null;
3362
+ version?: string | null;
3363
+ } | null;
3364
+ running: {
3365
+ __typename?: 'WorkloadRuntime';
3366
+ language?: string | null;
3367
+ version?: string | null;
3368
+ };
3369
+ } | null;
3370
+ }> | null;
3371
+ } | null;
3372
+ libraries?: Array<{
3373
+ __typename?: 'InstrumentationLibraryStatus';
3374
+ name: string;
3375
+ type: InstrumentationLibraryType;
3376
+ healthy?: boolean | null;
3377
+ message?: string | null;
3378
+ reason?: string | null;
3379
+ lastStatusTime?: string | null;
3380
+ identifyingAttributes?: Array<{
3381
+ __typename?: 'KeyValue';
3382
+ key: string;
3383
+ value: string;
3384
+ }> | null;
3385
+ nonIdentifyingAttributes?: Array<{
3386
+ __typename?: 'KeyValue';
3387
+ key: string;
3388
+ value: string;
3389
+ }> | null;
3390
+ }> | null;
3391
+ };
3392
+ type ProcessDetailsFields_ContainerdProcessDetails_Fragment = {
3393
+ __typename: 'ContainerdProcessDetails';
3394
+ containerId?: string | null;
3395
+ imageName?: string | null;
3396
+ processKind: string;
3397
+ labels?: Array<{
3398
+ __typename?: 'KeyValue';
3399
+ key: string;
3400
+ value: string;
3401
+ }> | null;
3402
+ };
3403
+ type ProcessDetailsFields_DockerProcessDetails_Fragment = {
3404
+ __typename: 'DockerProcessDetails';
3405
+ containerId?: string | null;
3406
+ containerName?: string | null;
3407
+ imageName?: string | null;
3408
+ processKind: string;
3409
+ labels?: Array<{
3410
+ __typename?: 'KeyValue';
3411
+ key: string;
3412
+ value: string;
3413
+ }> | null;
3414
+ };
3415
+ type ProcessDetailsFields_EcsProcessDetails_Fragment = {
3416
+ __typename: 'EcsProcessDetails';
3417
+ containerId?: string | null;
3418
+ containerName?: string | null;
3419
+ imageName?: string | null;
3420
+ taskFamily?: string | null;
3421
+ taskArn?: string | null;
3422
+ processKind: string;
3423
+ labels?: Array<{
3424
+ __typename?: 'KeyValue';
3425
+ key: string;
3426
+ value: string;
3427
+ }> | null;
3428
+ };
3429
+ type ProcessDetailsFields_SystemdProcessDetails_Fragment = {
3430
+ __typename: 'SystemdProcessDetails';
3431
+ unitName?: string | null;
3432
+ unitFilePath?: string | null;
3433
+ processKind: string;
3434
+ };
3435
+ export type ProcessDetailsFieldsFragment = ProcessDetailsFields_ContainerdProcessDetails_Fragment | ProcessDetailsFields_DockerProcessDetails_Fragment | ProcessDetailsFields_EcsProcessDetails_Fragment | ProcessDetailsFields_SystemdProcessDetails_Fragment;
3436
+ export type WorkloadContainerFieldsFragment = {
3437
+ __typename?: 'WorkloadContainer';
3438
+ name: string;
3439
+ image?: string | null;
3440
+ pids?: Array<number> | null;
3441
+ instrumented: boolean;
3442
+ instrumentationEligible: boolean;
3443
+ excludedReason?: string | null;
3444
+ distro?: string | null;
3445
+ runtime?: {
3446
+ __typename?: 'WorkloadRuntimeSnapshot';
3447
+ detected: {
3448
+ __typename?: 'WorkloadRuntime';
3449
+ language?: string | null;
3450
+ version?: string | null;
3451
+ };
3452
+ override?: {
3453
+ __typename?: 'WorkloadRuntime';
3454
+ language?: string | null;
3455
+ version?: string | null;
3456
+ } | null;
3457
+ running: {
3458
+ __typename?: 'WorkloadRuntime';
3459
+ language?: string | null;
3460
+ version?: string | null;
3461
+ };
3462
+ } | null;
3463
+ };
3464
+ type WorkloadDetailsFields_DockerWorkloadDetails_Fragment = {
3465
+ __typename: 'DockerWorkloadDetails';
3466
+ kind: string;
3467
+ containers?: Array<{
3468
+ __typename?: 'WorkloadContainer';
3469
+ name: string;
3470
+ image?: string | null;
3471
+ pids?: Array<number> | null;
3472
+ instrumented: boolean;
3473
+ instrumentationEligible: boolean;
3474
+ excludedReason?: string | null;
3475
+ distro?: string | null;
3476
+ runtime?: {
3477
+ __typename?: 'WorkloadRuntimeSnapshot';
3478
+ detected: {
3479
+ __typename?: 'WorkloadRuntime';
3480
+ language?: string | null;
3481
+ version?: string | null;
3482
+ };
3483
+ override?: {
3484
+ __typename?: 'WorkloadRuntime';
3485
+ language?: string | null;
3486
+ version?: string | null;
3487
+ } | null;
3488
+ running: {
3489
+ __typename?: 'WorkloadRuntime';
3490
+ language?: string | null;
3491
+ version?: string | null;
3492
+ };
3493
+ } | null;
3494
+ }> | null;
3495
+ };
3496
+ type WorkloadDetailsFields_EcsWorkloadDetails_Fragment = {
3497
+ __typename: 'EcsWorkloadDetails';
3498
+ clusterArn?: string | null;
3499
+ taskDefinition?: string | null;
3500
+ launchType?: string | null;
3501
+ deploymentController?: string | null;
3502
+ kind: string;
3503
+ containers?: Array<{
3504
+ __typename?: 'WorkloadContainer';
3505
+ name: string;
3506
+ image?: string | null;
3507
+ pids?: Array<number> | null;
3508
+ instrumented: boolean;
3509
+ instrumentationEligible: boolean;
3510
+ excludedReason?: string | null;
3511
+ distro?: string | null;
3512
+ runtime?: {
3513
+ __typename?: 'WorkloadRuntimeSnapshot';
3514
+ detected: {
3515
+ __typename?: 'WorkloadRuntime';
3516
+ language?: string | null;
3517
+ version?: string | null;
3518
+ };
3519
+ override?: {
3520
+ __typename?: 'WorkloadRuntime';
3521
+ language?: string | null;
3522
+ version?: string | null;
3523
+ } | null;
3524
+ running: {
3525
+ __typename?: 'WorkloadRuntime';
3526
+ language?: string | null;
3527
+ version?: string | null;
3528
+ };
3529
+ } | null;
3530
+ }> | null;
3531
+ };
3532
+ type WorkloadDetailsFields_LambdaWorkloadDetails_Fragment = {
3533
+ __typename: 'LambdaWorkloadDetails';
3534
+ functionArn?: string | null;
3535
+ runtime?: string | null;
3536
+ architecture?: string | null;
3537
+ layerArn?: string | null;
3538
+ kind: string;
3539
+ };
3540
+ type WorkloadDetailsFields_RevisionedServiceWorkloadDetails_Fragment = {
3541
+ __typename: 'RevisionedServiceWorkloadDetails';
3542
+ service?: string | null;
3543
+ latestReadyRevision?: string | null;
3544
+ kind: string;
3545
+ containers?: Array<{
3546
+ __typename?: 'WorkloadContainer';
3547
+ name: string;
3548
+ image?: string | null;
3549
+ pids?: Array<number> | null;
3550
+ instrumented: boolean;
3551
+ instrumentationEligible: boolean;
3552
+ excludedReason?: string | null;
3553
+ distro?: string | null;
3554
+ runtime?: {
3555
+ __typename?: 'WorkloadRuntimeSnapshot';
3556
+ detected: {
3557
+ __typename?: 'WorkloadRuntime';
3558
+ language?: string | null;
3559
+ version?: string | null;
3560
+ };
3561
+ override?: {
3562
+ __typename?: 'WorkloadRuntime';
3563
+ language?: string | null;
3564
+ version?: string | null;
3565
+ } | null;
3566
+ running: {
3567
+ __typename?: 'WorkloadRuntime';
3568
+ language?: string | null;
3569
+ version?: string | null;
3570
+ };
3571
+ } | null;
3572
+ }> | null;
3573
+ };
3574
+ export type WorkloadDetailsFieldsFragment = WorkloadDetailsFields_DockerWorkloadDetails_Fragment | WorkloadDetailsFields_EcsWorkloadDetails_Fragment | WorkloadDetailsFields_LambdaWorkloadDetails_Fragment | WorkloadDetailsFields_RevisionedServiceWorkloadDetails_Fragment;
3575
+ export type GetWorkloadReportQueryVariables = Exact<{
3576
+ serviceName: Scalars['String']['input'];
3577
+ kind: Scalars['String']['input'];
3578
+ region?: InputMaybe<Scalars['String']['input']>;
3579
+ }>;
3580
+ export type GetWorkloadReportQuery = {
3581
+ __typename?: 'Query';
3582
+ workloadReport?: {
3583
+ __typename?: 'WorkloadReport';
3584
+ serviceName: string;
3585
+ kind: string;
3586
+ region?: string | null;
3587
+ updatedAt: string;
3588
+ desired: {
3589
+ __typename?: 'WorkloadDesiredReport';
3590
+ enabled: boolean;
3591
+ reason?: string | null;
3592
+ mode?: string | null;
3593
+ sdkType?: string | null;
3594
+ sourceMatched?: boolean | null;
3595
+ sourceEnabled?: boolean | null;
3596
+ };
3597
+ current: {
3598
+ __typename?: 'WorkloadCurrentReport';
3599
+ state: string;
3600
+ instrumented: boolean;
3601
+ runtimeName?: string | null;
3602
+ runtimeVersion?: string | null;
3603
+ processCount: number;
3604
+ runtime: {
3605
+ __typename?: 'WorkloadRuntimeSnapshot';
3606
+ detected: {
3607
+ __typename?: 'WorkloadRuntime';
3608
+ language?: string | null;
3609
+ version?: string | null;
3610
+ };
3611
+ override?: {
3612
+ __typename?: 'WorkloadRuntime';
3613
+ language?: string | null;
3614
+ version?: string | null;
3615
+ } | null;
3616
+ running: {
3617
+ __typename?: 'WorkloadRuntime';
3618
+ language?: string | null;
3619
+ version?: string | null;
3620
+ };
3621
+ };
3622
+ };
3623
+ progress: {
3624
+ __typename?: 'WorkloadProgressReport';
3625
+ stage: string;
3626
+ message?: string | null;
3627
+ waitingFor?: string | null;
3628
+ };
3629
+ issues?: Array<{
3630
+ __typename?: 'WorkloadIssue';
3631
+ code: string;
3632
+ severity: string;
3633
+ message: string;
3634
+ since?: string | null;
3635
+ transient?: boolean | null;
3636
+ details?: {
3637
+ __typename: 'InstrumentationDriftDetails';
3638
+ missingComponents: Array<string>;
3639
+ code: string;
3640
+ } | null;
3641
+ }> | null;
3642
+ instances?: Array<{
3643
+ __typename?: 'WorkloadInstanceStatus';
3644
+ id: string;
3645
+ pid: number;
3646
+ alive: boolean;
3647
+ runtimeName?: string | null;
3648
+ runtimeVersion?: string | null;
3649
+ instrumented: boolean;
3650
+ probesAttached: boolean;
3651
+ restarted?: boolean | null;
3652
+ message?: string | null;
3653
+ distro?: string | null;
3654
+ }> | null;
3655
+ processMetadata?: Array<{
3656
+ __typename?: 'WorkloadProcessMetadata';
3657
+ pid: number;
3658
+ ppid?: number | null;
3659
+ exe?: string | null;
3660
+ cmdline?: string | null;
3661
+ processKind?: string | null;
3662
+ serviceNameObserved?: string | null;
3663
+ startTimeEpoch?: number | null;
3664
+ instrumentationEligible: boolean;
3665
+ instrumented: boolean;
3666
+ probesAttached?: boolean | null;
3667
+ excludedReason?: string | null;
3668
+ otherAgentNames?: Array<string> | null;
3669
+ metadata?: Record<string, any> | null;
3670
+ runtime: {
3671
+ __typename?: 'WorkloadRuntimeSnapshot';
3672
+ detected: {
3673
+ __typename?: 'WorkloadRuntime';
3674
+ language?: string | null;
3675
+ version?: string | null;
3676
+ };
3677
+ override?: {
3678
+ __typename?: 'WorkloadRuntime';
3679
+ language?: string | null;
3680
+ version?: string | null;
3681
+ } | null;
3682
+ running: {
3683
+ __typename?: 'WorkloadRuntime';
3684
+ language?: string | null;
3685
+ version?: string | null;
3686
+ };
3687
+ };
3688
+ details?: {
3689
+ __typename: 'ContainerdProcessDetails';
3690
+ containerId?: string | null;
3691
+ imageName?: string | null;
3692
+ processKind: string;
3693
+ labels?: Array<{
3694
+ __typename?: 'KeyValue';
3695
+ key: string;
3696
+ value: string;
3697
+ }> | null;
3698
+ } | {
3699
+ __typename: 'DockerProcessDetails';
3700
+ containerId?: string | null;
3701
+ containerName?: string | null;
3702
+ imageName?: string | null;
3703
+ processKind: string;
3704
+ labels?: Array<{
3705
+ __typename?: 'KeyValue';
3706
+ key: string;
3707
+ value: string;
3708
+ }> | null;
3709
+ } | {
3710
+ __typename: 'EcsProcessDetails';
3711
+ containerId?: string | null;
3712
+ containerName?: string | null;
3713
+ imageName?: string | null;
3714
+ taskFamily?: string | null;
3715
+ taskArn?: string | null;
3716
+ processKind: string;
3717
+ labels?: Array<{
3718
+ __typename?: 'KeyValue';
3719
+ key: string;
3720
+ value: string;
3721
+ }> | null;
3722
+ } | {
3723
+ __typename: 'SystemdProcessDetails';
3724
+ unitName?: string | null;
3725
+ unitFilePath?: string | null;
3726
+ processKind: string;
3727
+ } | null;
3728
+ }> | null;
3729
+ details?: {
3730
+ __typename: 'DockerWorkloadDetails';
3731
+ kind: string;
3732
+ containers?: Array<{
3733
+ __typename?: 'WorkloadContainer';
3734
+ name: string;
3735
+ image?: string | null;
3736
+ pids?: Array<number> | null;
3737
+ instrumented: boolean;
3738
+ instrumentationEligible: boolean;
3739
+ excludedReason?: string | null;
3740
+ distro?: string | null;
3741
+ runtime?: {
3742
+ __typename?: 'WorkloadRuntimeSnapshot';
3743
+ detected: {
3744
+ __typename?: 'WorkloadRuntime';
3745
+ language?: string | null;
3746
+ version?: string | null;
3747
+ };
3748
+ override?: {
3749
+ __typename?: 'WorkloadRuntime';
3750
+ language?: string | null;
3751
+ version?: string | null;
3752
+ } | null;
3753
+ running: {
3754
+ __typename?: 'WorkloadRuntime';
3755
+ language?: string | null;
3756
+ version?: string | null;
3757
+ };
3758
+ } | null;
3759
+ }> | null;
3760
+ } | {
3761
+ __typename: 'EcsWorkloadDetails';
3762
+ clusterArn?: string | null;
3763
+ taskDefinition?: string | null;
3764
+ launchType?: string | null;
3765
+ deploymentController?: string | null;
3766
+ kind: string;
3767
+ containers?: Array<{
3768
+ __typename?: 'WorkloadContainer';
3769
+ name: string;
3770
+ image?: string | null;
3771
+ pids?: Array<number> | null;
3772
+ instrumented: boolean;
3773
+ instrumentationEligible: boolean;
3774
+ excludedReason?: string | null;
3775
+ distro?: string | null;
3776
+ runtime?: {
3777
+ __typename?: 'WorkloadRuntimeSnapshot';
3778
+ detected: {
3779
+ __typename?: 'WorkloadRuntime';
3780
+ language?: string | null;
3781
+ version?: string | null;
3782
+ };
3783
+ override?: {
3784
+ __typename?: 'WorkloadRuntime';
3785
+ language?: string | null;
3786
+ version?: string | null;
3787
+ } | null;
3788
+ running: {
3789
+ __typename?: 'WorkloadRuntime';
3790
+ language?: string | null;
3791
+ version?: string | null;
3792
+ };
3793
+ } | null;
3794
+ }> | null;
3795
+ } | {
3796
+ __typename: 'LambdaWorkloadDetails';
3797
+ functionArn?: string | null;
3798
+ runtime?: string | null;
3799
+ architecture?: string | null;
3800
+ layerArn?: string | null;
3801
+ kind: string;
3802
+ } | {
3803
+ __typename: 'RevisionedServiceWorkloadDetails';
3804
+ service?: string | null;
3805
+ latestReadyRevision?: string | null;
3806
+ kind: string;
3807
+ containers?: Array<{
3808
+ __typename?: 'WorkloadContainer';
3809
+ name: string;
3810
+ image?: string | null;
3811
+ pids?: Array<number> | null;
3812
+ instrumented: boolean;
3813
+ instrumentationEligible: boolean;
3814
+ excludedReason?: string | null;
3815
+ distro?: string | null;
3816
+ runtime?: {
3817
+ __typename?: 'WorkloadRuntimeSnapshot';
3818
+ detected: {
3819
+ __typename?: 'WorkloadRuntime';
3820
+ language?: string | null;
3821
+ version?: string | null;
3822
+ };
3823
+ override?: {
3824
+ __typename?: 'WorkloadRuntime';
3825
+ language?: string | null;
3826
+ version?: string | null;
3827
+ } | null;
3828
+ running: {
3829
+ __typename?: 'WorkloadRuntime';
3830
+ language?: string | null;
3831
+ version?: string | null;
3832
+ };
3833
+ } | null;
3834
+ }> | null;
3835
+ } | null;
3836
+ libraries?: Array<{
3837
+ __typename?: 'InstrumentationLibraryStatus';
3838
+ name: string;
3839
+ type: InstrumentationLibraryType;
3840
+ healthy?: boolean | null;
3841
+ message?: string | null;
3842
+ reason?: string | null;
3843
+ lastStatusTime?: string | null;
3844
+ identifyingAttributes?: Array<{
3845
+ __typename?: 'KeyValue';
3846
+ key: string;
3847
+ value: string;
3848
+ }> | null;
3849
+ nonIdentifyingAttributes?: Array<{
3850
+ __typename?: 'KeyValue';
3851
+ key: string;
3852
+ value: string;
3853
+ }> | null;
3854
+ }> | null;
3855
+ } | null;
3856
+ };
3857
+ export type GetWorkloadReportsQueryVariables = Exact<{
3858
+ [key: string]: never;
3859
+ }>;
3860
+ export type GetWorkloadReportsQuery = {
3861
+ __typename?: 'Query';
3862
+ workloadReports: Array<{
3863
+ __typename?: 'WorkloadReport';
3864
+ serviceName: string;
3865
+ kind: string;
3866
+ region?: string | null;
3867
+ updatedAt: string;
3868
+ desired: {
3869
+ __typename?: 'WorkloadDesiredReport';
3870
+ enabled: boolean;
3871
+ reason?: string | null;
3872
+ mode?: string | null;
3873
+ sdkType?: string | null;
3874
+ sourceMatched?: boolean | null;
3875
+ sourceEnabled?: boolean | null;
3876
+ };
3877
+ current: {
3878
+ __typename?: 'WorkloadCurrentReport';
3879
+ state: string;
3880
+ instrumented: boolean;
3881
+ runtimeName?: string | null;
3882
+ runtimeVersion?: string | null;
3883
+ processCount: number;
3884
+ runtime: {
3885
+ __typename?: 'WorkloadRuntimeSnapshot';
3886
+ detected: {
3887
+ __typename?: 'WorkloadRuntime';
3888
+ language?: string | null;
3889
+ version?: string | null;
3890
+ };
3891
+ override?: {
3892
+ __typename?: 'WorkloadRuntime';
3893
+ language?: string | null;
3894
+ version?: string | null;
3895
+ } | null;
3896
+ running: {
3897
+ __typename?: 'WorkloadRuntime';
3898
+ language?: string | null;
3899
+ version?: string | null;
3900
+ };
3901
+ };
3902
+ };
3903
+ progress: {
3904
+ __typename?: 'WorkloadProgressReport';
3905
+ stage: string;
3906
+ message?: string | null;
3907
+ waitingFor?: string | null;
3908
+ };
3909
+ issues?: Array<{
3910
+ __typename?: 'WorkloadIssue';
3911
+ code: string;
3912
+ severity: string;
3913
+ message: string;
3914
+ since?: string | null;
3915
+ transient?: boolean | null;
3916
+ details?: {
3917
+ __typename: 'InstrumentationDriftDetails';
3918
+ missingComponents: Array<string>;
3919
+ code: string;
3920
+ } | null;
3921
+ }> | null;
3922
+ instances?: Array<{
3923
+ __typename?: 'WorkloadInstanceStatus';
3924
+ id: string;
3925
+ pid: number;
3926
+ alive: boolean;
3927
+ runtimeName?: string | null;
3928
+ runtimeVersion?: string | null;
3929
+ instrumented: boolean;
3930
+ probesAttached: boolean;
3931
+ restarted?: boolean | null;
3932
+ message?: string | null;
3933
+ distro?: string | null;
3934
+ }> | null;
3935
+ processMetadata?: Array<{
3936
+ __typename?: 'WorkloadProcessMetadata';
3937
+ pid: number;
3938
+ ppid?: number | null;
3939
+ exe?: string | null;
3940
+ cmdline?: string | null;
3941
+ processKind?: string | null;
3942
+ serviceNameObserved?: string | null;
3943
+ startTimeEpoch?: number | null;
3944
+ instrumentationEligible: boolean;
3945
+ instrumented: boolean;
3946
+ probesAttached?: boolean | null;
3947
+ excludedReason?: string | null;
3948
+ otherAgentNames?: Array<string> | null;
3949
+ metadata?: Record<string, any> | null;
3950
+ runtime: {
3951
+ __typename?: 'WorkloadRuntimeSnapshot';
3952
+ detected: {
3953
+ __typename?: 'WorkloadRuntime';
3954
+ language?: string | null;
3955
+ version?: string | null;
3956
+ };
3957
+ override?: {
3958
+ __typename?: 'WorkloadRuntime';
3959
+ language?: string | null;
3960
+ version?: string | null;
3961
+ } | null;
3962
+ running: {
3963
+ __typename?: 'WorkloadRuntime';
3964
+ language?: string | null;
3965
+ version?: string | null;
3966
+ };
3967
+ };
3968
+ details?: {
3969
+ __typename: 'ContainerdProcessDetails';
3970
+ containerId?: string | null;
3971
+ imageName?: string | null;
3972
+ processKind: string;
3973
+ labels?: Array<{
3974
+ __typename?: 'KeyValue';
3975
+ key: string;
3976
+ value: string;
3977
+ }> | null;
3978
+ } | {
3979
+ __typename: 'DockerProcessDetails';
3980
+ containerId?: string | null;
3981
+ containerName?: string | null;
3982
+ imageName?: string | null;
3983
+ processKind: string;
3984
+ labels?: Array<{
3985
+ __typename?: 'KeyValue';
3986
+ key: string;
3987
+ value: string;
3988
+ }> | null;
3989
+ } | {
3990
+ __typename: 'EcsProcessDetails';
3991
+ containerId?: string | null;
3992
+ containerName?: string | null;
3993
+ imageName?: string | null;
3994
+ taskFamily?: string | null;
3995
+ taskArn?: string | null;
3996
+ processKind: string;
3997
+ labels?: Array<{
3998
+ __typename?: 'KeyValue';
3999
+ key: string;
4000
+ value: string;
4001
+ }> | null;
4002
+ } | {
4003
+ __typename: 'SystemdProcessDetails';
4004
+ unitName?: string | null;
4005
+ unitFilePath?: string | null;
4006
+ processKind: string;
4007
+ } | null;
4008
+ }> | null;
4009
+ details?: {
4010
+ __typename: 'DockerWorkloadDetails';
4011
+ kind: string;
4012
+ containers?: Array<{
4013
+ __typename?: 'WorkloadContainer';
4014
+ name: string;
4015
+ image?: string | null;
4016
+ pids?: Array<number> | null;
4017
+ instrumented: boolean;
4018
+ instrumentationEligible: boolean;
4019
+ excludedReason?: string | null;
4020
+ distro?: string | null;
4021
+ runtime?: {
4022
+ __typename?: 'WorkloadRuntimeSnapshot';
4023
+ detected: {
4024
+ __typename?: 'WorkloadRuntime';
4025
+ language?: string | null;
4026
+ version?: string | null;
4027
+ };
4028
+ override?: {
4029
+ __typename?: 'WorkloadRuntime';
4030
+ language?: string | null;
4031
+ version?: string | null;
4032
+ } | null;
4033
+ running: {
4034
+ __typename?: 'WorkloadRuntime';
4035
+ language?: string | null;
4036
+ version?: string | null;
4037
+ };
4038
+ } | null;
4039
+ }> | null;
4040
+ } | {
4041
+ __typename: 'EcsWorkloadDetails';
4042
+ clusterArn?: string | null;
4043
+ taskDefinition?: string | null;
4044
+ launchType?: string | null;
4045
+ deploymentController?: string | null;
4046
+ kind: string;
4047
+ containers?: Array<{
4048
+ __typename?: 'WorkloadContainer';
4049
+ name: string;
4050
+ image?: string | null;
4051
+ pids?: Array<number> | null;
4052
+ instrumented: boolean;
4053
+ instrumentationEligible: boolean;
4054
+ excludedReason?: string | null;
4055
+ distro?: string | null;
4056
+ runtime?: {
4057
+ __typename?: 'WorkloadRuntimeSnapshot';
4058
+ detected: {
4059
+ __typename?: 'WorkloadRuntime';
4060
+ language?: string | null;
4061
+ version?: string | null;
4062
+ };
4063
+ override?: {
4064
+ __typename?: 'WorkloadRuntime';
4065
+ language?: string | null;
4066
+ version?: string | null;
4067
+ } | null;
4068
+ running: {
4069
+ __typename?: 'WorkloadRuntime';
4070
+ language?: string | null;
4071
+ version?: string | null;
4072
+ };
4073
+ } | null;
4074
+ }> | null;
4075
+ } | {
4076
+ __typename: 'LambdaWorkloadDetails';
4077
+ functionArn?: string | null;
4078
+ runtime?: string | null;
4079
+ architecture?: string | null;
4080
+ layerArn?: string | null;
4081
+ kind: string;
4082
+ } | {
4083
+ __typename: 'RevisionedServiceWorkloadDetails';
4084
+ service?: string | null;
4085
+ latestReadyRevision?: string | null;
4086
+ kind: string;
4087
+ containers?: Array<{
4088
+ __typename?: 'WorkloadContainer';
4089
+ name: string;
4090
+ image?: string | null;
4091
+ pids?: Array<number> | null;
4092
+ instrumented: boolean;
4093
+ instrumentationEligible: boolean;
4094
+ excludedReason?: string | null;
4095
+ distro?: string | null;
4096
+ runtime?: {
4097
+ __typename?: 'WorkloadRuntimeSnapshot';
4098
+ detected: {
4099
+ __typename?: 'WorkloadRuntime';
4100
+ language?: string | null;
4101
+ version?: string | null;
4102
+ };
4103
+ override?: {
4104
+ __typename?: 'WorkloadRuntime';
4105
+ language?: string | null;
4106
+ version?: string | null;
4107
+ } | null;
4108
+ running: {
4109
+ __typename?: 'WorkloadRuntime';
4110
+ language?: string | null;
4111
+ version?: string | null;
4112
+ };
4113
+ } | null;
4114
+ }> | null;
4115
+ } | null;
4116
+ libraries?: Array<{
4117
+ __typename?: 'InstrumentationLibraryStatus';
4118
+ name: string;
4119
+ type: InstrumentationLibraryType;
4120
+ healthy?: boolean | null;
4121
+ message?: string | null;
4122
+ reason?: string | null;
4123
+ lastStatusTime?: string | null;
4124
+ identifyingAttributes?: Array<{
4125
+ __typename?: 'KeyValue';
4126
+ key: string;
4127
+ value: string;
4128
+ }> | null;
4129
+ nonIdentifyingAttributes?: Array<{
4130
+ __typename?: 'KeyValue';
4131
+ key: string;
4132
+ value: string;
4133
+ }> | null;
4134
+ }> | null;
4135
+ }>;
4136
+ };
4137
+ export declare const ActionTypeFieldsFragmentDoc: DocumentNode<ActionTypeFieldsFragment, unknown>;
4138
+ export declare const ActionFieldsFragmentDoc: DocumentNode<ActionFieldsFragment, unknown>;
4139
+ export declare const ComputePlatformReportFieldsFragmentDoc: DocumentNode<ComputePlatformReportFieldsFragment, unknown>;
4140
+ export declare const DestinationTypeFieldsFragmentDoc: DocumentNode<DestinationTypeFieldsFragment, unknown>;
4141
+ export declare const DestinationFieldsFragmentDoc: DocumentNode<DestinationFieldsFragment, unknown>;
4142
+ export declare const InstructionDocumentFieldsFragmentDoc: DocumentNode<InstructionDocumentFieldsFragment, unknown>;
4143
+ export declare const InstrumentationInstructionsFieldsFragmentDoc: DocumentNode<InstrumentationInstructionsFieldsFragment, unknown>;
4144
+ export declare const InstrumentationRuleTypeFieldsFragmentDoc: DocumentNode<InstrumentationRuleTypeFieldsFragment, unknown>;
4145
+ export declare const InstrumentationRuleFieldsFragmentDoc: DocumentNode<InstrumentationRuleFieldsFragment, unknown>;
4146
+ export declare const ContainerOverrideFieldsFragmentDoc: DocumentNode<ContainerOverrideFieldsFragment, unknown>;
4147
+ export declare const ProcessDetailsFieldsFragmentDoc: DocumentNode<ProcessDetailsFieldsFragment, unknown>;
4148
+ export declare const WorkloadContainerFieldsFragmentDoc: DocumentNode<WorkloadContainerFieldsFragment, unknown>;
4149
+ export declare const WorkloadDetailsFieldsFragmentDoc: DocumentNode<WorkloadDetailsFieldsFragment, unknown>;
4150
+ export declare const WorkloadReportFieldsFragmentDoc: DocumentNode<WorkloadReportFieldsFragment, unknown>;
4151
+ export declare const GetActionTypesDocument: DocumentNode<GetActionTypesQuery, GetActionTypesQueryVariables>;
4152
+ export declare const GetActionDocument: DocumentNode<GetActionQuery, GetActionQueryVariables>;
4153
+ export declare const GetActionsDocument: DocumentNode<GetActionsQuery, GetActionsQueryVariables>;
4154
+ export declare const CreateActionDocument: DocumentNode<CreateActionMutation, CreateActionMutationVariables>;
4155
+ export declare const UpdateActionDocument: DocumentNode<UpdateActionMutation, UpdateActionMutationVariables>;
4156
+ export declare const DeleteActionDocument: DocumentNode<DeleteActionMutation, DeleteActionMutationVariables>;
4157
+ export declare const GetComputePlatformReportDocument: DocumentNode<GetComputePlatformReportQuery, GetComputePlatformReportQueryVariables>;
4158
+ export declare const GetComputePlatformReportsDocument: DocumentNode<GetComputePlatformReportsQuery, GetComputePlatformReportsQueryVariables>;
4159
+ export declare const GetConfigDocument: DocumentNode<GetConfigQuery, GetConfigQueryVariables>;
4160
+ export declare const GetConfigDefaultsDocument: DocumentNode<GetConfigDefaultsQuery, GetConfigDefaultsQueryVariables>;
4161
+ export declare const UpdateConfigDocument: DocumentNode<UpdateConfigMutation, UpdateConfigMutationVariables>;
4162
+ export declare const GetSupportedSourceKindsDocument: DocumentNode<GetSupportedSourceKindsQuery, GetSupportedSourceKindsQueryVariables>;
4163
+ export declare const GetConnectorRuntimeHealthDocument: DocumentNode<GetConnectorRuntimeHealthQuery, GetConnectorRuntimeHealthQueryVariables>;
4164
+ export declare const GetConnectorCollectorStatusesDocument: DocumentNode<GetConnectorCollectorStatusesQuery, GetConnectorCollectorStatusesQueryVariables>;
4165
+ export declare const RefreshDiscoveryDocument: DocumentNode<RefreshDiscoveryMutation, RefreshDiscoveryMutationVariables>;
4166
+ export declare const TriggerRollbackDocument: DocumentNode<TriggerRollbackMutation, TriggerRollbackMutationVariables>;
4167
+ export declare const RequestCleanupDocument: DocumentNode<RequestCleanupMutation, RequestCleanupMutationVariables>;
4168
+ export declare const GetDestinationDocument: DocumentNode<GetDestinationQuery, GetDestinationQueryVariables>;
4169
+ export declare const GetDestinationsDocument: DocumentNode<GetDestinationsQuery, GetDestinationsQueryVariables>;
4170
+ export declare const GetDestinationTypesDocument: DocumentNode<GetDestinationTypesQuery, GetDestinationTypesQueryVariables>;
4171
+ export declare const CreateDestinationDocument: DocumentNode<CreateDestinationMutation, CreateDestinationMutationVariables>;
4172
+ export declare const UpdateDestinationDocument: DocumentNode<UpdateDestinationMutation, UpdateDestinationMutationVariables>;
4173
+ export declare const DeleteDestinationDocument: DocumentNode<DeleteDestinationMutation, DeleteDestinationMutationVariables>;
4174
+ export declare const TestConnectionDocument: DocumentNode<TestConnectionMutation, TestConnectionMutationVariables>;
4175
+ export declare const GenerateDiagnoseBundleDocument: DocumentNode<GenerateDiagnoseBundleMutation, GenerateDiagnoseBundleMutationVariables>;
4176
+ export declare const GetInstrumentationInstructionsDocument: DocumentNode<GetInstrumentationInstructionsQuery, GetInstrumentationInstructionsQueryVariables>;
4177
+ export declare const GetInstrumentationRuleTypesDocument: DocumentNode<GetInstrumentationRuleTypesQuery, GetInstrumentationRuleTypesQueryVariables>;
4178
+ export declare const GetInstrumentationRuleDocument: DocumentNode<GetInstrumentationRuleQuery, GetInstrumentationRuleQueryVariables>;
4179
+ export declare const GetInstrumentationRulesDocument: DocumentNode<GetInstrumentationRulesQuery, GetInstrumentationRulesQueryVariables>;
4180
+ export declare const CreateInstrumentationRuleDocument: DocumentNode<CreateInstrumentationRuleMutation, CreateInstrumentationRuleMutationVariables>;
4181
+ export declare const UpdateInstrumentationRuleDocument: DocumentNode<UpdateInstrumentationRuleMutation, UpdateInstrumentationRuleMutationVariables>;
4182
+ export declare const DeleteInstrumentationRuleDocument: DocumentNode<DeleteInstrumentationRuleMutation, DeleteInstrumentationRuleMutationVariables>;
4183
+ export declare const UpdateOnPremLicenseDocument: DocumentNode<UpdateOnPremLicenseMutation, UpdateOnPremLicenseMutationVariables>;
4184
+ export declare const PipelineCountersDocument: DocumentNode<PipelineCountersQuery, PipelineCountersQueryVariables>;
4185
+ export declare const ProfileHotFunctionsDocument: DocumentNode<ProfileHotFunctionsQuery, ProfileHotFunctionsQueryVariables>;
4186
+ export declare const ProfileBundleStatusDocument: DocumentNode<ProfileBundleStatusQuery, ProfileBundleStatusQueryVariables>;
4187
+ export declare const GenerateProfileBundleDocument: DocumentNode<GenerateProfileBundleMutation, GenerateProfileBundleMutationVariables>;
4188
+ export declare const StartBackgroundProfileBundleDocument: DocumentNode<StartBackgroundProfileBundleMutation, StartBackgroundProfileBundleMutationVariables>;
4189
+ export declare const CancelProfileBundleDocument: DocumentNode<CancelProfileBundleMutation, CancelProfileBundleMutationVariables>;
4190
+ export declare const ClearProfileCacheDocument: DocumentNode<ClearProfileCacheMutation, ClearProfileCacheMutationVariables>;
4191
+ export declare const ProfilingSlotsDocument: DocumentNode<ProfilingSlotsQuery, ProfilingSlotsQueryVariables>;
4192
+ export declare const SourceProfileDocument: DocumentNode<SourceProfileQuery, SourceProfileQueryVariables>;
4193
+ export declare const EnableSourceProfilingDocument: DocumentNode<EnableSourceProfilingMutation, EnableSourceProfilingMutationVariables>;
4194
+ export declare const DisableSourceProfilingDocument: DocumentNode<DisableSourceProfilingMutation, DisableSourceProfilingMutationVariables>;
4195
+ export declare const ClearSourceProfilingBufferDocument: DocumentNode<ClearSourceProfilingBufferMutation, ClearSourceProfilingBufferMutationVariables>;
4196
+ export declare const ConfigureProfilingCacheDocument: DocumentNode<ConfigureProfilingCacheMutation, ConfigureProfilingCacheMutationVariables>;
4197
+ export declare const GetSourceDocument: DocumentNode<GetSourceQuery, GetSourceQueryVariables>;
4198
+ export declare const GetSourcesDocument: DocumentNode<GetSourcesQuery, GetSourcesQueryVariables>;
4199
+ export declare const CreateSourceDocument: DocumentNode<CreateSourceMutation, CreateSourceMutationVariables>;
4200
+ export declare const UpdateSourceDocument: DocumentNode<UpdateSourceMutation, UpdateSourceMutationVariables>;
4201
+ export declare const DeleteSourceDocument: DocumentNode<DeleteSourceMutation, DeleteSourceMutationVariables>;
4202
+ export declare const RestartSourceDocument: DocumentNode<RestartSourceMutation, RestartSourceMutationVariables>;
4203
+ export declare const GetWorkloadReportDocument: DocumentNode<GetWorkloadReportQuery, GetWorkloadReportQueryVariables>;
4204
+ export declare const GetWorkloadReportsDocument: DocumentNode<GetWorkloadReportsQuery, GetWorkloadReportsQueryVariables>;
4205
+ export {};