@odigos/vmagent-api-apollo-client 0.23.0 → 0.25.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.
- package/dist/generated/dialects.d.ts +5 -1
- package/dist/generated/dialects.js +5 -1
- package/dist/generated/next/graphql.d.ts +1651 -1
- package/dist/generated/next/graphql.js +23 -5
- package/dist/generated/surface.d.ts +3 -1
- package/dist/generated/surface.js +3 -1
- package/dist/generated/v0_24_0/graphql.d.ts +5745 -0
- package/dist/generated/v0_24_0/graphql.js +111 -0
- package/dist/generated/v0_25_0/graphql.d.ts +5855 -0
- package/dist/generated/v0_25_0/graphql.js +112 -0
- package/package.json +1 -1
|
@@ -80,6 +80,54 @@ export type ActionTypeOption = {
|
|
|
80
80
|
fields: Array<ActionField>;
|
|
81
81
|
type: Scalars['String']['output'];
|
|
82
82
|
};
|
|
83
|
+
/** AWS: the objects an operator would look up in the console. */
|
|
84
|
+
export type AwsManagedCollectorDetails = ManagedCollectorDetails & {
|
|
85
|
+
__typename?: 'AwsManagedCollectorDetails';
|
|
86
|
+
clusterRef?: Maybe<Scalars['String']['output']>;
|
|
87
|
+
loadBalancerRef?: Maybe<Scalars['String']['output']>;
|
|
88
|
+
provider: Scalars['String']['output'];
|
|
89
|
+
/** Task definition ARN, including revision. */
|
|
90
|
+
revisionRef?: Maybe<Scalars['String']['output']>;
|
|
91
|
+
securityGroupId?: Maybe<Scalars['String']['output']>;
|
|
92
|
+
subnetIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
93
|
+
targetGroupRefs?: Maybe<Array<Scalars['String']['output']>>;
|
|
94
|
+
/** ECS service ARN. */
|
|
95
|
+
workloadRef?: Maybe<Scalars['String']['output']>;
|
|
96
|
+
};
|
|
97
|
+
/** AWS placement and network policy settings. */
|
|
98
|
+
export type AwsManagedCollectorProviderOverrides = ManagedCollectorProviderOverrides & {
|
|
99
|
+
__typename?: 'AwsManagedCollectorProviderOverrides';
|
|
100
|
+
/** Additional security groups admitted to the Collector's OTLP ports. */
|
|
101
|
+
additionalSecurityGroupIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
102
|
+
/** Whether to fall back to the selected network's CIDR when no sender security group resolves. */
|
|
103
|
+
allowNetworkCidrFallback: Scalars['Boolean']['output'];
|
|
104
|
+
assignPublicIp: Scalars['Boolean']['output'];
|
|
105
|
+
/** AWS cluster reference used for the Collector service. */
|
|
106
|
+
clusterRef?: Maybe<Scalars['String']['output']>;
|
|
107
|
+
/** Customer-provisioned ECS task execution role passed to the Collector task definition. */
|
|
108
|
+
executionRoleArn?: Maybe<Scalars['String']['output']>;
|
|
109
|
+
/** Minimum prefix length for CIDR fallback; larger values allow narrower ranges. */
|
|
110
|
+
minFallbackPrefixLength?: Maybe<Scalars['Int']['output']>;
|
|
111
|
+
provider: Scalars['String']['output'];
|
|
112
|
+
/** Security groups attached to the Collector's network interfaces. */
|
|
113
|
+
securityGroupIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
114
|
+
/** Subnets to place the Collector in. Omit to let Odigos select eligible subnets. */
|
|
115
|
+
subnetIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
116
|
+
/** Whether to use AWS Fargate Spot capacity. */
|
|
117
|
+
useFargateSpot: Scalars['Boolean']['output'];
|
|
118
|
+
};
|
|
119
|
+
export type AwsManagedCollectorProviderOverridesInput = {
|
|
120
|
+
additionalSecurityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
121
|
+
allowNetworkCidrFallback?: InputMaybe<Scalars['Boolean']['input']>;
|
|
122
|
+
assignPublicIp?: InputMaybe<Scalars['Boolean']['input']>;
|
|
123
|
+
clusterRef?: InputMaybe<Scalars['String']['input']>;
|
|
124
|
+
/** Placement references supplied by the customer are never mutated or deleted by Odigos. */
|
|
125
|
+
executionRoleArn?: InputMaybe<Scalars['String']['input']>;
|
|
126
|
+
minFallbackPrefixLength?: InputMaybe<Scalars['Int']['input']>;
|
|
127
|
+
securityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
128
|
+
subnetIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
129
|
+
useFargateSpot?: InputMaybe<Scalars['Boolean']['input']>;
|
|
130
|
+
};
|
|
83
131
|
export type CodeAttributesConfig = {
|
|
84
132
|
__typename?: 'CodeAttributesConfig';
|
|
85
133
|
collectColumn?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -199,6 +247,8 @@ export type CreateActionInput = {
|
|
|
199
247
|
};
|
|
200
248
|
export type CreateDestinationInput = {
|
|
201
249
|
config?: InputMaybe<Scalars['JSON']['input']>;
|
|
250
|
+
/** When omitted, defaults to false (export active). */
|
|
251
|
+
disabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
202
252
|
name: Scalars['String']['input'];
|
|
203
253
|
region?: InputMaybe<Scalars['String']['input']>;
|
|
204
254
|
signals: Array<TelemetrySignal>;
|
|
@@ -215,6 +265,55 @@ export type CreateInstrumentationRuleInput = {
|
|
|
215
265
|
payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
|
|
216
266
|
ruleType: RuleType;
|
|
217
267
|
};
|
|
268
|
+
export type CreateManagedCollectorDestinationInput = {
|
|
269
|
+
/** Field values keyed by DestinationField.name for this type (validated server-side). */
|
|
270
|
+
config?: InputMaybe<Scalars['JSON']['input']>;
|
|
271
|
+
/** When omitted, defaults to false (export active). */
|
|
272
|
+
disabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
273
|
+
/**
|
|
274
|
+
* Unique within the region. Letters, digits, '-' and '_' only: it names the destination's exporters
|
|
275
|
+
* and pipelines in the rendered Collector configuration.
|
|
276
|
+
*/
|
|
277
|
+
name: Scalars['String']['input'];
|
|
278
|
+
/** The Collector this destination belongs to. */
|
|
279
|
+
region: Scalars['String']['input'];
|
|
280
|
+
/**
|
|
281
|
+
* TRACES, METRICS and LOGS; each must be supported by the type. PROFILES is not accepted: the managed
|
|
282
|
+
* Collector does not receive profiles.
|
|
283
|
+
*/
|
|
284
|
+
signals: Array<TelemetrySignal>;
|
|
285
|
+
/** An Odigos destination type key, as getManagedCollectorDestinationTypes lists it. */
|
|
286
|
+
type: Scalars['String']['input'];
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Settings for one region's Collector. The region and customer-provisioned deployment identity are
|
|
290
|
+
* required; other omitted fields inherit `collector.defaults`.
|
|
291
|
+
*
|
|
292
|
+
* An explicitly empty list means "none" and is NOT the same as omitting the field — omitting inherits the
|
|
293
|
+
* default's list, and clearing it is the only way to say this region wants none of them.
|
|
294
|
+
*/
|
|
295
|
+
export type CreateManagedCollectorInput = {
|
|
296
|
+
arch?: InputMaybe<Scalars['String']['input']>;
|
|
297
|
+
cpu?: InputMaybe<Scalars['String']['input']>;
|
|
298
|
+
/** Customer-provisioned deployment identity. AWS expects an IAM role ARN. */
|
|
299
|
+
deploymentRoleRef: Scalars['String']['input'];
|
|
300
|
+
endpointOverride?: InputMaybe<Scalars['String']['input']>;
|
|
301
|
+
imageRepositoryOverride?: InputMaybe<Scalars['String']['input']>;
|
|
302
|
+
ingress?: InputMaybe<ManagedCollectorIngressInput>;
|
|
303
|
+
logRetentionDays?: InputMaybe<Scalars['Int']['input']>;
|
|
304
|
+
memory?: InputMaybe<Scalars['String']['input']>;
|
|
305
|
+
/**
|
|
306
|
+
* Pin the Collector to one network. Omit to let Odigos select the region's only eligible network;
|
|
307
|
+
* it refuses to guess when several are eligible and reports the candidates.
|
|
308
|
+
*/
|
|
309
|
+
networkId?: InputMaybe<Scalars['String']['input']>;
|
|
310
|
+
providerOverrides?: InputMaybe<ManagedCollectorProviderOverridesInput>;
|
|
311
|
+
region: Scalars['String']['input'];
|
|
312
|
+
/** How many workloads one cutover pass may re-point at this Collector. 0 uses the connector default. */
|
|
313
|
+
rolloutBatchSize?: InputMaybe<Scalars['Int']['input']>;
|
|
314
|
+
scaling?: InputMaybe<ManagedCollectorScalingInput>;
|
|
315
|
+
transport?: InputMaybe<ManagedCollectorTransportInput>;
|
|
316
|
+
};
|
|
218
317
|
export type CreateSourceInput = {
|
|
219
318
|
config?: InputMaybe<SourceConfigInput>;
|
|
220
319
|
enabled: Scalars['Boolean']['input'];
|
|
@@ -285,6 +384,7 @@ export type DeleteSourcePayload = {
|
|
|
285
384
|
export type Destination = {
|
|
286
385
|
__typename?: 'Destination';
|
|
287
386
|
config?: Maybe<Scalars['JSON']['output']>;
|
|
387
|
+
disabled: Scalars['Boolean']['output'];
|
|
288
388
|
name: Scalars['String']['output'];
|
|
289
389
|
region?: Maybe<Scalars['String']['output']>;
|
|
290
390
|
signals: Array<TelemetrySignal>;
|
|
@@ -331,6 +431,20 @@ export type DestinationType = {
|
|
|
331
431
|
supportedSignals: DestinationSupportedSignals;
|
|
332
432
|
type: Scalars['String']['output'];
|
|
333
433
|
};
|
|
434
|
+
export type DestroyManagedCollectorDestinationInput = {
|
|
435
|
+
name: Scalars['String']['input'];
|
|
436
|
+
region: Scalars['String']['input'];
|
|
437
|
+
};
|
|
438
|
+
export type DestroyManagedCollectorDestinationPayload = {
|
|
439
|
+
__typename?: 'DestroyManagedCollectorDestinationPayload';
|
|
440
|
+
/**
|
|
441
|
+
* False when there was nothing by that name in that region. Not an error: deleting something already
|
|
442
|
+
* gone is the requested end state.
|
|
443
|
+
*/
|
|
444
|
+
deleted: Scalars['Boolean']['output'];
|
|
445
|
+
name: Scalars['String']['output'];
|
|
446
|
+
region: Scalars['String']['output'];
|
|
447
|
+
};
|
|
334
448
|
export type DiagnoseBundle = {
|
|
335
449
|
__typename?: 'DiagnoseBundle';
|
|
336
450
|
contentBase64?: Maybe<Scalars['String']['output']>;
|
|
@@ -613,6 +727,40 @@ export type InstrumentationRuleTypeOption = {
|
|
|
613
727
|
supportedLanguages: Array<Scalars['String']['output']>;
|
|
614
728
|
type: Scalars['String']['output'];
|
|
615
729
|
};
|
|
730
|
+
/**
|
|
731
|
+
* Parameters for issuing the OpAMP credential that a customer-managed Collector uses to connect to
|
|
732
|
+
* Odigos.
|
|
733
|
+
*
|
|
734
|
+
* This operation is available only for a Collector deployed in manual mode. `networkId` is the network
|
|
735
|
+
* where the customer will deploy the Collector, and `secretRef` identifies the customer-owned secret
|
|
736
|
+
* where they will store the returned authorization header.
|
|
737
|
+
*/
|
|
738
|
+
export type IssueManagedCollectorCredentialInput = {
|
|
739
|
+
networkId: Scalars['String']['input'];
|
|
740
|
+
region: Scalars['String']['input'];
|
|
741
|
+
/**
|
|
742
|
+
* Replace an existing active credential. Use this when the prior one was not received or must be
|
|
743
|
+
* rotated; the previous credential remains valid until its replacement connects.
|
|
744
|
+
*/
|
|
745
|
+
rotate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
746
|
+
/** A customer-owned secret reference. Odigos records the reference but never writes this secret. */
|
|
747
|
+
secretRef: Scalars['String']['input'];
|
|
748
|
+
};
|
|
749
|
+
/**
|
|
750
|
+
* The one-time OpAMP credential for a customer-managed Collector.
|
|
751
|
+
*
|
|
752
|
+
* `authorizationHeader` is revealed only by the successful issuance response and is never retained by
|
|
753
|
+
* Odigos. Store it immediately in `secretRef` and redeploy the Collector. If this response is lost, issue
|
|
754
|
+
* a replacement credential; the value cannot be retrieved again.
|
|
755
|
+
*/
|
|
756
|
+
export type IssueManagedCollectorCredentialPayload = {
|
|
757
|
+
__typename?: 'IssueManagedCollectorCredentialPayload';
|
|
758
|
+
/** The complete HTTP Authorization header value, including the Bearer scheme. */
|
|
759
|
+
authorizationHeader: Scalars['String']['output'];
|
|
760
|
+
collectorId: Scalars['String']['output'];
|
|
761
|
+
credentialId: Scalars['String']['output'];
|
|
762
|
+
secretRef: Scalars['String']['output'];
|
|
763
|
+
};
|
|
616
764
|
export type JavaProbe = {
|
|
617
765
|
__typename?: 'JavaProbe';
|
|
618
766
|
className: Scalars['String']['output'];
|
|
@@ -640,6 +788,408 @@ export type LambdaWorkloadDetails = WorkloadDetails & {
|
|
|
640
788
|
/** Lambda-managed runtime identifier (e.g. "python3.12", "java21"). */
|
|
641
789
|
runtime?: Maybe<Scalars['String']['output']>;
|
|
642
790
|
};
|
|
791
|
+
/**
|
|
792
|
+
* Whether Odigos may act on this Collector's cloud objects.
|
|
793
|
+
*
|
|
794
|
+
* Two independent bits, never one enum: `mode` says who converges the Collector, `origin` says who
|
|
795
|
+
* created its objects. Only automatic + odigos may be deleted; automatic + customer is converged and
|
|
796
|
+
* never deleted; either manual mode is observed and configured but never written to.
|
|
797
|
+
*/
|
|
798
|
+
export type ManagedCollectorAuthority = {
|
|
799
|
+
__typename?: 'ManagedCollectorAuthority';
|
|
800
|
+
/** mine | predecessor | foreign | unattributed | none. */
|
|
801
|
+
attribution: Scalars['String']['output'];
|
|
802
|
+
/**
|
|
803
|
+
* Odigos may destroy these objects. Requires mutable AND origin=odigos AND a matching record in the
|
|
804
|
+
* connector's own state — a tag alone, which a customer could write by hand, is never sufficient.
|
|
805
|
+
*/
|
|
806
|
+
deletable: Scalars['Boolean']['output'];
|
|
807
|
+
/** automatic | manual — who deploys and converges. */
|
|
808
|
+
mode: Scalars['String']['output'];
|
|
809
|
+
/** Odigos may write to these objects (converge, re-tag, scale). */
|
|
810
|
+
mutable: Scalars['Boolean']['output'];
|
|
811
|
+
/** odigos | customer — who created the underlying cloud objects. */
|
|
812
|
+
origin: Scalars['String']['output'];
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* A Collector that connected and then rejected the configuration pushed to it, or never connected at all.
|
|
816
|
+
* The last known-good configuration stays in force, so this is a "cannot change it" condition rather than
|
|
817
|
+
* a "it stopped working" one.
|
|
818
|
+
*/
|
|
819
|
+
export type ManagedCollectorConfigIssueDetails = ManagedCollectorIssueDetails & {
|
|
820
|
+
__typename?: 'ManagedCollectorConfigIssueDetails';
|
|
821
|
+
code: Scalars['String']['output'];
|
|
822
|
+
/** Hash still in force on the Collector, if it has ever accepted one. */
|
|
823
|
+
lastGoodConfigHash?: Maybe<Scalars['String']['output']>;
|
|
824
|
+
/** Hash of the configuration that was refused. */
|
|
825
|
+
rejectedConfigHash?: Maybe<Scalars['String']['output']>;
|
|
826
|
+
/** The Supervisor's own validation error, verbatim. */
|
|
827
|
+
validationError?: Maybe<Scalars['String']['output']>;
|
|
828
|
+
};
|
|
829
|
+
/**
|
|
830
|
+
* A condition fixed by setting something under `collector.regions.<region>` — no usable network segments,
|
|
831
|
+
* no egress route, no network access policy resolving, a refused TLS or ingress value, or several eligible
|
|
832
|
+
* networks with none pinned.
|
|
833
|
+
*
|
|
834
|
+
* Carries the region and the key so a client can send someone straight to the setting instead of asking
|
|
835
|
+
* them to find it.
|
|
836
|
+
*/
|
|
837
|
+
export type ManagedCollectorConfigurationIssueDetails = ManagedCollectorIssueDetails & {
|
|
838
|
+
__typename?: 'ManagedCollectorConfigurationIssueDetails';
|
|
839
|
+
/**
|
|
840
|
+
* The candidates a refusal was choosing between, when the refusal was an ambiguity — e.g. the eligible
|
|
841
|
+
* networks found in this region when none was pinned. Empty for every other condition.
|
|
842
|
+
*
|
|
843
|
+
* Present because "Odigos refused to guess" is only actionable if the reader is told what it was
|
|
844
|
+
* choosing between.
|
|
845
|
+
*/
|
|
846
|
+
candidates?: Maybe<Array<Scalars['String']['output']>>;
|
|
847
|
+
code: Scalars['String']['output'];
|
|
848
|
+
/** The value that was refused, when there was one. Null when the setting is simply absent. */
|
|
849
|
+
refusedValue?: Maybe<Scalars['String']['output']>;
|
|
850
|
+
region: Scalars['String']['output'];
|
|
851
|
+
/** The setting to change, relative to the region, e.g. "networkId", "tls.hostname". */
|
|
852
|
+
settingKey: Scalars['String']['output'];
|
|
853
|
+
};
|
|
854
|
+
/**
|
|
855
|
+
* What is actually deployed and running, as last observed. Null fields mean not yet built or not yet
|
|
856
|
+
* observed, which is normal before the first successful convergence.
|
|
857
|
+
*/
|
|
858
|
+
export type ManagedCollectorCurrent = {
|
|
859
|
+
__typename?: 'ManagedCollectorCurrent';
|
|
860
|
+
/**
|
|
861
|
+
* Hash of the configuration last accepted over OpAMP, and when it was pushed. A hash differing from
|
|
862
|
+
* what the connector would render now is a configuration push still in flight or refused.
|
|
863
|
+
*/
|
|
864
|
+
configHash?: Maybe<Scalars['String']['output']>;
|
|
865
|
+
configPushedAt?: Maybe<Scalars['String']['output']>;
|
|
866
|
+
endpoint: ManagedCollectorEndpoint;
|
|
867
|
+
/**
|
|
868
|
+
* RFC3339 timestamp this Collector FIRST reported ready; null when it never has.
|
|
869
|
+
*
|
|
870
|
+
* The gate the workload cutover runs on: until it is set, no workload has been re-pointed at this
|
|
871
|
+
* Collector. Reported because "deployed" and "workloads are actually using it" are different facts and a
|
|
872
|
+
* customer watching a rollout needs the second one.
|
|
873
|
+
*/
|
|
874
|
+
firstReadyAt?: Maybe<Scalars['String']['output']>;
|
|
875
|
+
image?: Maybe<ManagedCollectorImage>;
|
|
876
|
+
/**
|
|
877
|
+
* RFC3339 expiry of the enterprise licence the Collector runs under; null when not yet provisioned.
|
|
878
|
+
*
|
|
879
|
+
* Its own field rather than only an issue, because an expired licence and a rejected configuration look
|
|
880
|
+
* identical from outside — the container will not start either way — and send a reader to opposite ends
|
|
881
|
+
* of the product.
|
|
882
|
+
*/
|
|
883
|
+
licenseExpiresAt?: Maybe<Scalars['String']['output']>;
|
|
884
|
+
scaling: ManagedCollectorScalingState;
|
|
885
|
+
};
|
|
886
|
+
/**
|
|
887
|
+
* Configuration for this region, as resolved from the connector's operational config
|
|
888
|
+
* (`collector.regions.<region>`, over `collector.defaults`). Compare against ManagedCollectorCurrent to
|
|
889
|
+
* see drift.
|
|
890
|
+
*/
|
|
891
|
+
export type ManagedCollectorDesired = {
|
|
892
|
+
__typename?: 'ManagedCollectorDesired';
|
|
893
|
+
arch: Scalars['String']['output'];
|
|
894
|
+
cpu: Scalars['String']['output'];
|
|
895
|
+
/** Customer-provisioned identity used for Collector operations in this region. */
|
|
896
|
+
deploymentRoleRef?: Maybe<Scalars['String']['output']>;
|
|
897
|
+
/**
|
|
898
|
+
* Whether this region gets a Collector at all. Resolved: an unset region inherits the feature
|
|
899
|
+
* switch, and an explicit false wins over it.
|
|
900
|
+
*/
|
|
901
|
+
enabled: Scalars['Boolean']['output'];
|
|
902
|
+
/** When set, Odigos creates no load balancer and publishes this address instead. */
|
|
903
|
+
endpointOverride?: Maybe<Scalars['String']['output']>;
|
|
904
|
+
imageRepositoryOverride?: Maybe<Scalars['String']['output']>;
|
|
905
|
+
ingress: ManagedCollectorIngress;
|
|
906
|
+
logRetentionDays: Scalars['Int']['output'];
|
|
907
|
+
/**
|
|
908
|
+
* Also sizes the Collector's memory_limiter, which is why changing it is a configuration push as
|
|
909
|
+
* well as a workload change.
|
|
910
|
+
*/
|
|
911
|
+
memory: Scalars['String']['output'];
|
|
912
|
+
/**
|
|
913
|
+
* The network the customer pinned the Collector to. Empty means Odigos selects the region's only
|
|
914
|
+
* eligible network, and refuses to guess when several are eligible.
|
|
915
|
+
*/
|
|
916
|
+
networkId?: Maybe<Scalars['String']['output']>;
|
|
917
|
+
/** Provider-specific desired deployment settings. */
|
|
918
|
+
providerOverrides: ManagedCollectorProviderOverrides;
|
|
919
|
+
scaling: ManagedCollectorScalingTarget;
|
|
920
|
+
transport: ManagedCollectorTransport;
|
|
921
|
+
};
|
|
922
|
+
/** Provider-specific infrastructure references, discriminated by `provider`. */
|
|
923
|
+
export type ManagedCollectorDetails = {
|
|
924
|
+
/** aws | azure | gcp. */
|
|
925
|
+
provider: Scalars['String']['output'];
|
|
926
|
+
};
|
|
927
|
+
export type ManagedCollectorEndpoint = {
|
|
928
|
+
__typename?: 'ManagedCollectorEndpoint';
|
|
929
|
+
/** OTLP/gRPC address workloads export to; null before one exists. */
|
|
930
|
+
grpc?: Maybe<Scalars['String']['output']>;
|
|
931
|
+
/** OTLP/HTTP address; null when the provider or configuration exposes only one port. */
|
|
932
|
+
http?: Maybe<Scalars['String']['output']>;
|
|
933
|
+
/** Which ingress tier is actually admitting traffic, which may be narrower or wider than requested. */
|
|
934
|
+
ingressTier?: Maybe<Scalars['String']['output']>;
|
|
935
|
+
/**
|
|
936
|
+
* created | endpointOverride — whether Odigos built this address or is echoing back one the
|
|
937
|
+
* customer supplied.
|
|
938
|
+
*/
|
|
939
|
+
source: Scalars['String']['output'];
|
|
940
|
+
/** The transport actually in effect, which may lag ManagedCollectorTransport.mode mid-change. */
|
|
941
|
+
tlsMode?: Maybe<Scalars['String']['output']>;
|
|
942
|
+
/** Where TLS terminates: none | platform | loadBalancer | collector. */
|
|
943
|
+
tlsTermination?: Maybe<Scalars['String']['output']>;
|
|
944
|
+
};
|
|
945
|
+
export type ManagedCollectorImage = {
|
|
946
|
+
__typename?: 'ManagedCollectorImage';
|
|
947
|
+
arch: Scalars['String']['output'];
|
|
948
|
+
/** Manifest-list digest actually deployed, e.g. "sha256:…". This, not the tag, is the pin. */
|
|
949
|
+
digest: Scalars['String']['output'];
|
|
950
|
+
tag?: Maybe<Scalars['String']['output']>;
|
|
951
|
+
};
|
|
952
|
+
/** Which senders are admitted to the Collector's OTLP ports. */
|
|
953
|
+
export type ManagedCollectorIngress = {
|
|
954
|
+
__typename?: 'ManagedCollectorIngress';
|
|
955
|
+
/** Explicit IP ranges for senders, validated and never widened. */
|
|
956
|
+
additionalCidrs?: Maybe<Array<Scalars['String']['output']>>;
|
|
957
|
+
};
|
|
958
|
+
export type ManagedCollectorIngressInput = {
|
|
959
|
+
additionalCidrs?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
960
|
+
};
|
|
961
|
+
/**
|
|
962
|
+
* How to deploy this region's Collector by hand or by IaC.
|
|
963
|
+
*
|
|
964
|
+
* Served in BOTH modes on purpose, the same reason InstrumentationInstructions is: in manual mode these
|
|
965
|
+
* are what the customer applies, and in automatic mode they are the same infrastructure Odigos builds
|
|
966
|
+
* itself, which is what makes "what exactly did Odigos create here" answerable without a provider console.
|
|
967
|
+
*/
|
|
968
|
+
export type ManagedCollectorInstructions = {
|
|
969
|
+
__typename?: 'ManagedCollectorInstructions';
|
|
970
|
+
/** Customer-provisioned identity used to inspect or deploy the Collector. */
|
|
971
|
+
deploymentRoleRef?: Maybe<Scalars['String']['output']>;
|
|
972
|
+
/**
|
|
973
|
+
* The deployment rendered per delivery tool, in the connector's preferred order. Never empty.
|
|
974
|
+
*
|
|
975
|
+
* Reuses InstructionDocument from the workload instructions: the per-tool shape (variant, steps,
|
|
976
|
+
* content, unresolved) carries nothing workload-specific and needs no Collector-specific twin.
|
|
977
|
+
*/
|
|
978
|
+
documents: Array<InstructionDocument>;
|
|
979
|
+
/** automatic | manual — why the customer is being shown this. */
|
|
980
|
+
mode: Scalars['String']['output'];
|
|
981
|
+
/** The network the instructions place the Collector in; empty when placement has not resolved one. */
|
|
982
|
+
networkId: Scalars['String']['output'];
|
|
983
|
+
/**
|
|
984
|
+
* Caveats that belong with the instructions whichever tool is used — a platform limit, a value the
|
|
985
|
+
* customer must supply, a step that completes without telemetry actually flowing.
|
|
986
|
+
*/
|
|
987
|
+
notes: Array<Scalars['String']['output']>;
|
|
988
|
+
region: Scalars['String']['output'];
|
|
989
|
+
/** RFC3339 timestamp the instructions were computed. */
|
|
990
|
+
updatedAt: Scalars['String']['output'];
|
|
991
|
+
};
|
|
992
|
+
/** One structured condition behind a Collector's status. */
|
|
993
|
+
export type ManagedCollectorIssue = {
|
|
994
|
+
__typename?: 'ManagedCollectorIssue';
|
|
995
|
+
/**
|
|
996
|
+
* Stable identifier a client branches on, e.g. NoUsableSubnets, SubnetsNoEgress, TargetsUnhealthy,
|
|
997
|
+
* OpampNeverConnected, ConfigRejected, DestinationUnreachable, CredentialRevoked, LicenseExpired,
|
|
998
|
+
* ImagePullFailed, UnsupportedArchitecture, NameConflict, TeardownDeclined, AmbiguousHostNetwork.
|
|
999
|
+
* Additive: a code is never renamed or repurposed once shipped, and a client ignores one it does not
|
|
1000
|
+
* know.
|
|
1001
|
+
*/
|
|
1002
|
+
code: Scalars['String']['output'];
|
|
1003
|
+
/** Machine-readable facts, typed per `code`. Null for conditions whose message is the whole story. */
|
|
1004
|
+
details?: Maybe<ManagedCollectorIssueDetails>;
|
|
1005
|
+
message: Scalars['String']['output'];
|
|
1006
|
+
/** info | warning | error. */
|
|
1007
|
+
severity: Scalars['String']['output'];
|
|
1008
|
+
/** RFC3339 timestamp the condition was first observed. */
|
|
1009
|
+
since?: Maybe<Scalars['String']['output']>;
|
|
1010
|
+
/** True when the next reconcile is expected to clear this without anyone doing anything. */
|
|
1011
|
+
transient: Scalars['Boolean']['output'];
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* Facts behind one ManagedCollectorIssue, typed by its `code`. Same discriminator-plus-typed-branch
|
|
1015
|
+
* pattern as WorkloadIssueDetails: add a branch for a code whose remedy needs a value, rather than a new
|
|
1016
|
+
* convention for encoding data into a sentence.
|
|
1017
|
+
*/
|
|
1018
|
+
export type ManagedCollectorIssueDetails = {
|
|
1019
|
+
/**
|
|
1020
|
+
* The ManagedCollectorIssue.code this block describes, echoed so clients can branch without a
|
|
1021
|
+
* fragment.
|
|
1022
|
+
*/
|
|
1023
|
+
code: Scalars['String']['output'];
|
|
1024
|
+
};
|
|
1025
|
+
/**
|
|
1026
|
+
* Throughput and resource counters for one region's Collector.
|
|
1027
|
+
*
|
|
1028
|
+
* Two possible answers, and `live` says which one answered: the last cached snapshot, or a new periodic
|
|
1029
|
+
* own-metrics report received while this query waited. The Collector exports these metrics by OTLP/HTTP
|
|
1030
|
+
* to the endpoint offered during its OpAMP session. `observedAt` says when the Collector sampled them.
|
|
1031
|
+
*
|
|
1032
|
+
* Every counter is nullable because a Collector that has never connected has reported none of them, and a
|
|
1033
|
+
* zero would be a lie about a Collector nobody has heard from.
|
|
1034
|
+
*/
|
|
1035
|
+
export type ManagedCollectorMetrics = {
|
|
1036
|
+
__typename?: 'ManagedCollectorMetrics';
|
|
1037
|
+
acceptedLogRecords?: Maybe<Scalars['Int']['output']>;
|
|
1038
|
+
acceptedMetricPoints?: Maybe<Scalars['Int']['output']>;
|
|
1039
|
+
/** Spans/points/records the Collector's receivers accepted since it started. */
|
|
1040
|
+
acceptedSpans?: Maybe<Scalars['Int']['output']>;
|
|
1041
|
+
/** Process resource use as the Collector itself reports it. */
|
|
1042
|
+
cpuPercent?: Maybe<Scalars['Float']['output']>;
|
|
1043
|
+
failedLogRecords?: Maybe<Scalars['Int']['output']>;
|
|
1044
|
+
failedMetricPoints?: Maybe<Scalars['Int']['output']>;
|
|
1045
|
+
/** Failed to send and dropped after retries. The number that means telemetry was LOST. */
|
|
1046
|
+
failedSpans?: Maybe<Scalars['Int']['output']>;
|
|
1047
|
+
/** True when a new report arrived while this query waited; false for a cached snapshot. */
|
|
1048
|
+
live: Scalars['Boolean']['output'];
|
|
1049
|
+
memoryBytes?: Maybe<Scalars['Int']['output']>;
|
|
1050
|
+
/** RFC3339 timestamp the snapshot was TAKEN by the Collector, not when it was read here. */
|
|
1051
|
+
observedAt: Scalars['String']['output'];
|
|
1052
|
+
queueCapacity?: Maybe<Scalars['Int']['output']>;
|
|
1053
|
+
/** Exporter sending queue depth and capacity; a queue at capacity is about to drop. */
|
|
1054
|
+
queueSize?: Maybe<Scalars['Int']['output']>;
|
|
1055
|
+
refusedLogRecords?: Maybe<Scalars['Int']['output']>;
|
|
1056
|
+
refusedMetricPoints?: Maybe<Scalars['Int']['output']>;
|
|
1057
|
+
/** Refused by the receiver — backpressure, or a payload the Collector would not take. */
|
|
1058
|
+
refusedSpans?: Maybe<Scalars['Int']['output']>;
|
|
1059
|
+
region: Scalars['String']['output'];
|
|
1060
|
+
sentLogRecords?: Maybe<Scalars['Int']['output']>;
|
|
1061
|
+
sentMetricPoints?: Maybe<Scalars['Int']['output']>;
|
|
1062
|
+
/** Handed to the downstream destination successfully. */
|
|
1063
|
+
sentSpans?: Maybe<Scalars['Int']['output']>;
|
|
1064
|
+
/** Seconds since the Collector process started. */
|
|
1065
|
+
uptimeSeconds?: Maybe<Scalars['Int']['output']>;
|
|
1066
|
+
};
|
|
1067
|
+
/** Provider-specific settings for the desired Collector deployment. */
|
|
1068
|
+
export type ManagedCollectorProviderOverrides = {
|
|
1069
|
+
provider: Scalars['String']['output'];
|
|
1070
|
+
};
|
|
1071
|
+
export type ManagedCollectorProviderOverridesInput = {
|
|
1072
|
+
/** Provider-specific deployment settings. Supply only the block matching this connector's provider. */
|
|
1073
|
+
aws?: InputMaybe<AwsManagedCollectorProviderOverridesInput>;
|
|
1074
|
+
};
|
|
1075
|
+
/**
|
|
1076
|
+
* One managed Collector: identity, computed status, and the desired/current split that makes drift
|
|
1077
|
+
* visible rather than implicit in a stale message.
|
|
1078
|
+
*
|
|
1079
|
+
* Identity is `region`. Never the network (a Collector can be moved between networks in its region)
|
|
1080
|
+
* and never the OpAMP instance uid (that rotates every time the underlying task is replaced).
|
|
1081
|
+
*/
|
|
1082
|
+
export type ManagedCollectorReport = {
|
|
1083
|
+
__typename?: 'ManagedCollectorReport';
|
|
1084
|
+
/** Whether Odigos may write to, or destroy, this Collector's cloud objects. */
|
|
1085
|
+
authority: ManagedCollectorAuthority;
|
|
1086
|
+
/** What is actually running. A field differing from its `desired` counterpart IS drift. */
|
|
1087
|
+
current: ManagedCollectorCurrent;
|
|
1088
|
+
/** What the customer configured. Always current intent, even mid-convergence. */
|
|
1089
|
+
desired: ManagedCollectorDesired;
|
|
1090
|
+
/**
|
|
1091
|
+
* Provider-specific infrastructure references. A client not rendering an infrastructure view can
|
|
1092
|
+
* ignore this entirely.
|
|
1093
|
+
*/
|
|
1094
|
+
details?: Maybe<ManagedCollectorDetails>;
|
|
1095
|
+
/**
|
|
1096
|
+
* OpAMP instance uid of the current connection; null when never-connected. Useful for correlating
|
|
1097
|
+
* this report with the Collector's own Supervisor logs. Not an identity — see the type doc.
|
|
1098
|
+
*/
|
|
1099
|
+
instanceUid?: Maybe<Scalars['String']['output']>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Structured facts behind `status` and `message`, most severe first; empty when there is nothing to
|
|
1102
|
+
* report. Exists for the reason WorkloadIssue does: a client that must ACT on a condition should branch
|
|
1103
|
+
* on `code`, not parse a sentence back apart.
|
|
1104
|
+
*/
|
|
1105
|
+
issues: Array<ManagedCollectorIssue>;
|
|
1106
|
+
/** Provider-defined Collector implementation kind. Informational; identity is `region`. */
|
|
1107
|
+
kind: Scalars['String']['output'];
|
|
1108
|
+
/**
|
|
1109
|
+
* never-connected | live | stale.
|
|
1110
|
+
*
|
|
1111
|
+
* Three states rather than a boolean on purpose: never-connected and stale have different causes and
|
|
1112
|
+
* different remedies, and collapsing them loses the difference between a Collector nobody deployed and
|
|
1113
|
+
* one that broke. Stale means OpAMP has gone quiet — the Collector is very likely still running and
|
|
1114
|
+
* still exporting, because the data path does not depend on OpAMP, but its configuration can no longer
|
|
1115
|
+
* be changed, which is a real loss and has to be said.
|
|
1116
|
+
*/
|
|
1117
|
+
liveness: Scalars['String']['output'];
|
|
1118
|
+
/**
|
|
1119
|
+
* The reader-facing sentence. Kept alongside `issues` because a human wants one line to read first, and
|
|
1120
|
+
* because a status a client's version does not recognize still has to render as something.
|
|
1121
|
+
*/
|
|
1122
|
+
message: Scalars['String']['output'];
|
|
1123
|
+
/**
|
|
1124
|
+
* Provider network the Collector runs in. Provider-specific placement settings are in `desired.providerOverrides`.
|
|
1125
|
+
*
|
|
1126
|
+
* Placement metadata, not identity — see the schema header. Empty before placement has resolved a host.
|
|
1127
|
+
*/
|
|
1128
|
+
networkId: Scalars['String']['output'];
|
|
1129
|
+
region: Scalars['String']['output'];
|
|
1130
|
+
/** Pending | Deploying | Ready | Degraded | Error | AwaitingCustomer. */
|
|
1131
|
+
status: Scalars['String']['output'];
|
|
1132
|
+
/** RFC3339 timestamp of the last report refresh. */
|
|
1133
|
+
updatedAt: Scalars['String']['output'];
|
|
1134
|
+
};
|
|
1135
|
+
/** Scaling policy. `mode` is manual (fixed desiredCount) or auto (the platform autoscaler bounds). */
|
|
1136
|
+
export type ManagedCollectorScalingInput = {
|
|
1137
|
+
desiredCount?: InputMaybe<Scalars['Int']['input']>;
|
|
1138
|
+
maxCount?: InputMaybe<Scalars['Int']['input']>;
|
|
1139
|
+
minCount?: InputMaybe<Scalars['Int']['input']>;
|
|
1140
|
+
mode: Scalars['String']['input'];
|
|
1141
|
+
targetCpuPercent?: InputMaybe<Scalars['Int']['input']>;
|
|
1142
|
+
targetMemoryPercent?: InputMaybe<Scalars['Int']['input']>;
|
|
1143
|
+
};
|
|
1144
|
+
/**
|
|
1145
|
+
* Scaling as last converged and observed. runningCount is live; the rest reflect the target in force
|
|
1146
|
+
* at that convergence and may lag ManagedCollectorScalingTarget mid-rollout.
|
|
1147
|
+
*/
|
|
1148
|
+
export type ManagedCollectorScalingState = {
|
|
1149
|
+
__typename?: 'ManagedCollectorScalingState';
|
|
1150
|
+
desiredCount?: Maybe<Scalars['Int']['output']>;
|
|
1151
|
+
maxCount?: Maybe<Scalars['Int']['output']>;
|
|
1152
|
+
minCount?: Maybe<Scalars['Int']['output']>;
|
|
1153
|
+
mode: Scalars['String']['output'];
|
|
1154
|
+
runningCount?: Maybe<Scalars['Int']['output']>;
|
|
1155
|
+
};
|
|
1156
|
+
/** Scaling as configured. mode "manual" reads desiredCount; mode "auto" reads the min/max/target trio. */
|
|
1157
|
+
export type ManagedCollectorScalingTarget = {
|
|
1158
|
+
__typename?: 'ManagedCollectorScalingTarget';
|
|
1159
|
+
desiredCount?: Maybe<Scalars['Int']['output']>;
|
|
1160
|
+
maxCount?: Maybe<Scalars['Int']['output']>;
|
|
1161
|
+
minCount?: Maybe<Scalars['Int']['output']>;
|
|
1162
|
+
/** manual | auto. */
|
|
1163
|
+
mode: Scalars['String']['output'];
|
|
1164
|
+
targetCpuPercent?: Maybe<Scalars['Int']['output']>;
|
|
1165
|
+
targetMemoryPercent?: Maybe<Scalars['Int']['output']>;
|
|
1166
|
+
};
|
|
1167
|
+
/**
|
|
1168
|
+
* How workloads reach the Collector. One setting per region, resolved in one place so the deployer, the
|
|
1169
|
+
* published artifacts and the observer cannot hold three different ideas of it.
|
|
1170
|
+
*/
|
|
1171
|
+
export type ManagedCollectorTransport = {
|
|
1172
|
+
__typename?: 'ManagedCollectorTransport';
|
|
1173
|
+
/** Reference to a certificate or secret containing it. Never a certificate or key value. */
|
|
1174
|
+
certificateRef?: Maybe<Scalars['String']['output']>;
|
|
1175
|
+
/**
|
|
1176
|
+
* A hostname the customer owns, required by every mode that presents a certificate.
|
|
1177
|
+
*
|
|
1178
|
+
* A load balancer's own generated DNS name is not issuable by any CA, so a certificate configured
|
|
1179
|
+
* against it would fail verification on every export — which is why a certificate mode without this is
|
|
1180
|
+
* refused rather than attempted.
|
|
1181
|
+
*/
|
|
1182
|
+
hostname?: Maybe<Scalars['String']['output']>;
|
|
1183
|
+
/** off | platform | loadBalancer | collector. Empty means the provider default. */
|
|
1184
|
+
mode?: Maybe<Scalars['String']['output']>;
|
|
1185
|
+
};
|
|
1186
|
+
export type ManagedCollectorTransportInput = {
|
|
1187
|
+
/** A provider certificate identifier or a secret reference. Never a certificate or key value. */
|
|
1188
|
+
certificateRef?: InputMaybe<Scalars['String']['input']>;
|
|
1189
|
+
hostname?: InputMaybe<Scalars['String']['input']>;
|
|
1190
|
+
/** off | platform | loadBalancer | collector. */
|
|
1191
|
+
mode?: InputMaybe<Scalars['String']['input']>;
|
|
1192
|
+
};
|
|
643
1193
|
export type Mutation = {
|
|
644
1194
|
__typename?: 'Mutation';
|
|
645
1195
|
cancelProfileBundle: Scalars['Boolean']['output'];
|
|
@@ -649,21 +1199,54 @@ export type Mutation = {
|
|
|
649
1199
|
createAction: Action;
|
|
650
1200
|
createDestination: Destination;
|
|
651
1201
|
createInstrumentationRule: InstrumentationRule;
|
|
1202
|
+
/**
|
|
1203
|
+
* Declare that this region should have a managed Collector, with the given settings.
|
|
1204
|
+
*
|
|
1205
|
+
* Writes configuration; the connector's reconcile loop builds the infrastructure on its next pass, so
|
|
1206
|
+
* the returned report is normally still Pending. Fails when this region already has one — use
|
|
1207
|
+
* updateManagedCollector to change it.
|
|
1208
|
+
*/
|
|
1209
|
+
createManagedCollector: ManagedCollectorReport;
|
|
1210
|
+
/**
|
|
1211
|
+
* Add a destination to one region's Collector.
|
|
1212
|
+
*
|
|
1213
|
+
* Takes effect as a configuration push over OpAMP on the next Collector reconcile — no redeployment and
|
|
1214
|
+
* no workload change. Fails when that region has no Collector configured, or already has a destination by
|
|
1215
|
+
* this name.
|
|
1216
|
+
*/
|
|
1217
|
+
createManagedCollectorDestination: Destination;
|
|
652
1218
|
createSource: Source;
|
|
653
1219
|
deleteAction: DeleteActionPayload;
|
|
654
1220
|
deleteDestination: DeleteDestinationPayload;
|
|
655
1221
|
deleteInstrumentationRule: DeleteInstrumentationRulePayload;
|
|
656
1222
|
deleteSource: DeleteSourcePayload;
|
|
1223
|
+
/** Remove one destination from a region's Collector. Idempotent. */
|
|
1224
|
+
destroyManagedCollectorDestination: DestroyManagedCollectorDestinationPayload;
|
|
657
1225
|
disableSourceProfiling: SlotResult;
|
|
658
1226
|
enableSourceProfiling: SlotResult;
|
|
659
1227
|
generateDiagnoseBundle: DiagnoseBundle;
|
|
660
1228
|
generateProfileBundle: ProfileBundle;
|
|
1229
|
+
/**
|
|
1230
|
+
* Issue the one-time OpAMP authorization header for a manually deployed Collector.
|
|
1231
|
+
*
|
|
1232
|
+
* Odigos does not create or update the referenced secret, or any other cloud resource. Persist the
|
|
1233
|
+
* returned header in `secretRef` and deploy or redeploy the Collector with it. Set `rotate` to replace
|
|
1234
|
+
* an existing credential, including when a prior one-time response was lost.
|
|
1235
|
+
*/
|
|
1236
|
+
issueManagedCollectorCredential: IssueManagedCollectorCredentialPayload;
|
|
661
1237
|
/** Trigger an out-of-band provider discovery refresh; returns true if a refresh was enqueued. */
|
|
662
1238
|
refreshDiscovery: Scalars['Boolean']['output'];
|
|
663
1239
|
/** Request bounded cleanup of connector-created resources. Not implemented in the discovery-only phase. */
|
|
664
1240
|
requestCleanup: Scalars['Boolean']['output'];
|
|
665
1241
|
restartSource: RestartSourcePayload;
|
|
666
1242
|
startBackgroundProfileBundle: ProfileBundleStatus;
|
|
1243
|
+
/**
|
|
1244
|
+
* Request teardown of one region's Collector.
|
|
1245
|
+
*
|
|
1246
|
+
* Idempotent — a Collector that is already gone returns deleted: true. Distinct from the generic
|
|
1247
|
+
* requestCleanup, which takes a reconcile id rather than identifying a resource.
|
|
1248
|
+
*/
|
|
1249
|
+
teardownManagedCollector: TeardownManagedCollectorPayload;
|
|
667
1250
|
testConnectionForDestination: TestConnectionResponse;
|
|
668
1251
|
/** Roll back instrumentation changes for the given reconcile id. Not implemented in the discovery-only phase. */
|
|
669
1252
|
triggerRollback: Scalars['Boolean']['output'];
|
|
@@ -671,6 +1254,15 @@ export type Mutation = {
|
|
|
671
1254
|
updateConfig: UpdateConfigPayload;
|
|
672
1255
|
updateDestination: Destination;
|
|
673
1256
|
updateInstrumentationRule: InstrumentationRule;
|
|
1257
|
+
/**
|
|
1258
|
+
* Change one region's Collector settings. Omitted fields keep their current value.
|
|
1259
|
+
*
|
|
1260
|
+
* Fails when the region has no Collector configured. Applied live: a size, scaling or ingress change is
|
|
1261
|
+
* converged on the next pass without a connector restart.
|
|
1262
|
+
*/
|
|
1263
|
+
updateManagedCollector: ManagedCollectorReport;
|
|
1264
|
+
/** Change one destination. Fails when that region has no destination by this name. */
|
|
1265
|
+
updateManagedCollectorDestination: Destination;
|
|
674
1266
|
/**
|
|
675
1267
|
* Replace the on-prem license JWT on this agent (writes license.jwt).
|
|
676
1268
|
* The token is verified before writing. Returns true on success.
|
|
@@ -698,6 +1290,12 @@ export type MutationCreateDestinationArgs = {
|
|
|
698
1290
|
export type MutationCreateInstrumentationRuleArgs = {
|
|
699
1291
|
input: CreateInstrumentationRuleInput;
|
|
700
1292
|
};
|
|
1293
|
+
export type MutationCreateManagedCollectorArgs = {
|
|
1294
|
+
input: CreateManagedCollectorInput;
|
|
1295
|
+
};
|
|
1296
|
+
export type MutationCreateManagedCollectorDestinationArgs = {
|
|
1297
|
+
input: CreateManagedCollectorDestinationInput;
|
|
1298
|
+
};
|
|
701
1299
|
export type MutationCreateSourceArgs = {
|
|
702
1300
|
input: CreateSourceInput;
|
|
703
1301
|
};
|
|
@@ -713,6 +1311,9 @@ export type MutationDeleteInstrumentationRuleArgs = {
|
|
|
713
1311
|
export type MutationDeleteSourceArgs = {
|
|
714
1312
|
input: DeleteSourceInput;
|
|
715
1313
|
};
|
|
1314
|
+
export type MutationDestroyManagedCollectorDestinationArgs = {
|
|
1315
|
+
input: DestroyManagedCollectorDestinationInput;
|
|
1316
|
+
};
|
|
716
1317
|
export type MutationDisableSourceProfilingArgs = {
|
|
717
1318
|
service: Scalars['String']['input'];
|
|
718
1319
|
};
|
|
@@ -726,6 +1327,9 @@ export type MutationGenerateProfileBundleArgs = {
|
|
|
726
1327
|
durationSeconds?: InputMaybe<Scalars['Int']['input']>;
|
|
727
1328
|
service?: InputMaybe<Scalars['String']['input']>;
|
|
728
1329
|
};
|
|
1330
|
+
export type MutationIssueManagedCollectorCredentialArgs = {
|
|
1331
|
+
input: IssueManagedCollectorCredentialInput;
|
|
1332
|
+
};
|
|
729
1333
|
export type MutationRequestCleanupArgs = {
|
|
730
1334
|
id: Scalars['String']['input'];
|
|
731
1335
|
};
|
|
@@ -736,6 +1340,9 @@ export type MutationStartBackgroundProfileBundleArgs = {
|
|
|
736
1340
|
durationSeconds?: InputMaybe<Scalars['Int']['input']>;
|
|
737
1341
|
service?: InputMaybe<Scalars['String']['input']>;
|
|
738
1342
|
};
|
|
1343
|
+
export type MutationTeardownManagedCollectorArgs = {
|
|
1344
|
+
input: TeardownManagedCollectorInput;
|
|
1345
|
+
};
|
|
739
1346
|
export type MutationTestConnectionForDestinationArgs = {
|
|
740
1347
|
input: TestConnectionDestinationInput;
|
|
741
1348
|
};
|
|
@@ -754,6 +1361,12 @@ export type MutationUpdateDestinationArgs = {
|
|
|
754
1361
|
export type MutationUpdateInstrumentationRuleArgs = {
|
|
755
1362
|
input: UpdateInstrumentationRuleInput;
|
|
756
1363
|
};
|
|
1364
|
+
export type MutationUpdateManagedCollectorArgs = {
|
|
1365
|
+
input: UpdateManagedCollectorInput;
|
|
1366
|
+
};
|
|
1367
|
+
export type MutationUpdateManagedCollectorDestinationArgs = {
|
|
1368
|
+
input: UpdateManagedCollectorDestinationInput;
|
|
1369
|
+
};
|
|
757
1370
|
export type MutationUpdateOnPremLicenseArgs = {
|
|
758
1371
|
token: Scalars['String']['input'];
|
|
759
1372
|
};
|
|
@@ -867,13 +1480,23 @@ export type Query = {
|
|
|
867
1480
|
computePlatformReports: Array<ComputePlatformReport>;
|
|
868
1481
|
config: Scalars['JSON']['output'];
|
|
869
1482
|
configDefaults: Scalars['JSON']['output'];
|
|
870
|
-
/**
|
|
1483
|
+
/**
|
|
1484
|
+
* Per-region collector statuses.
|
|
1485
|
+
* @deprecated Use managedCollectorReports, which types what this packs into one prose message. Kept for one release so existing clients keep working.
|
|
1486
|
+
*/
|
|
871
1487
|
connectorCollectorStatuses: Array<ConnectorCollectorStatus>;
|
|
872
1488
|
/** Computed health of this connector runtime. */
|
|
873
1489
|
connectorRuntimeHealth: ConnectorRuntimeHealth;
|
|
874
1490
|
destination?: Maybe<Destination>;
|
|
875
1491
|
destinationTypes: Array<DestinationType>;
|
|
876
1492
|
destinations: Array<Destination>;
|
|
1493
|
+
/** One destination of one region's Collector; null when that region has none by that name. */
|
|
1494
|
+
getManagedCollectorDestination?: Maybe<Destination>;
|
|
1495
|
+
/**
|
|
1496
|
+
* The destination types a managed Collector can export to: the whole Odigos destination catalog, in the
|
|
1497
|
+
* same shape destinationTypes serves it.
|
|
1498
|
+
*/
|
|
1499
|
+
getManagedCollectorDestinationTypes: Array<DestinationType>;
|
|
877
1500
|
/**
|
|
878
1501
|
* How to instrument one workload, keyed the same way as workloadReport. Null when the workload is unknown, or
|
|
879
1502
|
* when its type has no instrumentation defined on this connector.
|
|
@@ -882,6 +1505,25 @@ export type Query = {
|
|
|
882
1505
|
instrumentationRule?: Maybe<InstrumentationRule>;
|
|
883
1506
|
instrumentationRuleTypes: Array<InstrumentationRuleTypeOption>;
|
|
884
1507
|
instrumentationRules: Array<InstrumentationRule>;
|
|
1508
|
+
/** Every destination one region's Collector exports to, ordered by name. `region` is set on each. */
|
|
1509
|
+
listManagedCollectorDestinations: Array<Destination>;
|
|
1510
|
+
/**
|
|
1511
|
+
* How to deploy one region's Collector. Null when the region is unknown, or when the connector
|
|
1512
|
+
* publishes no deployment instructions for its Collector type.
|
|
1513
|
+
*/
|
|
1514
|
+
managedCollectorInstructions?: Maybe<ManagedCollectorInstructions>;
|
|
1515
|
+
/**
|
|
1516
|
+
* Counters for one region's Collector; null when none is recorded there or it has never reported.
|
|
1517
|
+
*
|
|
1518
|
+
* Cached by default. `refresh: true` waits briefly for the next periodic own-metrics report and falls
|
|
1519
|
+
* back to the cached one (with `live: false`) if no report arrives. OpAMP does not provide a synchronous
|
|
1520
|
+
* metrics request, so this argument cannot force a Collector to report immediately.
|
|
1521
|
+
*/
|
|
1522
|
+
managedCollectorMetrics?: Maybe<ManagedCollectorMetrics>;
|
|
1523
|
+
/** One Collector by region; null when this connector has none there. */
|
|
1524
|
+
managedCollectorReport?: Maybe<ManagedCollectorReport>;
|
|
1525
|
+
/** Every managed Collector this connector knows about, in both modes. */
|
|
1526
|
+
managedCollectorReports: Array<ManagedCollectorReport>;
|
|
885
1527
|
pipelineCounters: PipelineCounters;
|
|
886
1528
|
profileBundleStatus: ProfileBundleStatus;
|
|
887
1529
|
profileHotFunctions: HotFunctionsResult;
|
|
@@ -906,6 +1548,10 @@ export type QueryComputePlatformReportArgs = {
|
|
|
906
1548
|
export type QueryDestinationArgs = {
|
|
907
1549
|
name: Scalars['String']['input'];
|
|
908
1550
|
};
|
|
1551
|
+
export type QueryGetManagedCollectorDestinationArgs = {
|
|
1552
|
+
name: Scalars['String']['input'];
|
|
1553
|
+
region: Scalars['String']['input'];
|
|
1554
|
+
};
|
|
909
1555
|
export type QueryInstrumentationInstructionsArgs = {
|
|
910
1556
|
kind: Scalars['String']['input'];
|
|
911
1557
|
region?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -914,6 +1560,19 @@ export type QueryInstrumentationInstructionsArgs = {
|
|
|
914
1560
|
export type QueryInstrumentationRuleArgs = {
|
|
915
1561
|
name: Scalars['String']['input'];
|
|
916
1562
|
};
|
|
1563
|
+
export type QueryListManagedCollectorDestinationsArgs = {
|
|
1564
|
+
region: Scalars['String']['input'];
|
|
1565
|
+
};
|
|
1566
|
+
export type QueryManagedCollectorInstructionsArgs = {
|
|
1567
|
+
region: Scalars['String']['input'];
|
|
1568
|
+
};
|
|
1569
|
+
export type QueryManagedCollectorMetricsArgs = {
|
|
1570
|
+
refresh?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1571
|
+
region: Scalars['String']['input'];
|
|
1572
|
+
};
|
|
1573
|
+
export type QueryManagedCollectorReportArgs = {
|
|
1574
|
+
region: Scalars['String']['input'];
|
|
1575
|
+
};
|
|
917
1576
|
export type QueryProfileBundleStatusArgs = {
|
|
918
1577
|
jobId: Scalars['String']['input'];
|
|
919
1578
|
};
|
|
@@ -1101,6 +1760,28 @@ export type SystemdProcessDetails = ProcessDetails & {
|
|
|
1101
1760
|
/** Unit name without the .service suffix. */
|
|
1102
1761
|
unitName?: Maybe<Scalars['String']['output']>;
|
|
1103
1762
|
};
|
|
1763
|
+
export type TeardownManagedCollectorInput = {
|
|
1764
|
+
region: Scalars['String']['input'];
|
|
1765
|
+
};
|
|
1766
|
+
/** Outcome of a teardown request. */
|
|
1767
|
+
export type TeardownManagedCollectorPayload = {
|
|
1768
|
+
__typename?: 'TeardownManagedCollectorPayload';
|
|
1769
|
+
/**
|
|
1770
|
+
* True when nothing of this Collector remains, including when there was nothing to remove.
|
|
1771
|
+
*
|
|
1772
|
+
* False is a refusal, not an error: `message` names the reason, which is almost always that
|
|
1773
|
+
* ManagedCollectorAuthority did not permit it. A declined teardown is always reported, because silently
|
|
1774
|
+
* leaked infrastructure is the failure mode worth avoiding here.
|
|
1775
|
+
*/
|
|
1776
|
+
deleted: Scalars['Boolean']['output'];
|
|
1777
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
1778
|
+
region: Scalars['String']['output'];
|
|
1779
|
+
/**
|
|
1780
|
+
* Objects deliberately left standing, e.g. a customer-created load balancer Odigos adopted but may
|
|
1781
|
+
* not destroy. Empty when nothing was retained.
|
|
1782
|
+
*/
|
|
1783
|
+
retained: Array<Scalars['String']['output']>;
|
|
1784
|
+
};
|
|
1104
1785
|
export declare enum TelemetrySignal {
|
|
1105
1786
|
Logs = "LOGS",
|
|
1106
1787
|
Metrics = "METRICS",
|
|
@@ -1180,6 +1861,8 @@ export type UpdateConfigPayload = {
|
|
|
1180
1861
|
};
|
|
1181
1862
|
export type UpdateDestinationInput = {
|
|
1182
1863
|
config?: InputMaybe<Scalars['JSON']['input']>;
|
|
1864
|
+
/** When omitted, the existing disabled flag is left unchanged. */
|
|
1865
|
+
disabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1183
1866
|
name: Scalars['String']['input'];
|
|
1184
1867
|
region?: InputMaybe<Scalars['String']['input']>;
|
|
1185
1868
|
signals?: InputMaybe<Array<TelemetrySignal>>;
|
|
@@ -1195,6 +1878,50 @@ export type UpdateInstrumentationRuleInput = {
|
|
|
1195
1878
|
payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
|
|
1196
1879
|
ruleType?: InputMaybe<RuleType>;
|
|
1197
1880
|
};
|
|
1881
|
+
/**
|
|
1882
|
+
* A partial update: an omitted field keeps its current value, and `config`, when given, replaces the
|
|
1883
|
+
* whole map. `region` and `name` address the destination and are never themselves changed — create a new
|
|
1884
|
+
* one and delete the old to rename or move it.
|
|
1885
|
+
*/
|
|
1886
|
+
export type UpdateManagedCollectorDestinationInput = {
|
|
1887
|
+
config?: InputMaybe<Scalars['JSON']['input']>;
|
|
1888
|
+
/** When omitted, the existing disabled flag is left unchanged. */
|
|
1889
|
+
disabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1890
|
+
name: Scalars['String']['input'];
|
|
1891
|
+
region: Scalars['String']['input'];
|
|
1892
|
+
signals?: InputMaybe<Array<TelemetrySignal>>;
|
|
1893
|
+
type?: InputMaybe<Scalars['String']['input']>;
|
|
1894
|
+
};
|
|
1895
|
+
/**
|
|
1896
|
+
* A partial update of one region's settings: an omitted field is LEFT AS IT IS, not reset to the default.
|
|
1897
|
+
* Live — the next reconcile pass picks it up, with no connector restart.
|
|
1898
|
+
*/
|
|
1899
|
+
export type UpdateManagedCollectorInput = {
|
|
1900
|
+
arch?: InputMaybe<Scalars['String']['input']>;
|
|
1901
|
+
cpu?: InputMaybe<Scalars['String']['input']>;
|
|
1902
|
+
/** Replace the customer-provisioned deployment identity for this region. */
|
|
1903
|
+
deploymentRoleRef?: InputMaybe<Scalars['String']['input']>;
|
|
1904
|
+
/**
|
|
1905
|
+
* Setting this to false stops convergence and leaves everything running — it does NOT remove the
|
|
1906
|
+
* Collector. Use teardownManagedCollector to destroy it.
|
|
1907
|
+
*/
|
|
1908
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1909
|
+
endpointOverride?: InputMaybe<Scalars['String']['input']>;
|
|
1910
|
+
imageRepositoryOverride?: InputMaybe<Scalars['String']['input']>;
|
|
1911
|
+
ingress?: InputMaybe<ManagedCollectorIngressInput>;
|
|
1912
|
+
logRetentionDays?: InputMaybe<Scalars['Int']['input']>;
|
|
1913
|
+
memory?: InputMaybe<Scalars['String']['input']>;
|
|
1914
|
+
/**
|
|
1915
|
+
* Moving the Collector to another network is a REDEPLOYMENT of the same logical Collector: its
|
|
1916
|
+
* credential is replaced and its infrastructure rebuilt in the new network.
|
|
1917
|
+
*/
|
|
1918
|
+
networkId?: InputMaybe<Scalars['String']['input']>;
|
|
1919
|
+
providerOverrides?: InputMaybe<ManagedCollectorProviderOverridesInput>;
|
|
1920
|
+
region: Scalars['String']['input'];
|
|
1921
|
+
rolloutBatchSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1922
|
+
scaling?: InputMaybe<ManagedCollectorScalingInput>;
|
|
1923
|
+
transport?: InputMaybe<ManagedCollectorTransportInput>;
|
|
1924
|
+
};
|
|
1198
1925
|
export type UpdateSourceInput = {
|
|
1199
1926
|
config?: InputMaybe<SourceConfigInput>;
|
|
1200
1927
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1962,6 +2689,7 @@ export type DestinationFieldsFragment = {
|
|
|
1962
2689
|
region?: string | null;
|
|
1963
2690
|
config?: Record<string, any> | null;
|
|
1964
2691
|
signals: Array<TelemetrySignal>;
|
|
2692
|
+
disabled: boolean;
|
|
1965
2693
|
};
|
|
1966
2694
|
export type GetDestinationQueryVariables = Exact<{
|
|
1967
2695
|
name: Scalars['String']['input'];
|
|
@@ -1975,6 +2703,7 @@ export type GetDestinationQuery = {
|
|
|
1975
2703
|
region?: string | null;
|
|
1976
2704
|
config?: Record<string, any> | null;
|
|
1977
2705
|
signals: Array<TelemetrySignal>;
|
|
2706
|
+
disabled: boolean;
|
|
1978
2707
|
} | null;
|
|
1979
2708
|
};
|
|
1980
2709
|
export type GetDestinationsQueryVariables = Exact<{
|
|
@@ -1989,6 +2718,7 @@ export type GetDestinationsQuery = {
|
|
|
1989
2718
|
region?: string | null;
|
|
1990
2719
|
config?: Record<string, any> | null;
|
|
1991
2720
|
signals: Array<TelemetrySignal>;
|
|
2721
|
+
disabled: boolean;
|
|
1992
2722
|
}>;
|
|
1993
2723
|
};
|
|
1994
2724
|
export type GetDestinationTypesQueryVariables = Exact<{
|
|
@@ -2039,6 +2769,7 @@ export type CreateDestinationMutation = {
|
|
|
2039
2769
|
region?: string | null;
|
|
2040
2770
|
config?: Record<string, any> | null;
|
|
2041
2771
|
signals: Array<TelemetrySignal>;
|
|
2772
|
+
disabled: boolean;
|
|
2042
2773
|
};
|
|
2043
2774
|
};
|
|
2044
2775
|
export type UpdateDestinationMutationVariables = Exact<{
|
|
@@ -2053,6 +2784,7 @@ export type UpdateDestinationMutation = {
|
|
|
2053
2784
|
region?: string | null;
|
|
2054
2785
|
config?: Record<string, any> | null;
|
|
2055
2786
|
signals: Array<TelemetrySignal>;
|
|
2787
|
+
disabled: boolean;
|
|
2056
2788
|
};
|
|
2057
2789
|
};
|
|
2058
2790
|
export type DeleteDestinationMutationVariables = Exact<{
|
|
@@ -2575,6 +3307,906 @@ export type UpdateOnPremLicenseMutation = {
|
|
|
2575
3307
|
__typename?: 'Mutation';
|
|
2576
3308
|
updateOnPremLicense: boolean;
|
|
2577
3309
|
};
|
|
3310
|
+
export type GetManagedCollectorReportsQueryVariables = Exact<{
|
|
3311
|
+
[key: string]: never;
|
|
3312
|
+
}>;
|
|
3313
|
+
export type GetManagedCollectorReportsQuery = {
|
|
3314
|
+
__typename?: 'Query';
|
|
3315
|
+
managedCollectorReports: Array<{
|
|
3316
|
+
__typename?: 'ManagedCollectorReport';
|
|
3317
|
+
region: string;
|
|
3318
|
+
networkId: string;
|
|
3319
|
+
kind: string;
|
|
3320
|
+
status: string;
|
|
3321
|
+
message: string;
|
|
3322
|
+
liveness: string;
|
|
3323
|
+
instanceUid?: string | null;
|
|
3324
|
+
updatedAt: string;
|
|
3325
|
+
desired: {
|
|
3326
|
+
__typename?: 'ManagedCollectorDesired';
|
|
3327
|
+
enabled: boolean;
|
|
3328
|
+
networkId?: string | null;
|
|
3329
|
+
deploymentRoleRef?: string | null;
|
|
3330
|
+
cpu: string;
|
|
3331
|
+
memory: string;
|
|
3332
|
+
logRetentionDays: number;
|
|
3333
|
+
arch: string;
|
|
3334
|
+
imageRepositoryOverride?: string | null;
|
|
3335
|
+
endpointOverride?: string | null;
|
|
3336
|
+
scaling: {
|
|
3337
|
+
__typename?: 'ManagedCollectorScalingTarget';
|
|
3338
|
+
mode: string;
|
|
3339
|
+
desiredCount?: number | null;
|
|
3340
|
+
minCount?: number | null;
|
|
3341
|
+
maxCount?: number | null;
|
|
3342
|
+
targetCpuPercent?: number | null;
|
|
3343
|
+
targetMemoryPercent?: number | null;
|
|
3344
|
+
};
|
|
3345
|
+
transport: {
|
|
3346
|
+
__typename?: 'ManagedCollectorTransport';
|
|
3347
|
+
mode?: string | null;
|
|
3348
|
+
hostname?: string | null;
|
|
3349
|
+
certificateRef?: string | null;
|
|
3350
|
+
};
|
|
3351
|
+
ingress: {
|
|
3352
|
+
__typename?: 'ManagedCollectorIngress';
|
|
3353
|
+
additionalCidrs?: Array<string> | null;
|
|
3354
|
+
};
|
|
3355
|
+
providerOverrides: {
|
|
3356
|
+
__typename?: 'AwsManagedCollectorProviderOverrides';
|
|
3357
|
+
executionRoleArn?: string | null;
|
|
3358
|
+
subnetIds?: Array<string> | null;
|
|
3359
|
+
securityGroupIds?: Array<string> | null;
|
|
3360
|
+
clusterRef?: string | null;
|
|
3361
|
+
assignPublicIp: boolean;
|
|
3362
|
+
useFargateSpot: boolean;
|
|
3363
|
+
additionalSecurityGroupIds?: Array<string> | null;
|
|
3364
|
+
allowNetworkCidrFallback: boolean;
|
|
3365
|
+
minFallbackPrefixLength?: number | null;
|
|
3366
|
+
provider: string;
|
|
3367
|
+
};
|
|
3368
|
+
};
|
|
3369
|
+
current: {
|
|
3370
|
+
__typename?: 'ManagedCollectorCurrent';
|
|
3371
|
+
configHash?: string | null;
|
|
3372
|
+
configPushedAt?: string | null;
|
|
3373
|
+
licenseExpiresAt?: string | null;
|
|
3374
|
+
firstReadyAt?: string | null;
|
|
3375
|
+
endpoint: {
|
|
3376
|
+
__typename?: 'ManagedCollectorEndpoint';
|
|
3377
|
+
grpc?: string | null;
|
|
3378
|
+
http?: string | null;
|
|
3379
|
+
source: string;
|
|
3380
|
+
tlsMode?: string | null;
|
|
3381
|
+
tlsTermination?: string | null;
|
|
3382
|
+
ingressTier?: string | null;
|
|
3383
|
+
};
|
|
3384
|
+
scaling: {
|
|
3385
|
+
__typename?: 'ManagedCollectorScalingState';
|
|
3386
|
+
mode: string;
|
|
3387
|
+
desiredCount?: number | null;
|
|
3388
|
+
runningCount?: number | null;
|
|
3389
|
+
minCount?: number | null;
|
|
3390
|
+
maxCount?: number | null;
|
|
3391
|
+
};
|
|
3392
|
+
image?: {
|
|
3393
|
+
__typename?: 'ManagedCollectorImage';
|
|
3394
|
+
digest: string;
|
|
3395
|
+
tag?: string | null;
|
|
3396
|
+
arch: string;
|
|
3397
|
+
} | null;
|
|
3398
|
+
};
|
|
3399
|
+
authority: {
|
|
3400
|
+
__typename?: 'ManagedCollectorAuthority';
|
|
3401
|
+
mode: string;
|
|
3402
|
+
origin: string;
|
|
3403
|
+
attribution: string;
|
|
3404
|
+
mutable: boolean;
|
|
3405
|
+
deletable: boolean;
|
|
3406
|
+
};
|
|
3407
|
+
issues: Array<{
|
|
3408
|
+
__typename?: 'ManagedCollectorIssue';
|
|
3409
|
+
code: string;
|
|
3410
|
+
severity: string;
|
|
3411
|
+
message: string;
|
|
3412
|
+
since?: string | null;
|
|
3413
|
+
transient: boolean;
|
|
3414
|
+
details?: {
|
|
3415
|
+
__typename: 'ManagedCollectorConfigIssueDetails';
|
|
3416
|
+
rejectedConfigHash?: string | null;
|
|
3417
|
+
lastGoodConfigHash?: string | null;
|
|
3418
|
+
validationError?: string | null;
|
|
3419
|
+
code: string;
|
|
3420
|
+
} | {
|
|
3421
|
+
__typename: 'ManagedCollectorConfigurationIssueDetails';
|
|
3422
|
+
region: string;
|
|
3423
|
+
settingKey: string;
|
|
3424
|
+
refusedValue?: string | null;
|
|
3425
|
+
candidates?: Array<string> | null;
|
|
3426
|
+
code: string;
|
|
3427
|
+
} | null;
|
|
3428
|
+
}>;
|
|
3429
|
+
details?: {
|
|
3430
|
+
__typename: 'AwsManagedCollectorDetails';
|
|
3431
|
+
workloadRef?: string | null;
|
|
3432
|
+
revisionRef?: string | null;
|
|
3433
|
+
clusterRef?: string | null;
|
|
3434
|
+
loadBalancerRef?: string | null;
|
|
3435
|
+
targetGroupRefs?: Array<string> | null;
|
|
3436
|
+
securityGroupId?: string | null;
|
|
3437
|
+
subnetIds?: Array<string> | null;
|
|
3438
|
+
provider: string;
|
|
3439
|
+
} | null;
|
|
3440
|
+
}>;
|
|
3441
|
+
};
|
|
3442
|
+
export type GetManagedCollectorReportQueryVariables = Exact<{
|
|
3443
|
+
region: Scalars['String']['input'];
|
|
3444
|
+
}>;
|
|
3445
|
+
export type GetManagedCollectorReportQuery = {
|
|
3446
|
+
__typename?: 'Query';
|
|
3447
|
+
managedCollectorReport?: {
|
|
3448
|
+
__typename?: 'ManagedCollectorReport';
|
|
3449
|
+
region: string;
|
|
3450
|
+
networkId: string;
|
|
3451
|
+
kind: string;
|
|
3452
|
+
status: string;
|
|
3453
|
+
message: string;
|
|
3454
|
+
liveness: string;
|
|
3455
|
+
instanceUid?: string | null;
|
|
3456
|
+
updatedAt: string;
|
|
3457
|
+
desired: {
|
|
3458
|
+
__typename?: 'ManagedCollectorDesired';
|
|
3459
|
+
enabled: boolean;
|
|
3460
|
+
networkId?: string | null;
|
|
3461
|
+
deploymentRoleRef?: string | null;
|
|
3462
|
+
cpu: string;
|
|
3463
|
+
memory: string;
|
|
3464
|
+
logRetentionDays: number;
|
|
3465
|
+
arch: string;
|
|
3466
|
+
imageRepositoryOverride?: string | null;
|
|
3467
|
+
endpointOverride?: string | null;
|
|
3468
|
+
scaling: {
|
|
3469
|
+
__typename?: 'ManagedCollectorScalingTarget';
|
|
3470
|
+
mode: string;
|
|
3471
|
+
desiredCount?: number | null;
|
|
3472
|
+
minCount?: number | null;
|
|
3473
|
+
maxCount?: number | null;
|
|
3474
|
+
targetCpuPercent?: number | null;
|
|
3475
|
+
targetMemoryPercent?: number | null;
|
|
3476
|
+
};
|
|
3477
|
+
transport: {
|
|
3478
|
+
__typename?: 'ManagedCollectorTransport';
|
|
3479
|
+
mode?: string | null;
|
|
3480
|
+
hostname?: string | null;
|
|
3481
|
+
certificateRef?: string | null;
|
|
3482
|
+
};
|
|
3483
|
+
ingress: {
|
|
3484
|
+
__typename?: 'ManagedCollectorIngress';
|
|
3485
|
+
additionalCidrs?: Array<string> | null;
|
|
3486
|
+
};
|
|
3487
|
+
providerOverrides: {
|
|
3488
|
+
__typename?: 'AwsManagedCollectorProviderOverrides';
|
|
3489
|
+
executionRoleArn?: string | null;
|
|
3490
|
+
subnetIds?: Array<string> | null;
|
|
3491
|
+
securityGroupIds?: Array<string> | null;
|
|
3492
|
+
clusterRef?: string | null;
|
|
3493
|
+
assignPublicIp: boolean;
|
|
3494
|
+
useFargateSpot: boolean;
|
|
3495
|
+
additionalSecurityGroupIds?: Array<string> | null;
|
|
3496
|
+
allowNetworkCidrFallback: boolean;
|
|
3497
|
+
minFallbackPrefixLength?: number | null;
|
|
3498
|
+
provider: string;
|
|
3499
|
+
};
|
|
3500
|
+
};
|
|
3501
|
+
current: {
|
|
3502
|
+
__typename?: 'ManagedCollectorCurrent';
|
|
3503
|
+
configHash?: string | null;
|
|
3504
|
+
configPushedAt?: string | null;
|
|
3505
|
+
licenseExpiresAt?: string | null;
|
|
3506
|
+
firstReadyAt?: string | null;
|
|
3507
|
+
endpoint: {
|
|
3508
|
+
__typename?: 'ManagedCollectorEndpoint';
|
|
3509
|
+
grpc?: string | null;
|
|
3510
|
+
http?: string | null;
|
|
3511
|
+
source: string;
|
|
3512
|
+
tlsMode?: string | null;
|
|
3513
|
+
tlsTermination?: string | null;
|
|
3514
|
+
ingressTier?: string | null;
|
|
3515
|
+
};
|
|
3516
|
+
scaling: {
|
|
3517
|
+
__typename?: 'ManagedCollectorScalingState';
|
|
3518
|
+
mode: string;
|
|
3519
|
+
desiredCount?: number | null;
|
|
3520
|
+
runningCount?: number | null;
|
|
3521
|
+
minCount?: number | null;
|
|
3522
|
+
maxCount?: number | null;
|
|
3523
|
+
};
|
|
3524
|
+
image?: {
|
|
3525
|
+
__typename?: 'ManagedCollectorImage';
|
|
3526
|
+
digest: string;
|
|
3527
|
+
tag?: string | null;
|
|
3528
|
+
arch: string;
|
|
3529
|
+
} | null;
|
|
3530
|
+
};
|
|
3531
|
+
authority: {
|
|
3532
|
+
__typename?: 'ManagedCollectorAuthority';
|
|
3533
|
+
mode: string;
|
|
3534
|
+
origin: string;
|
|
3535
|
+
attribution: string;
|
|
3536
|
+
mutable: boolean;
|
|
3537
|
+
deletable: boolean;
|
|
3538
|
+
};
|
|
3539
|
+
issues: Array<{
|
|
3540
|
+
__typename?: 'ManagedCollectorIssue';
|
|
3541
|
+
code: string;
|
|
3542
|
+
severity: string;
|
|
3543
|
+
message: string;
|
|
3544
|
+
since?: string | null;
|
|
3545
|
+
transient: boolean;
|
|
3546
|
+
details?: {
|
|
3547
|
+
__typename: 'ManagedCollectorConfigIssueDetails';
|
|
3548
|
+
rejectedConfigHash?: string | null;
|
|
3549
|
+
lastGoodConfigHash?: string | null;
|
|
3550
|
+
validationError?: string | null;
|
|
3551
|
+
code: string;
|
|
3552
|
+
} | {
|
|
3553
|
+
__typename: 'ManagedCollectorConfigurationIssueDetails';
|
|
3554
|
+
region: string;
|
|
3555
|
+
settingKey: string;
|
|
3556
|
+
refusedValue?: string | null;
|
|
3557
|
+
candidates?: Array<string> | null;
|
|
3558
|
+
code: string;
|
|
3559
|
+
} | null;
|
|
3560
|
+
}>;
|
|
3561
|
+
details?: {
|
|
3562
|
+
__typename: 'AwsManagedCollectorDetails';
|
|
3563
|
+
workloadRef?: string | null;
|
|
3564
|
+
revisionRef?: string | null;
|
|
3565
|
+
clusterRef?: string | null;
|
|
3566
|
+
loadBalancerRef?: string | null;
|
|
3567
|
+
targetGroupRefs?: Array<string> | null;
|
|
3568
|
+
securityGroupId?: string | null;
|
|
3569
|
+
subnetIds?: Array<string> | null;
|
|
3570
|
+
provider: string;
|
|
3571
|
+
} | null;
|
|
3572
|
+
} | null;
|
|
3573
|
+
};
|
|
3574
|
+
export type GetManagedCollectorInstructionsQueryVariables = Exact<{
|
|
3575
|
+
region: Scalars['String']['input'];
|
|
3576
|
+
}>;
|
|
3577
|
+
export type GetManagedCollectorInstructionsQuery = {
|
|
3578
|
+
__typename?: 'Query';
|
|
3579
|
+
managedCollectorInstructions?: {
|
|
3580
|
+
__typename?: 'ManagedCollectorInstructions';
|
|
3581
|
+
region: string;
|
|
3582
|
+
deploymentRoleRef?: string | null;
|
|
3583
|
+
networkId: string;
|
|
3584
|
+
mode: string;
|
|
3585
|
+
notes: Array<string>;
|
|
3586
|
+
updatedAt: string;
|
|
3587
|
+
documents: Array<{
|
|
3588
|
+
__typename?: 'InstructionDocument';
|
|
3589
|
+
id: string;
|
|
3590
|
+
variant: string;
|
|
3591
|
+
variantLabel: string;
|
|
3592
|
+
title: string;
|
|
3593
|
+
description: string;
|
|
3594
|
+
steps: Array<string>;
|
|
3595
|
+
format: string;
|
|
3596
|
+
content: string;
|
|
3597
|
+
unresolved?: Array<{
|
|
3598
|
+
__typename?: 'InstructionInput';
|
|
3599
|
+
placeholder: string;
|
|
3600
|
+
description: string;
|
|
3601
|
+
}> | null;
|
|
3602
|
+
}>;
|
|
3603
|
+
} | null;
|
|
3604
|
+
};
|
|
3605
|
+
export type GetManagedCollectorMetricsQueryVariables = Exact<{
|
|
3606
|
+
region: Scalars['String']['input'];
|
|
3607
|
+
refresh?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3608
|
+
}>;
|
|
3609
|
+
export type GetManagedCollectorMetricsQuery = {
|
|
3610
|
+
__typename?: 'Query';
|
|
3611
|
+
managedCollectorMetrics?: {
|
|
3612
|
+
__typename?: 'ManagedCollectorMetrics';
|
|
3613
|
+
region: string;
|
|
3614
|
+
observedAt: string;
|
|
3615
|
+
live: boolean;
|
|
3616
|
+
acceptedSpans?: number | null;
|
|
3617
|
+
acceptedMetricPoints?: number | null;
|
|
3618
|
+
acceptedLogRecords?: number | null;
|
|
3619
|
+
refusedSpans?: number | null;
|
|
3620
|
+
refusedMetricPoints?: number | null;
|
|
3621
|
+
refusedLogRecords?: number | null;
|
|
3622
|
+
sentSpans?: number | null;
|
|
3623
|
+
sentMetricPoints?: number | null;
|
|
3624
|
+
sentLogRecords?: number | null;
|
|
3625
|
+
failedSpans?: number | null;
|
|
3626
|
+
failedMetricPoints?: number | null;
|
|
3627
|
+
failedLogRecords?: number | null;
|
|
3628
|
+
queueSize?: number | null;
|
|
3629
|
+
queueCapacity?: number | null;
|
|
3630
|
+
cpuPercent?: number | null;
|
|
3631
|
+
memoryBytes?: number | null;
|
|
3632
|
+
uptimeSeconds?: number | null;
|
|
3633
|
+
} | null;
|
|
3634
|
+
};
|
|
3635
|
+
export type CreateManagedCollectorMutationVariables = Exact<{
|
|
3636
|
+
input: CreateManagedCollectorInput;
|
|
3637
|
+
}>;
|
|
3638
|
+
export type CreateManagedCollectorMutation = {
|
|
3639
|
+
__typename?: 'Mutation';
|
|
3640
|
+
createManagedCollector: {
|
|
3641
|
+
__typename?: 'ManagedCollectorReport';
|
|
3642
|
+
region: string;
|
|
3643
|
+
networkId: string;
|
|
3644
|
+
kind: string;
|
|
3645
|
+
status: string;
|
|
3646
|
+
message: string;
|
|
3647
|
+
liveness: string;
|
|
3648
|
+
instanceUid?: string | null;
|
|
3649
|
+
updatedAt: string;
|
|
3650
|
+
desired: {
|
|
3651
|
+
__typename?: 'ManagedCollectorDesired';
|
|
3652
|
+
enabled: boolean;
|
|
3653
|
+
networkId?: string | null;
|
|
3654
|
+
deploymentRoleRef?: string | null;
|
|
3655
|
+
cpu: string;
|
|
3656
|
+
memory: string;
|
|
3657
|
+
logRetentionDays: number;
|
|
3658
|
+
arch: string;
|
|
3659
|
+
imageRepositoryOverride?: string | null;
|
|
3660
|
+
endpointOverride?: string | null;
|
|
3661
|
+
scaling: {
|
|
3662
|
+
__typename?: 'ManagedCollectorScalingTarget';
|
|
3663
|
+
mode: string;
|
|
3664
|
+
desiredCount?: number | null;
|
|
3665
|
+
minCount?: number | null;
|
|
3666
|
+
maxCount?: number | null;
|
|
3667
|
+
targetCpuPercent?: number | null;
|
|
3668
|
+
targetMemoryPercent?: number | null;
|
|
3669
|
+
};
|
|
3670
|
+
transport: {
|
|
3671
|
+
__typename?: 'ManagedCollectorTransport';
|
|
3672
|
+
mode?: string | null;
|
|
3673
|
+
hostname?: string | null;
|
|
3674
|
+
certificateRef?: string | null;
|
|
3675
|
+
};
|
|
3676
|
+
ingress: {
|
|
3677
|
+
__typename?: 'ManagedCollectorIngress';
|
|
3678
|
+
additionalCidrs?: Array<string> | null;
|
|
3679
|
+
};
|
|
3680
|
+
providerOverrides: {
|
|
3681
|
+
__typename?: 'AwsManagedCollectorProviderOverrides';
|
|
3682
|
+
executionRoleArn?: string | null;
|
|
3683
|
+
subnetIds?: Array<string> | null;
|
|
3684
|
+
securityGroupIds?: Array<string> | null;
|
|
3685
|
+
clusterRef?: string | null;
|
|
3686
|
+
assignPublicIp: boolean;
|
|
3687
|
+
useFargateSpot: boolean;
|
|
3688
|
+
additionalSecurityGroupIds?: Array<string> | null;
|
|
3689
|
+
allowNetworkCidrFallback: boolean;
|
|
3690
|
+
minFallbackPrefixLength?: number | null;
|
|
3691
|
+
provider: string;
|
|
3692
|
+
};
|
|
3693
|
+
};
|
|
3694
|
+
current: {
|
|
3695
|
+
__typename?: 'ManagedCollectorCurrent';
|
|
3696
|
+
configHash?: string | null;
|
|
3697
|
+
configPushedAt?: string | null;
|
|
3698
|
+
licenseExpiresAt?: string | null;
|
|
3699
|
+
firstReadyAt?: string | null;
|
|
3700
|
+
endpoint: {
|
|
3701
|
+
__typename?: 'ManagedCollectorEndpoint';
|
|
3702
|
+
grpc?: string | null;
|
|
3703
|
+
http?: string | null;
|
|
3704
|
+
source: string;
|
|
3705
|
+
tlsMode?: string | null;
|
|
3706
|
+
tlsTermination?: string | null;
|
|
3707
|
+
ingressTier?: string | null;
|
|
3708
|
+
};
|
|
3709
|
+
scaling: {
|
|
3710
|
+
__typename?: 'ManagedCollectorScalingState';
|
|
3711
|
+
mode: string;
|
|
3712
|
+
desiredCount?: number | null;
|
|
3713
|
+
runningCount?: number | null;
|
|
3714
|
+
minCount?: number | null;
|
|
3715
|
+
maxCount?: number | null;
|
|
3716
|
+
};
|
|
3717
|
+
image?: {
|
|
3718
|
+
__typename?: 'ManagedCollectorImage';
|
|
3719
|
+
digest: string;
|
|
3720
|
+
tag?: string | null;
|
|
3721
|
+
arch: string;
|
|
3722
|
+
} | null;
|
|
3723
|
+
};
|
|
3724
|
+
authority: {
|
|
3725
|
+
__typename?: 'ManagedCollectorAuthority';
|
|
3726
|
+
mode: string;
|
|
3727
|
+
origin: string;
|
|
3728
|
+
attribution: string;
|
|
3729
|
+
mutable: boolean;
|
|
3730
|
+
deletable: boolean;
|
|
3731
|
+
};
|
|
3732
|
+
issues: Array<{
|
|
3733
|
+
__typename?: 'ManagedCollectorIssue';
|
|
3734
|
+
code: string;
|
|
3735
|
+
severity: string;
|
|
3736
|
+
message: string;
|
|
3737
|
+
since?: string | null;
|
|
3738
|
+
transient: boolean;
|
|
3739
|
+
details?: {
|
|
3740
|
+
__typename: 'ManagedCollectorConfigIssueDetails';
|
|
3741
|
+
rejectedConfigHash?: string | null;
|
|
3742
|
+
lastGoodConfigHash?: string | null;
|
|
3743
|
+
validationError?: string | null;
|
|
3744
|
+
code: string;
|
|
3745
|
+
} | {
|
|
3746
|
+
__typename: 'ManagedCollectorConfigurationIssueDetails';
|
|
3747
|
+
region: string;
|
|
3748
|
+
settingKey: string;
|
|
3749
|
+
refusedValue?: string | null;
|
|
3750
|
+
candidates?: Array<string> | null;
|
|
3751
|
+
code: string;
|
|
3752
|
+
} | null;
|
|
3753
|
+
}>;
|
|
3754
|
+
details?: {
|
|
3755
|
+
__typename: 'AwsManagedCollectorDetails';
|
|
3756
|
+
workloadRef?: string | null;
|
|
3757
|
+
revisionRef?: string | null;
|
|
3758
|
+
clusterRef?: string | null;
|
|
3759
|
+
loadBalancerRef?: string | null;
|
|
3760
|
+
targetGroupRefs?: Array<string> | null;
|
|
3761
|
+
securityGroupId?: string | null;
|
|
3762
|
+
subnetIds?: Array<string> | null;
|
|
3763
|
+
provider: string;
|
|
3764
|
+
} | null;
|
|
3765
|
+
};
|
|
3766
|
+
};
|
|
3767
|
+
export type UpdateManagedCollectorMutationVariables = Exact<{
|
|
3768
|
+
input: UpdateManagedCollectorInput;
|
|
3769
|
+
}>;
|
|
3770
|
+
export type UpdateManagedCollectorMutation = {
|
|
3771
|
+
__typename?: 'Mutation';
|
|
3772
|
+
updateManagedCollector: {
|
|
3773
|
+
__typename?: 'ManagedCollectorReport';
|
|
3774
|
+
region: string;
|
|
3775
|
+
networkId: string;
|
|
3776
|
+
kind: string;
|
|
3777
|
+
status: string;
|
|
3778
|
+
message: string;
|
|
3779
|
+
liveness: string;
|
|
3780
|
+
instanceUid?: string | null;
|
|
3781
|
+
updatedAt: string;
|
|
3782
|
+
desired: {
|
|
3783
|
+
__typename?: 'ManagedCollectorDesired';
|
|
3784
|
+
enabled: boolean;
|
|
3785
|
+
networkId?: string | null;
|
|
3786
|
+
deploymentRoleRef?: string | null;
|
|
3787
|
+
cpu: string;
|
|
3788
|
+
memory: string;
|
|
3789
|
+
logRetentionDays: number;
|
|
3790
|
+
arch: string;
|
|
3791
|
+
imageRepositoryOverride?: string | null;
|
|
3792
|
+
endpointOverride?: string | null;
|
|
3793
|
+
scaling: {
|
|
3794
|
+
__typename?: 'ManagedCollectorScalingTarget';
|
|
3795
|
+
mode: string;
|
|
3796
|
+
desiredCount?: number | null;
|
|
3797
|
+
minCount?: number | null;
|
|
3798
|
+
maxCount?: number | null;
|
|
3799
|
+
targetCpuPercent?: number | null;
|
|
3800
|
+
targetMemoryPercent?: number | null;
|
|
3801
|
+
};
|
|
3802
|
+
transport: {
|
|
3803
|
+
__typename?: 'ManagedCollectorTransport';
|
|
3804
|
+
mode?: string | null;
|
|
3805
|
+
hostname?: string | null;
|
|
3806
|
+
certificateRef?: string | null;
|
|
3807
|
+
};
|
|
3808
|
+
ingress: {
|
|
3809
|
+
__typename?: 'ManagedCollectorIngress';
|
|
3810
|
+
additionalCidrs?: Array<string> | null;
|
|
3811
|
+
};
|
|
3812
|
+
providerOverrides: {
|
|
3813
|
+
__typename?: 'AwsManagedCollectorProviderOverrides';
|
|
3814
|
+
executionRoleArn?: string | null;
|
|
3815
|
+
subnetIds?: Array<string> | null;
|
|
3816
|
+
securityGroupIds?: Array<string> | null;
|
|
3817
|
+
clusterRef?: string | null;
|
|
3818
|
+
assignPublicIp: boolean;
|
|
3819
|
+
useFargateSpot: boolean;
|
|
3820
|
+
additionalSecurityGroupIds?: Array<string> | null;
|
|
3821
|
+
allowNetworkCidrFallback: boolean;
|
|
3822
|
+
minFallbackPrefixLength?: number | null;
|
|
3823
|
+
provider: string;
|
|
3824
|
+
};
|
|
3825
|
+
};
|
|
3826
|
+
current: {
|
|
3827
|
+
__typename?: 'ManagedCollectorCurrent';
|
|
3828
|
+
configHash?: string | null;
|
|
3829
|
+
configPushedAt?: string | null;
|
|
3830
|
+
licenseExpiresAt?: string | null;
|
|
3831
|
+
firstReadyAt?: string | null;
|
|
3832
|
+
endpoint: {
|
|
3833
|
+
__typename?: 'ManagedCollectorEndpoint';
|
|
3834
|
+
grpc?: string | null;
|
|
3835
|
+
http?: string | null;
|
|
3836
|
+
source: string;
|
|
3837
|
+
tlsMode?: string | null;
|
|
3838
|
+
tlsTermination?: string | null;
|
|
3839
|
+
ingressTier?: string | null;
|
|
3840
|
+
};
|
|
3841
|
+
scaling: {
|
|
3842
|
+
__typename?: 'ManagedCollectorScalingState';
|
|
3843
|
+
mode: string;
|
|
3844
|
+
desiredCount?: number | null;
|
|
3845
|
+
runningCount?: number | null;
|
|
3846
|
+
minCount?: number | null;
|
|
3847
|
+
maxCount?: number | null;
|
|
3848
|
+
};
|
|
3849
|
+
image?: {
|
|
3850
|
+
__typename?: 'ManagedCollectorImage';
|
|
3851
|
+
digest: string;
|
|
3852
|
+
tag?: string | null;
|
|
3853
|
+
arch: string;
|
|
3854
|
+
} | null;
|
|
3855
|
+
};
|
|
3856
|
+
authority: {
|
|
3857
|
+
__typename?: 'ManagedCollectorAuthority';
|
|
3858
|
+
mode: string;
|
|
3859
|
+
origin: string;
|
|
3860
|
+
attribution: string;
|
|
3861
|
+
mutable: boolean;
|
|
3862
|
+
deletable: boolean;
|
|
3863
|
+
};
|
|
3864
|
+
issues: Array<{
|
|
3865
|
+
__typename?: 'ManagedCollectorIssue';
|
|
3866
|
+
code: string;
|
|
3867
|
+
severity: string;
|
|
3868
|
+
message: string;
|
|
3869
|
+
since?: string | null;
|
|
3870
|
+
transient: boolean;
|
|
3871
|
+
details?: {
|
|
3872
|
+
__typename: 'ManagedCollectorConfigIssueDetails';
|
|
3873
|
+
rejectedConfigHash?: string | null;
|
|
3874
|
+
lastGoodConfigHash?: string | null;
|
|
3875
|
+
validationError?: string | null;
|
|
3876
|
+
code: string;
|
|
3877
|
+
} | {
|
|
3878
|
+
__typename: 'ManagedCollectorConfigurationIssueDetails';
|
|
3879
|
+
region: string;
|
|
3880
|
+
settingKey: string;
|
|
3881
|
+
refusedValue?: string | null;
|
|
3882
|
+
candidates?: Array<string> | null;
|
|
3883
|
+
code: string;
|
|
3884
|
+
} | null;
|
|
3885
|
+
}>;
|
|
3886
|
+
details?: {
|
|
3887
|
+
__typename: 'AwsManagedCollectorDetails';
|
|
3888
|
+
workloadRef?: string | null;
|
|
3889
|
+
revisionRef?: string | null;
|
|
3890
|
+
clusterRef?: string | null;
|
|
3891
|
+
loadBalancerRef?: string | null;
|
|
3892
|
+
targetGroupRefs?: Array<string> | null;
|
|
3893
|
+
securityGroupId?: string | null;
|
|
3894
|
+
subnetIds?: Array<string> | null;
|
|
3895
|
+
provider: string;
|
|
3896
|
+
} | null;
|
|
3897
|
+
};
|
|
3898
|
+
};
|
|
3899
|
+
export type TeardownManagedCollectorMutationVariables = Exact<{
|
|
3900
|
+
input: TeardownManagedCollectorInput;
|
|
3901
|
+
}>;
|
|
3902
|
+
export type TeardownManagedCollectorMutation = {
|
|
3903
|
+
__typename?: 'Mutation';
|
|
3904
|
+
teardownManagedCollector: {
|
|
3905
|
+
__typename?: 'TeardownManagedCollectorPayload';
|
|
3906
|
+
region: string;
|
|
3907
|
+
deleted: boolean;
|
|
3908
|
+
message?: string | null;
|
|
3909
|
+
retained: Array<string>;
|
|
3910
|
+
};
|
|
3911
|
+
};
|
|
3912
|
+
export type IssueManagedCollectorCredentialMutationVariables = Exact<{
|
|
3913
|
+
input: IssueManagedCollectorCredentialInput;
|
|
3914
|
+
}>;
|
|
3915
|
+
export type IssueManagedCollectorCredentialMutation = {
|
|
3916
|
+
__typename?: 'Mutation';
|
|
3917
|
+
issueManagedCollectorCredential: {
|
|
3918
|
+
__typename?: 'IssueManagedCollectorCredentialPayload';
|
|
3919
|
+
collectorId: string;
|
|
3920
|
+
credentialId: string;
|
|
3921
|
+
authorizationHeader: string;
|
|
3922
|
+
secretRef: string;
|
|
3923
|
+
};
|
|
3924
|
+
};
|
|
3925
|
+
export type ManagedCollectorReportFieldsFragment = {
|
|
3926
|
+
__typename?: 'ManagedCollectorReport';
|
|
3927
|
+
region: string;
|
|
3928
|
+
networkId: string;
|
|
3929
|
+
kind: string;
|
|
3930
|
+
status: string;
|
|
3931
|
+
message: string;
|
|
3932
|
+
liveness: string;
|
|
3933
|
+
instanceUid?: string | null;
|
|
3934
|
+
updatedAt: string;
|
|
3935
|
+
desired: {
|
|
3936
|
+
__typename?: 'ManagedCollectorDesired';
|
|
3937
|
+
enabled: boolean;
|
|
3938
|
+
networkId?: string | null;
|
|
3939
|
+
deploymentRoleRef?: string | null;
|
|
3940
|
+
cpu: string;
|
|
3941
|
+
memory: string;
|
|
3942
|
+
logRetentionDays: number;
|
|
3943
|
+
arch: string;
|
|
3944
|
+
imageRepositoryOverride?: string | null;
|
|
3945
|
+
endpointOverride?: string | null;
|
|
3946
|
+
scaling: {
|
|
3947
|
+
__typename?: 'ManagedCollectorScalingTarget';
|
|
3948
|
+
mode: string;
|
|
3949
|
+
desiredCount?: number | null;
|
|
3950
|
+
minCount?: number | null;
|
|
3951
|
+
maxCount?: number | null;
|
|
3952
|
+
targetCpuPercent?: number | null;
|
|
3953
|
+
targetMemoryPercent?: number | null;
|
|
3954
|
+
};
|
|
3955
|
+
transport: {
|
|
3956
|
+
__typename?: 'ManagedCollectorTransport';
|
|
3957
|
+
mode?: string | null;
|
|
3958
|
+
hostname?: string | null;
|
|
3959
|
+
certificateRef?: string | null;
|
|
3960
|
+
};
|
|
3961
|
+
ingress: {
|
|
3962
|
+
__typename?: 'ManagedCollectorIngress';
|
|
3963
|
+
additionalCidrs?: Array<string> | null;
|
|
3964
|
+
};
|
|
3965
|
+
providerOverrides: {
|
|
3966
|
+
__typename?: 'AwsManagedCollectorProviderOverrides';
|
|
3967
|
+
executionRoleArn?: string | null;
|
|
3968
|
+
subnetIds?: Array<string> | null;
|
|
3969
|
+
securityGroupIds?: Array<string> | null;
|
|
3970
|
+
clusterRef?: string | null;
|
|
3971
|
+
assignPublicIp: boolean;
|
|
3972
|
+
useFargateSpot: boolean;
|
|
3973
|
+
additionalSecurityGroupIds?: Array<string> | null;
|
|
3974
|
+
allowNetworkCidrFallback: boolean;
|
|
3975
|
+
minFallbackPrefixLength?: number | null;
|
|
3976
|
+
provider: string;
|
|
3977
|
+
};
|
|
3978
|
+
};
|
|
3979
|
+
current: {
|
|
3980
|
+
__typename?: 'ManagedCollectorCurrent';
|
|
3981
|
+
configHash?: string | null;
|
|
3982
|
+
configPushedAt?: string | null;
|
|
3983
|
+
licenseExpiresAt?: string | null;
|
|
3984
|
+
firstReadyAt?: string | null;
|
|
3985
|
+
endpoint: {
|
|
3986
|
+
__typename?: 'ManagedCollectorEndpoint';
|
|
3987
|
+
grpc?: string | null;
|
|
3988
|
+
http?: string | null;
|
|
3989
|
+
source: string;
|
|
3990
|
+
tlsMode?: string | null;
|
|
3991
|
+
tlsTermination?: string | null;
|
|
3992
|
+
ingressTier?: string | null;
|
|
3993
|
+
};
|
|
3994
|
+
scaling: {
|
|
3995
|
+
__typename?: 'ManagedCollectorScalingState';
|
|
3996
|
+
mode: string;
|
|
3997
|
+
desiredCount?: number | null;
|
|
3998
|
+
runningCount?: number | null;
|
|
3999
|
+
minCount?: number | null;
|
|
4000
|
+
maxCount?: number | null;
|
|
4001
|
+
};
|
|
4002
|
+
image?: {
|
|
4003
|
+
__typename?: 'ManagedCollectorImage';
|
|
4004
|
+
digest: string;
|
|
4005
|
+
tag?: string | null;
|
|
4006
|
+
arch: string;
|
|
4007
|
+
} | null;
|
|
4008
|
+
};
|
|
4009
|
+
authority: {
|
|
4010
|
+
__typename?: 'ManagedCollectorAuthority';
|
|
4011
|
+
mode: string;
|
|
4012
|
+
origin: string;
|
|
4013
|
+
attribution: string;
|
|
4014
|
+
mutable: boolean;
|
|
4015
|
+
deletable: boolean;
|
|
4016
|
+
};
|
|
4017
|
+
issues: Array<{
|
|
4018
|
+
__typename?: 'ManagedCollectorIssue';
|
|
4019
|
+
code: string;
|
|
4020
|
+
severity: string;
|
|
4021
|
+
message: string;
|
|
4022
|
+
since?: string | null;
|
|
4023
|
+
transient: boolean;
|
|
4024
|
+
details?: {
|
|
4025
|
+
__typename: 'ManagedCollectorConfigIssueDetails';
|
|
4026
|
+
rejectedConfigHash?: string | null;
|
|
4027
|
+
lastGoodConfigHash?: string | null;
|
|
4028
|
+
validationError?: string | null;
|
|
4029
|
+
code: string;
|
|
4030
|
+
} | {
|
|
4031
|
+
__typename: 'ManagedCollectorConfigurationIssueDetails';
|
|
4032
|
+
region: string;
|
|
4033
|
+
settingKey: string;
|
|
4034
|
+
refusedValue?: string | null;
|
|
4035
|
+
candidates?: Array<string> | null;
|
|
4036
|
+
code: string;
|
|
4037
|
+
} | null;
|
|
4038
|
+
}>;
|
|
4039
|
+
details?: {
|
|
4040
|
+
__typename: 'AwsManagedCollectorDetails';
|
|
4041
|
+
workloadRef?: string | null;
|
|
4042
|
+
revisionRef?: string | null;
|
|
4043
|
+
clusterRef?: string | null;
|
|
4044
|
+
loadBalancerRef?: string | null;
|
|
4045
|
+
targetGroupRefs?: Array<string> | null;
|
|
4046
|
+
securityGroupId?: string | null;
|
|
4047
|
+
subnetIds?: Array<string> | null;
|
|
4048
|
+
provider: string;
|
|
4049
|
+
} | null;
|
|
4050
|
+
};
|
|
4051
|
+
type ManagedCollectorIssueDetailsFields_ManagedCollectorConfigIssueDetails_Fragment = {
|
|
4052
|
+
__typename: 'ManagedCollectorConfigIssueDetails';
|
|
4053
|
+
rejectedConfigHash?: string | null;
|
|
4054
|
+
lastGoodConfigHash?: string | null;
|
|
4055
|
+
validationError?: string | null;
|
|
4056
|
+
code: string;
|
|
4057
|
+
};
|
|
4058
|
+
type ManagedCollectorIssueDetailsFields_ManagedCollectorConfigurationIssueDetails_Fragment = {
|
|
4059
|
+
__typename: 'ManagedCollectorConfigurationIssueDetails';
|
|
4060
|
+
region: string;
|
|
4061
|
+
settingKey: string;
|
|
4062
|
+
refusedValue?: string | null;
|
|
4063
|
+
candidates?: Array<string> | null;
|
|
4064
|
+
code: string;
|
|
4065
|
+
};
|
|
4066
|
+
export type ManagedCollectorIssueDetailsFieldsFragment = ManagedCollectorIssueDetailsFields_ManagedCollectorConfigIssueDetails_Fragment | ManagedCollectorIssueDetailsFields_ManagedCollectorConfigurationIssueDetails_Fragment;
|
|
4067
|
+
export type ManagedCollectorDetailsFieldsFragment = {
|
|
4068
|
+
__typename: 'AwsManagedCollectorDetails';
|
|
4069
|
+
workloadRef?: string | null;
|
|
4070
|
+
revisionRef?: string | null;
|
|
4071
|
+
clusterRef?: string | null;
|
|
4072
|
+
loadBalancerRef?: string | null;
|
|
4073
|
+
targetGroupRefs?: Array<string> | null;
|
|
4074
|
+
securityGroupId?: string | null;
|
|
4075
|
+
subnetIds?: Array<string> | null;
|
|
4076
|
+
provider: string;
|
|
4077
|
+
};
|
|
4078
|
+
export type ManagedCollectorMetricsFieldsFragment = {
|
|
4079
|
+
__typename?: 'ManagedCollectorMetrics';
|
|
4080
|
+
region: string;
|
|
4081
|
+
observedAt: string;
|
|
4082
|
+
live: boolean;
|
|
4083
|
+
acceptedSpans?: number | null;
|
|
4084
|
+
acceptedMetricPoints?: number | null;
|
|
4085
|
+
acceptedLogRecords?: number | null;
|
|
4086
|
+
refusedSpans?: number | null;
|
|
4087
|
+
refusedMetricPoints?: number | null;
|
|
4088
|
+
refusedLogRecords?: number | null;
|
|
4089
|
+
sentSpans?: number | null;
|
|
4090
|
+
sentMetricPoints?: number | null;
|
|
4091
|
+
sentLogRecords?: number | null;
|
|
4092
|
+
failedSpans?: number | null;
|
|
4093
|
+
failedMetricPoints?: number | null;
|
|
4094
|
+
failedLogRecords?: number | null;
|
|
4095
|
+
queueSize?: number | null;
|
|
4096
|
+
queueCapacity?: number | null;
|
|
4097
|
+
cpuPercent?: number | null;
|
|
4098
|
+
memoryBytes?: number | null;
|
|
4099
|
+
uptimeSeconds?: number | null;
|
|
4100
|
+
};
|
|
4101
|
+
export type GetManagedCollectorDestinationTypesQueryVariables = Exact<{
|
|
4102
|
+
[key: string]: never;
|
|
4103
|
+
}>;
|
|
4104
|
+
export type GetManagedCollectorDestinationTypesQuery = {
|
|
4105
|
+
__typename?: 'Query';
|
|
4106
|
+
getManagedCollectorDestinationTypes: Array<{
|
|
4107
|
+
__typename?: 'DestinationType';
|
|
4108
|
+
type: string;
|
|
4109
|
+
displayName: string;
|
|
4110
|
+
imageUrl: string;
|
|
4111
|
+
supportedSignals: {
|
|
4112
|
+
__typename?: 'DestinationSupportedSignals';
|
|
4113
|
+
traces: boolean;
|
|
4114
|
+
metrics: boolean;
|
|
4115
|
+
logs: boolean;
|
|
4116
|
+
profiles: boolean;
|
|
4117
|
+
};
|
|
4118
|
+
fields: Array<{
|
|
4119
|
+
__typename?: 'DestinationField';
|
|
4120
|
+
name: string;
|
|
4121
|
+
displayName: string;
|
|
4122
|
+
componentType: string;
|
|
4123
|
+
componentProperties: string;
|
|
4124
|
+
secret: boolean;
|
|
4125
|
+
initialValue?: string | null;
|
|
4126
|
+
renderCondition?: string | null;
|
|
4127
|
+
hideFromReadData: boolean;
|
|
4128
|
+
customReadDataLabels: Array<{
|
|
4129
|
+
__typename?: 'CustomReadDataLabel';
|
|
4130
|
+
condition: string;
|
|
4131
|
+
title: string;
|
|
4132
|
+
value: string;
|
|
4133
|
+
}>;
|
|
4134
|
+
}>;
|
|
4135
|
+
}>;
|
|
4136
|
+
};
|
|
4137
|
+
export type ListManagedCollectorDestinationsQueryVariables = Exact<{
|
|
4138
|
+
region: Scalars['String']['input'];
|
|
4139
|
+
}>;
|
|
4140
|
+
export type ListManagedCollectorDestinationsQuery = {
|
|
4141
|
+
__typename?: 'Query';
|
|
4142
|
+
listManagedCollectorDestinations: Array<{
|
|
4143
|
+
__typename?: 'Destination';
|
|
4144
|
+
name: string;
|
|
4145
|
+
type: string;
|
|
4146
|
+
region?: string | null;
|
|
4147
|
+
config?: Record<string, any> | null;
|
|
4148
|
+
signals: Array<TelemetrySignal>;
|
|
4149
|
+
disabled: boolean;
|
|
4150
|
+
}>;
|
|
4151
|
+
};
|
|
4152
|
+
export type GetManagedCollectorDestinationQueryVariables = Exact<{
|
|
4153
|
+
region: Scalars['String']['input'];
|
|
4154
|
+
name: Scalars['String']['input'];
|
|
4155
|
+
}>;
|
|
4156
|
+
export type GetManagedCollectorDestinationQuery = {
|
|
4157
|
+
__typename?: 'Query';
|
|
4158
|
+
getManagedCollectorDestination?: {
|
|
4159
|
+
__typename?: 'Destination';
|
|
4160
|
+
name: string;
|
|
4161
|
+
type: string;
|
|
4162
|
+
region?: string | null;
|
|
4163
|
+
config?: Record<string, any> | null;
|
|
4164
|
+
signals: Array<TelemetrySignal>;
|
|
4165
|
+
disabled: boolean;
|
|
4166
|
+
} | null;
|
|
4167
|
+
};
|
|
4168
|
+
export type CreateManagedCollectorDestinationMutationVariables = Exact<{
|
|
4169
|
+
input: CreateManagedCollectorDestinationInput;
|
|
4170
|
+
}>;
|
|
4171
|
+
export type CreateManagedCollectorDestinationMutation = {
|
|
4172
|
+
__typename?: 'Mutation';
|
|
4173
|
+
createManagedCollectorDestination: {
|
|
4174
|
+
__typename?: 'Destination';
|
|
4175
|
+
name: string;
|
|
4176
|
+
type: string;
|
|
4177
|
+
region?: string | null;
|
|
4178
|
+
config?: Record<string, any> | null;
|
|
4179
|
+
signals: Array<TelemetrySignal>;
|
|
4180
|
+
disabled: boolean;
|
|
4181
|
+
};
|
|
4182
|
+
};
|
|
4183
|
+
export type UpdateManagedCollectorDestinationMutationVariables = Exact<{
|
|
4184
|
+
input: UpdateManagedCollectorDestinationInput;
|
|
4185
|
+
}>;
|
|
4186
|
+
export type UpdateManagedCollectorDestinationMutation = {
|
|
4187
|
+
__typename?: 'Mutation';
|
|
4188
|
+
updateManagedCollectorDestination: {
|
|
4189
|
+
__typename?: 'Destination';
|
|
4190
|
+
name: string;
|
|
4191
|
+
type: string;
|
|
4192
|
+
region?: string | null;
|
|
4193
|
+
config?: Record<string, any> | null;
|
|
4194
|
+
signals: Array<TelemetrySignal>;
|
|
4195
|
+
disabled: boolean;
|
|
4196
|
+
};
|
|
4197
|
+
};
|
|
4198
|
+
export type DestroyManagedCollectorDestinationMutationVariables = Exact<{
|
|
4199
|
+
input: DestroyManagedCollectorDestinationInput;
|
|
4200
|
+
}>;
|
|
4201
|
+
export type DestroyManagedCollectorDestinationMutation = {
|
|
4202
|
+
__typename?: 'Mutation';
|
|
4203
|
+
destroyManagedCollectorDestination: {
|
|
4204
|
+
__typename?: 'DestroyManagedCollectorDestinationPayload';
|
|
4205
|
+
region: string;
|
|
4206
|
+
name: string;
|
|
4207
|
+
deleted: boolean;
|
|
4208
|
+
};
|
|
4209
|
+
};
|
|
2578
4210
|
export type PipelineCountersQueryVariables = Exact<{
|
|
2579
4211
|
[key: string]: never;
|
|
2580
4212
|
}>;
|
|
@@ -4143,6 +5775,10 @@ export declare const InstructionDocumentFieldsFragmentDoc: DocumentNode<Instruct
|
|
|
4143
5775
|
export declare const InstrumentationInstructionsFieldsFragmentDoc: DocumentNode<InstrumentationInstructionsFieldsFragment, unknown>;
|
|
4144
5776
|
export declare const InstrumentationRuleTypeFieldsFragmentDoc: DocumentNode<InstrumentationRuleTypeFieldsFragment, unknown>;
|
|
4145
5777
|
export declare const InstrumentationRuleFieldsFragmentDoc: DocumentNode<InstrumentationRuleFieldsFragment, unknown>;
|
|
5778
|
+
export declare const ManagedCollectorIssueDetailsFieldsFragmentDoc: DocumentNode<ManagedCollectorIssueDetailsFieldsFragment, unknown>;
|
|
5779
|
+
export declare const ManagedCollectorDetailsFieldsFragmentDoc: DocumentNode<ManagedCollectorDetailsFieldsFragment, unknown>;
|
|
5780
|
+
export declare const ManagedCollectorReportFieldsFragmentDoc: DocumentNode<ManagedCollectorReportFieldsFragment, unknown>;
|
|
5781
|
+
export declare const ManagedCollectorMetricsFieldsFragmentDoc: DocumentNode<ManagedCollectorMetricsFieldsFragment, unknown>;
|
|
4146
5782
|
export declare const ContainerOverrideFieldsFragmentDoc: DocumentNode<ContainerOverrideFieldsFragment, unknown>;
|
|
4147
5783
|
export declare const ProcessDetailsFieldsFragmentDoc: DocumentNode<ProcessDetailsFieldsFragment, unknown>;
|
|
4148
5784
|
export declare const WorkloadContainerFieldsFragmentDoc: DocumentNode<WorkloadContainerFieldsFragment, unknown>;
|
|
@@ -4181,6 +5817,20 @@ export declare const CreateInstrumentationRuleDocument: DocumentNode<CreateInstr
|
|
|
4181
5817
|
export declare const UpdateInstrumentationRuleDocument: DocumentNode<UpdateInstrumentationRuleMutation, UpdateInstrumentationRuleMutationVariables>;
|
|
4182
5818
|
export declare const DeleteInstrumentationRuleDocument: DocumentNode<DeleteInstrumentationRuleMutation, DeleteInstrumentationRuleMutationVariables>;
|
|
4183
5819
|
export declare const UpdateOnPremLicenseDocument: DocumentNode<UpdateOnPremLicenseMutation, UpdateOnPremLicenseMutationVariables>;
|
|
5820
|
+
export declare const GetManagedCollectorReportsDocument: DocumentNode<GetManagedCollectorReportsQuery, GetManagedCollectorReportsQueryVariables>;
|
|
5821
|
+
export declare const GetManagedCollectorReportDocument: DocumentNode<GetManagedCollectorReportQuery, GetManagedCollectorReportQueryVariables>;
|
|
5822
|
+
export declare const GetManagedCollectorInstructionsDocument: DocumentNode<GetManagedCollectorInstructionsQuery, GetManagedCollectorInstructionsQueryVariables>;
|
|
5823
|
+
export declare const GetManagedCollectorMetricsDocument: DocumentNode<GetManagedCollectorMetricsQuery, GetManagedCollectorMetricsQueryVariables>;
|
|
5824
|
+
export declare const CreateManagedCollectorDocument: DocumentNode<CreateManagedCollectorMutation, CreateManagedCollectorMutationVariables>;
|
|
5825
|
+
export declare const UpdateManagedCollectorDocument: DocumentNode<UpdateManagedCollectorMutation, UpdateManagedCollectorMutationVariables>;
|
|
5826
|
+
export declare const TeardownManagedCollectorDocument: DocumentNode<TeardownManagedCollectorMutation, TeardownManagedCollectorMutationVariables>;
|
|
5827
|
+
export declare const IssueManagedCollectorCredentialDocument: DocumentNode<IssueManagedCollectorCredentialMutation, IssueManagedCollectorCredentialMutationVariables>;
|
|
5828
|
+
export declare const GetManagedCollectorDestinationTypesDocument: DocumentNode<GetManagedCollectorDestinationTypesQuery, GetManagedCollectorDestinationTypesQueryVariables>;
|
|
5829
|
+
export declare const ListManagedCollectorDestinationsDocument: DocumentNode<ListManagedCollectorDestinationsQuery, ListManagedCollectorDestinationsQueryVariables>;
|
|
5830
|
+
export declare const GetManagedCollectorDestinationDocument: DocumentNode<GetManagedCollectorDestinationQuery, GetManagedCollectorDestinationQueryVariables>;
|
|
5831
|
+
export declare const CreateManagedCollectorDestinationDocument: DocumentNode<CreateManagedCollectorDestinationMutation, CreateManagedCollectorDestinationMutationVariables>;
|
|
5832
|
+
export declare const UpdateManagedCollectorDestinationDocument: DocumentNode<UpdateManagedCollectorDestinationMutation, UpdateManagedCollectorDestinationMutationVariables>;
|
|
5833
|
+
export declare const DestroyManagedCollectorDestinationDocument: DocumentNode<DestroyManagedCollectorDestinationMutation, DestroyManagedCollectorDestinationMutationVariables>;
|
|
4184
5834
|
export declare const PipelineCountersDocument: DocumentNode<PipelineCountersQuery, PipelineCountersQueryVariables>;
|
|
4185
5835
|
export declare const ProfileHotFunctionsDocument: DocumentNode<ProfileHotFunctionsQuery, ProfileHotFunctionsQueryVariables>;
|
|
4186
5836
|
export declare const ProfileBundleStatusDocument: DocumentNode<ProfileBundleStatusQuery, ProfileBundleStatusQueryVariables>;
|