@odigos/vmagent-api-apollo-client 0.22.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,20 @@ 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
+ };
83
97
  export type CodeAttributesConfig = {
84
98
  __typename?: 'CodeAttributesConfig';
85
99
  collectColumn?: Maybe<Scalars['Boolean']['output']>;
@@ -199,6 +213,8 @@ export type CreateActionInput = {
199
213
  };
200
214
  export type CreateDestinationInput = {
201
215
  config?: InputMaybe<Scalars['JSON']['input']>;
216
+ /** When omitted, defaults to false (export active). */
217
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
202
218
  name: Scalars['String']['input'];
203
219
  region?: InputMaybe<Scalars['String']['input']>;
204
220
  signals: Array<TelemetrySignal>;
@@ -215,6 +231,57 @@ export type CreateInstrumentationRuleInput = {
215
231
  payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
216
232
  ruleType: RuleType;
217
233
  };
234
+ export type CreateManagedCollectorDestinationInput = {
235
+ /** Field values keyed by DestinationField.name for this type (validated server-side). */
236
+ config?: InputMaybe<Scalars['JSON']['input']>;
237
+ /** When omitted, defaults to false (export active). */
238
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
239
+ /**
240
+ * Unique within the region. Letters, digits, '-' and '_' only: it names the destination's exporters
241
+ * and pipelines in the rendered Collector configuration.
242
+ */
243
+ name: Scalars['String']['input'];
244
+ /** The Collector this destination belongs to. */
245
+ region: Scalars['String']['input'];
246
+ /**
247
+ * TRACES, METRICS and LOGS; each must be supported by the type. PROFILES is not accepted: the managed
248
+ * Collector does not receive profiles.
249
+ */
250
+ signals: Array<TelemetrySignal>;
251
+ /** An Odigos destination type key, as getManagedCollectorDestinationTypes lists it. */
252
+ type: Scalars['String']['input'];
253
+ };
254
+ /**
255
+ * Settings for one region's Collector. Every field except the region is optional: an omitted field
256
+ * inherits `collector.defaults`, which is what makes a bare `{ region }` a valid, fully-defaulted create.
257
+ *
258
+ * An explicitly empty list means "none" and is NOT the same as omitting the field — omitting inherits the
259
+ * default's list, and clearing it is the only way to say this region wants none of them.
260
+ */
261
+ export type CreateManagedCollectorInput = {
262
+ arch?: InputMaybe<Scalars['String']['input']>;
263
+ assignPublicIp?: InputMaybe<Scalars['Boolean']['input']>;
264
+ clusterRef?: InputMaybe<Scalars['String']['input']>;
265
+ cpu?: InputMaybe<Scalars['String']['input']>;
266
+ endpointOverride?: InputMaybe<Scalars['String']['input']>;
267
+ /**
268
+ * Pin the Collector to one network. Omit to let Odigos select the region's only eligible network;
269
+ * it refuses to guess when several are eligible and reports the candidates.
270
+ */
271
+ hostNetworkId?: InputMaybe<Scalars['String']['input']>;
272
+ imageRepositoryOverride?: InputMaybe<Scalars['String']['input']>;
273
+ ingress?: InputMaybe<ManagedCollectorIngressInput>;
274
+ logRetentionDays?: InputMaybe<Scalars['Int']['input']>;
275
+ memory?: InputMaybe<Scalars['String']['input']>;
276
+ region: Scalars['String']['input'];
277
+ /** How many workloads one cutover pass may re-point at this Collector. 0 uses the connector default. */
278
+ rolloutBatchSize?: InputMaybe<Scalars['Int']['input']>;
279
+ scaling?: InputMaybe<ManagedCollectorScalingInput>;
280
+ securityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
281
+ subnetIds?: InputMaybe<Array<Scalars['String']['input']>>;
282
+ transport?: InputMaybe<ManagedCollectorTransportInput>;
283
+ useFargateSpot?: InputMaybe<Scalars['Boolean']['input']>;
284
+ };
218
285
  export type CreateSourceInput = {
219
286
  config?: InputMaybe<SourceConfigInput>;
220
287
  enabled: Scalars['Boolean']['input'];
@@ -285,6 +352,7 @@ export type DeleteSourcePayload = {
285
352
  export type Destination = {
286
353
  __typename?: 'Destination';
287
354
  config?: Maybe<Scalars['JSON']['output']>;
355
+ disabled: Scalars['Boolean']['output'];
288
356
  name: Scalars['String']['output'];
289
357
  region?: Maybe<Scalars['String']['output']>;
290
358
  signals: Array<TelemetrySignal>;
@@ -331,6 +399,20 @@ export type DestinationType = {
331
399
  supportedSignals: DestinationSupportedSignals;
332
400
  type: Scalars['String']['output'];
333
401
  };
402
+ export type DestroyManagedCollectorDestinationInput = {
403
+ name: Scalars['String']['input'];
404
+ region: Scalars['String']['input'];
405
+ };
406
+ export type DestroyManagedCollectorDestinationPayload = {
407
+ __typename?: 'DestroyManagedCollectorDestinationPayload';
408
+ /**
409
+ * False when there was nothing by that name in that region. Not an error: deleting something already
410
+ * gone is the requested end state.
411
+ */
412
+ deleted: Scalars['Boolean']['output'];
413
+ name: Scalars['String']['output'];
414
+ region: Scalars['String']['output'];
415
+ };
334
416
  export type DiagnoseBundle = {
335
417
  __typename?: 'DiagnoseBundle';
336
418
  contentBase64?: Maybe<Scalars['String']['output']>;
@@ -567,6 +649,28 @@ export type InstrumentationInstructions = {
567
649
  /** RFC3339 timestamp the instructions were computed. */
568
650
  updatedAt: Scalars['String']['output'];
569
651
  };
652
+ /**
653
+ * Observed state of one instrumentation library after eBPF load (Go/Java today).
654
+ * Inactive or disabled libraries are omitted. Mirrors OSS InstrumentationLibraryStatus
655
+ * without Kubernetes types.
656
+ */
657
+ export type InstrumentationLibraryStatus = {
658
+ __typename?: 'InstrumentationLibraryStatus';
659
+ healthy?: Maybe<Scalars['Boolean']['output']>;
660
+ identifyingAttributes?: Maybe<Array<KeyValue>>;
661
+ /** RFC3339 timestamp of the last status update. */
662
+ lastStatusTime?: Maybe<Scalars['String']['output']>;
663
+ message?: Maybe<Scalars['String']['output']>;
664
+ name: Scalars['String']['output'];
665
+ nonIdentifyingAttributes?: Maybe<Array<KeyValue>>;
666
+ reason?: Maybe<Scalars['String']['output']>;
667
+ type: InstrumentationLibraryType;
668
+ };
669
+ export declare enum InstrumentationLibraryType {
670
+ Exporter = "exporter",
671
+ Instrumentation = "instrumentation",
672
+ Sampler = "sampler"
673
+ }
570
674
  export type InstrumentationRule = {
571
675
  enabled: Scalars['Boolean']['output'];
572
676
  name: Scalars['String']['output'];
@@ -618,6 +722,423 @@ export type LambdaWorkloadDetails = WorkloadDetails & {
618
722
  /** Lambda-managed runtime identifier (e.g. "python3.12", "java21"). */
619
723
  runtime?: Maybe<Scalars['String']['output']>;
620
724
  };
725
+ /**
726
+ * Whether Odigos may act on this Collector's cloud objects.
727
+ *
728
+ * Two independent bits, never one enum: `mode` says who converges the Collector, `origin` says who
729
+ * created its objects. Only automatic + odigos may be deleted; automatic + customer is converged and
730
+ * never deleted; either manual mode is observed and configured but never written to.
731
+ */
732
+ export type ManagedCollectorAuthority = {
733
+ __typename?: 'ManagedCollectorAuthority';
734
+ /** mine | predecessor | foreign | unattributed | none. */
735
+ attribution: Scalars['String']['output'];
736
+ /**
737
+ * Odigos may destroy these objects. Requires mutable AND origin=odigos AND a matching record in the
738
+ * connector's own state — a tag alone, which a customer could write by hand, is never sufficient.
739
+ */
740
+ deletable: Scalars['Boolean']['output'];
741
+ /** automatic | manual — who deploys and converges. */
742
+ mode: Scalars['String']['output'];
743
+ /** Odigos may write to these objects (converge, re-tag, scale). */
744
+ mutable: Scalars['Boolean']['output'];
745
+ /** odigos | customer — who created the underlying cloud objects. */
746
+ origin: Scalars['String']['output'];
747
+ };
748
+ /**
749
+ * A Collector that connected and then rejected the configuration pushed to it, or never connected at all.
750
+ * The last known-good configuration stays in force, so this is a "cannot change it" condition rather than
751
+ * a "it stopped working" one.
752
+ */
753
+ export type ManagedCollectorConfigIssueDetails = ManagedCollectorIssueDetails & {
754
+ __typename?: 'ManagedCollectorConfigIssueDetails';
755
+ code: Scalars['String']['output'];
756
+ /** Hash still in force on the Collector, if it has ever accepted one. */
757
+ lastGoodConfigHash?: Maybe<Scalars['String']['output']>;
758
+ /** Hash of the configuration that was refused. */
759
+ rejectedConfigHash?: Maybe<Scalars['String']['output']>;
760
+ /** The Supervisor's own validation error, verbatim. */
761
+ validationError?: Maybe<Scalars['String']['output']>;
762
+ };
763
+ /**
764
+ * A condition fixed by setting something under `collector.regions.<region>` — no usable subnets, no
765
+ * egress route, no security group resolving, a refused TLS or ingress value, several eligible host
766
+ * networks with none pinned.
767
+ *
768
+ * Carries the region and the key so a client can send someone straight to the setting instead of asking
769
+ * them to find it.
770
+ */
771
+ export type ManagedCollectorConfigurationIssueDetails = ManagedCollectorIssueDetails & {
772
+ __typename?: 'ManagedCollectorConfigurationIssueDetails';
773
+ /**
774
+ * The candidates a refusal was choosing between, when the refusal was an ambiguity — e.g. the eligible
775
+ * host networks found in this region when none was pinned. Empty for every other condition.
776
+ *
777
+ * Present because "Odigos refused to guess" is only actionable if the reader is told what it was
778
+ * choosing between.
779
+ */
780
+ candidates?: Maybe<Array<Scalars['String']['output']>>;
781
+ code: Scalars['String']['output'];
782
+ /** The value that was refused, when there was one. Null when the setting is simply absent. */
783
+ refusedValue?: Maybe<Scalars['String']['output']>;
784
+ region: Scalars['String']['output'];
785
+ /** The setting to change, relative to the region, e.g. "hostNetworkId", "tls.hostname". */
786
+ settingKey: Scalars['String']['output'];
787
+ };
788
+ /**
789
+ * What is actually deployed and running, as last observed. Null fields mean not yet built or not yet
790
+ * observed, which is normal before the first successful convergence.
791
+ */
792
+ export type ManagedCollectorCurrent = {
793
+ __typename?: 'ManagedCollectorCurrent';
794
+ /**
795
+ * Hash of the configuration last accepted over OpAMP, and when it was pushed. A hash differing from
796
+ * what the connector would render now is a configuration push still in flight or refused.
797
+ */
798
+ configHash?: Maybe<Scalars['String']['output']>;
799
+ configPushedAt?: Maybe<Scalars['String']['output']>;
800
+ endpoint: ManagedCollectorEndpoint;
801
+ /**
802
+ * RFC3339 timestamp this Collector FIRST reported ready; null when it never has.
803
+ *
804
+ * The gate the workload cutover runs on: until it is set, no workload has been re-pointed at this
805
+ * Collector. Reported because "deployed" and "workloads are actually using it" are different facts and a
806
+ * customer watching a rollout needs the second one.
807
+ */
808
+ firstReadyAt?: Maybe<Scalars['String']['output']>;
809
+ image?: Maybe<ManagedCollectorImage>;
810
+ /**
811
+ * RFC3339 expiry of the enterprise licence the Collector runs under; null when not yet provisioned.
812
+ *
813
+ * Its own field rather than only an issue, because an expired licence and a rejected configuration look
814
+ * identical from outside — the container will not start either way — and send a reader to opposite ends
815
+ * of the product.
816
+ */
817
+ licenseExpiresAt?: Maybe<Scalars['String']['output']>;
818
+ scaling: ManagedCollectorScalingState;
819
+ };
820
+ /**
821
+ * Configuration for this region, as resolved from the connector's operational config
822
+ * (`collector.regions.<region>`, over `collector.defaults`). Compare against ManagedCollectorCurrent to
823
+ * see drift.
824
+ */
825
+ export type ManagedCollectorDesired = {
826
+ __typename?: 'ManagedCollectorDesired';
827
+ arch: Scalars['String']['output'];
828
+ assignPublicIp: Scalars['Boolean']['output'];
829
+ clusterRef?: Maybe<Scalars['String']['output']>;
830
+ cpu: Scalars['String']['output'];
831
+ /**
832
+ * Whether this region gets a Collector at all. Resolved: an unset region inherits the feature
833
+ * switch, and an explicit false wins over it.
834
+ */
835
+ enabled: Scalars['Boolean']['output'];
836
+ /** When set, Odigos creates no load balancer and publishes this address instead. */
837
+ endpointOverride?: Maybe<Scalars['String']['output']>;
838
+ /**
839
+ * The network the customer pinned the Collector to. Empty means Odigos selects the region's only
840
+ * eligible network, and refuses to guess when several are eligible.
841
+ */
842
+ hostNetworkId?: Maybe<Scalars['String']['output']>;
843
+ imageRepositoryOverride?: Maybe<Scalars['String']['output']>;
844
+ ingress: ManagedCollectorIngress;
845
+ logRetentionDays: Scalars['Int']['output'];
846
+ /**
847
+ * Also sizes the Collector's memory_limiter, which is why changing it is a configuration push as
848
+ * well as a workload change.
849
+ */
850
+ memory: Scalars['String']['output'];
851
+ scaling: ManagedCollectorScalingTarget;
852
+ securityGroupIds?: Maybe<Array<Scalars['String']['output']>>;
853
+ /**
854
+ * Placement the customer pinned. Empty means Odigos chooses.
855
+ *
856
+ * A value here means the customer pointed Odigos at their OWN object, which is never mutated or deleted
857
+ * whatever its tags say — see ManagedCollectorAuthority.
858
+ */
859
+ subnetIds?: Maybe<Array<Scalars['String']['output']>>;
860
+ transport: ManagedCollectorTransport;
861
+ };
862
+ /** Provider-specific infrastructure references, discriminated by `provider`. */
863
+ export type ManagedCollectorDetails = {
864
+ /** aws | azure | gcp. */
865
+ provider: Scalars['String']['output'];
866
+ };
867
+ export type ManagedCollectorEndpoint = {
868
+ __typename?: 'ManagedCollectorEndpoint';
869
+ /** OTLP/gRPC address workloads export to; null before one exists. */
870
+ grpc?: Maybe<Scalars['String']['output']>;
871
+ /** OTLP/HTTP address; null when the provider or configuration exposes only one port. */
872
+ http?: Maybe<Scalars['String']['output']>;
873
+ /** Which ingress tier is actually admitting traffic, which may be narrower or wider than requested. */
874
+ ingressTier?: Maybe<Scalars['String']['output']>;
875
+ /**
876
+ * created | endpointOverride — whether Odigos built this address or is echoing back one the
877
+ * customer supplied.
878
+ */
879
+ source: Scalars['String']['output'];
880
+ /** The transport actually in effect, which may lag ManagedCollectorTransport.mode mid-change. */
881
+ tlsMode?: Maybe<Scalars['String']['output']>;
882
+ /** Where TLS terminates: none | platform | loadBalancer | collector. */
883
+ tlsTermination?: Maybe<Scalars['String']['output']>;
884
+ };
885
+ export type ManagedCollectorImage = {
886
+ __typename?: 'ManagedCollectorImage';
887
+ arch: Scalars['String']['output'];
888
+ /** Manifest-list digest actually deployed, e.g. "sha256:…". This, not the tag, is the pin. */
889
+ digest: Scalars['String']['output'];
890
+ tag?: Maybe<Scalars['String']['output']>;
891
+ };
892
+ /** Which senders are admitted to the Collector's OTLP ports. */
893
+ export type ManagedCollectorIngress = {
894
+ __typename?: 'ManagedCollectorIngress';
895
+ /**
896
+ * Explicit ranges for senders with no security group, such as workloads in a peered network.
897
+ * Validated, never widened.
898
+ */
899
+ additionalCidrs?: Maybe<Array<Scalars['String']['output']>>;
900
+ /** Groups admitted beyond the ones discovery found — senders Odigos does not instrument. */
901
+ additionalSecurityGroupIds?: Maybe<Array<Scalars['String']['output']>>;
902
+ /**
903
+ * Whether the host network's CIDR fallback may be used when no sender security group resolves. False
904
+ * skips the deploy with a message rather than widening the rule.
905
+ */
906
+ allowNetworkCidrFallback: Scalars['Boolean']['output'];
907
+ /** Floor on how wide that fallback may go; 0 means the default. Larger number = narrower block. */
908
+ minFallbackPrefixLength?: Maybe<Scalars['Int']['output']>;
909
+ };
910
+ export type ManagedCollectorIngressInput = {
911
+ additionalCidrs?: InputMaybe<Array<Scalars['String']['input']>>;
912
+ additionalSecurityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
913
+ allowNetworkCidrFallback?: InputMaybe<Scalars['Boolean']['input']>;
914
+ minFallbackPrefixLength?: InputMaybe<Scalars['Int']['input']>;
915
+ };
916
+ /**
917
+ * How to deploy this region's Collector by hand or by IaC.
918
+ *
919
+ * Served in BOTH modes on purpose, the same reason InstrumentationInstructions is: in manual mode these
920
+ * are what the customer applies, and in automatic mode they are the same infrastructure Odigos builds
921
+ * itself, which is what makes "what exactly did Odigos create here" answerable without a provider console.
922
+ */
923
+ export type ManagedCollectorInstructions = {
924
+ __typename?: 'ManagedCollectorInstructions';
925
+ /**
926
+ * The deployment rendered per delivery tool, in the connector's preferred order. Never empty.
927
+ *
928
+ * Reuses InstructionDocument from the workload instructions: the per-tool shape (variant, steps,
929
+ * content, unresolved) carries nothing workload-specific and needs no Collector-specific twin.
930
+ */
931
+ documents: Array<InstructionDocument>;
932
+ /** The network the instructions place the Collector in; empty when placement has not resolved one. */
933
+ hostNetworkId: Scalars['String']['output'];
934
+ /** automatic | manual — why the customer is being shown this. */
935
+ mode: Scalars['String']['output'];
936
+ /**
937
+ * Caveats that belong with the instructions whichever tool is used — a platform limit, a value the
938
+ * customer must supply, a step that completes without telemetry actually flowing.
939
+ */
940
+ notes: Array<Scalars['String']['output']>;
941
+ region: Scalars['String']['output'];
942
+ /** RFC3339 timestamp the instructions were computed. */
943
+ updatedAt: Scalars['String']['output'];
944
+ };
945
+ /** One structured condition behind a Collector's status. */
946
+ export type ManagedCollectorIssue = {
947
+ __typename?: 'ManagedCollectorIssue';
948
+ /**
949
+ * Stable identifier a client branches on, e.g. NoUsableSubnets, SubnetsNoEgress, TargetsUnhealthy,
950
+ * OpampNeverConnected, ConfigRejected, DestinationUnreachable, CredentialRevoked, LicenseExpired,
951
+ * ImagePullFailed, UnsupportedArchitecture, NameConflict, TeardownDeclined, AmbiguousHostNetwork.
952
+ * Additive: a code is never renamed or repurposed once shipped, and a client ignores one it does not
953
+ * know.
954
+ */
955
+ code: Scalars['String']['output'];
956
+ /** Machine-readable facts, typed per `code`. Null for conditions whose message is the whole story. */
957
+ details?: Maybe<ManagedCollectorIssueDetails>;
958
+ message: Scalars['String']['output'];
959
+ /** info | warning | error. */
960
+ severity: Scalars['String']['output'];
961
+ /** RFC3339 timestamp the condition was first observed. */
962
+ since?: Maybe<Scalars['String']['output']>;
963
+ /** True when the next reconcile is expected to clear this without anyone doing anything. */
964
+ transient: Scalars['Boolean']['output'];
965
+ };
966
+ /**
967
+ * Facts behind one ManagedCollectorIssue, typed by its `code`. Same discriminator-plus-typed-branch
968
+ * pattern as WorkloadIssueDetails: add a branch for a code whose remedy needs a value, rather than a new
969
+ * convention for encoding data into a sentence.
970
+ */
971
+ export type ManagedCollectorIssueDetails = {
972
+ /**
973
+ * The ManagedCollectorIssue.code this block describes, echoed so clients can branch without a
974
+ * fragment.
975
+ */
976
+ code: Scalars['String']['output'];
977
+ };
978
+ /**
979
+ * Throughput and resource counters for one region's Collector.
980
+ *
981
+ * Two possible sources, and `live` says which one answered: the snapshot the Collector last reported over
982
+ * its OpAMP session (cached by the connector, always available), or a round trip to the running Collector
983
+ * made for this query. A cached answer is not a degraded one — it is the normal path, and `observedAt`
984
+ * says how old it is.
985
+ *
986
+ * Every counter is nullable because a Collector that has never connected has reported none of them, and a
987
+ * zero would be a lie about a Collector nobody has heard from.
988
+ */
989
+ export type ManagedCollectorMetrics = {
990
+ __typename?: 'ManagedCollectorMetrics';
991
+ acceptedLogRecords?: Maybe<Scalars['Int']['output']>;
992
+ acceptedMetricPoints?: Maybe<Scalars['Int']['output']>;
993
+ /** Spans/points/records the Collector's receivers accepted since it started. */
994
+ acceptedSpans?: Maybe<Scalars['Int']['output']>;
995
+ /** Process resource use as the Collector itself reports it. */
996
+ cpuPercent?: Maybe<Scalars['Float']['output']>;
997
+ failedLogRecords?: Maybe<Scalars['Int']['output']>;
998
+ failedMetricPoints?: Maybe<Scalars['Int']['output']>;
999
+ /** Failed to send and dropped after retries. The number that means telemetry was LOST. */
1000
+ failedSpans?: Maybe<Scalars['Int']['output']>;
1001
+ /**
1002
+ * True when this came from a round trip to the running Collector; false when it is the cached
1003
+ * snapshot from its last periodic report.
1004
+ */
1005
+ live: Scalars['Boolean']['output'];
1006
+ memoryBytes?: Maybe<Scalars['Int']['output']>;
1007
+ /** RFC3339 timestamp the snapshot was TAKEN by the Collector, not when it was read here. */
1008
+ observedAt: Scalars['String']['output'];
1009
+ queueCapacity?: Maybe<Scalars['Int']['output']>;
1010
+ /** Exporter sending queue depth and capacity; a queue at capacity is about to drop. */
1011
+ queueSize?: Maybe<Scalars['Int']['output']>;
1012
+ refusedLogRecords?: Maybe<Scalars['Int']['output']>;
1013
+ refusedMetricPoints?: Maybe<Scalars['Int']['output']>;
1014
+ /** Refused by the receiver — backpressure, or a payload the Collector would not take. */
1015
+ refusedSpans?: Maybe<Scalars['Int']['output']>;
1016
+ region: Scalars['String']['output'];
1017
+ sentLogRecords?: Maybe<Scalars['Int']['output']>;
1018
+ sentMetricPoints?: Maybe<Scalars['Int']['output']>;
1019
+ /** Handed to the downstream destination successfully. */
1020
+ sentSpans?: Maybe<Scalars['Int']['output']>;
1021
+ /** Seconds since the Collector process started. */
1022
+ uptimeSeconds?: Maybe<Scalars['Int']['output']>;
1023
+ };
1024
+ /**
1025
+ * One managed Collector: identity, computed status, and the desired/current split that makes drift
1026
+ * visible rather than implicit in a stale message.
1027
+ *
1028
+ * Identity is `region`. Never the host network (a Collector can be moved between networks in its region)
1029
+ * and never the OpAMP instance uid (that rotates every time the underlying task is replaced).
1030
+ */
1031
+ export type ManagedCollectorReport = {
1032
+ __typename?: 'ManagedCollectorReport';
1033
+ /** Whether Odigos may write to, or destroy, this Collector's cloud objects. */
1034
+ authority: ManagedCollectorAuthority;
1035
+ /** What is actually running. A field differing from its `desired` counterpart IS drift. */
1036
+ current: ManagedCollectorCurrent;
1037
+ /** What the customer configured. Always current intent, even mid-convergence. */
1038
+ desired: ManagedCollectorDesired;
1039
+ /**
1040
+ * Provider-specific infrastructure references. A client not rendering an infrastructure view can
1041
+ * ignore this entirely.
1042
+ */
1043
+ details?: Maybe<ManagedCollectorDetails>;
1044
+ /**
1045
+ * Provider network the Collector RUNS IN: VPC id on AWS, VNet on Azure, VPC network on GCP.
1046
+ *
1047
+ * Placement metadata, not identity — see the schema header. Empty before placement has resolved a host.
1048
+ */
1049
+ hostNetworkId: Scalars['String']['output'];
1050
+ /**
1051
+ * OpAMP instance uid of the current connection; null when never-connected. Useful for correlating
1052
+ * this report with the Collector's own Supervisor logs. Not an identity — see the type doc.
1053
+ */
1054
+ instanceUid?: Maybe<Scalars['String']['output']>;
1055
+ /**
1056
+ * Structured facts behind `status` and `message`, most severe first; empty when there is nothing to
1057
+ * report. Exists for the reason WorkloadIssue does: a client that must ACT on a condition should branch
1058
+ * on `code`, not parse a sentence back apart.
1059
+ */
1060
+ issues: Array<ManagedCollectorIssue>;
1061
+ /** Collector type, e.g. "aws.fargate-collector". Informational; identity is `region`. */
1062
+ kind: Scalars['String']['output'];
1063
+ /**
1064
+ * never-connected | live | stale.
1065
+ *
1066
+ * Three states rather than a boolean on purpose: never-connected and stale have different causes and
1067
+ * different remedies, and collapsing them loses the difference between a Collector nobody deployed and
1068
+ * one that broke. Stale means OpAMP has gone quiet — the Collector is very likely still running and
1069
+ * still exporting, because the data path does not depend on OpAMP, but its configuration can no longer
1070
+ * be changed, which is a real loss and has to be said.
1071
+ */
1072
+ liveness: Scalars['String']['output'];
1073
+ /**
1074
+ * The reader-facing sentence. Kept alongside `issues` because a human wants one line to read first, and
1075
+ * because a status a client's version does not recognize still has to render as something.
1076
+ */
1077
+ message: Scalars['String']['output'];
1078
+ region: Scalars['String']['output'];
1079
+ /** Pending | Deploying | Ready | Degraded | Error | AwaitingCustomer. */
1080
+ status: Scalars['String']['output'];
1081
+ /** RFC3339 timestamp of the last report refresh. */
1082
+ updatedAt: Scalars['String']['output'];
1083
+ };
1084
+ /** Scaling policy. `mode` is manual (fixed desiredCount) or auto (the platform autoscaler bounds). */
1085
+ export type ManagedCollectorScalingInput = {
1086
+ desiredCount?: InputMaybe<Scalars['Int']['input']>;
1087
+ maxCount?: InputMaybe<Scalars['Int']['input']>;
1088
+ minCount?: InputMaybe<Scalars['Int']['input']>;
1089
+ mode: Scalars['String']['input'];
1090
+ targetCpuPercent?: InputMaybe<Scalars['Int']['input']>;
1091
+ targetMemoryPercent?: InputMaybe<Scalars['Int']['input']>;
1092
+ };
1093
+ /**
1094
+ * Scaling as last converged and observed. runningCount is live; the rest reflect the target in force
1095
+ * at that convergence and may lag ManagedCollectorScalingTarget mid-rollout.
1096
+ */
1097
+ export type ManagedCollectorScalingState = {
1098
+ __typename?: 'ManagedCollectorScalingState';
1099
+ desiredCount?: Maybe<Scalars['Int']['output']>;
1100
+ maxCount?: Maybe<Scalars['Int']['output']>;
1101
+ minCount?: Maybe<Scalars['Int']['output']>;
1102
+ mode: Scalars['String']['output'];
1103
+ runningCount?: Maybe<Scalars['Int']['output']>;
1104
+ };
1105
+ /** Scaling as configured. mode "manual" reads desiredCount; mode "auto" reads the min/max/target trio. */
1106
+ export type ManagedCollectorScalingTarget = {
1107
+ __typename?: 'ManagedCollectorScalingTarget';
1108
+ desiredCount?: Maybe<Scalars['Int']['output']>;
1109
+ maxCount?: Maybe<Scalars['Int']['output']>;
1110
+ minCount?: Maybe<Scalars['Int']['output']>;
1111
+ /** manual | auto. */
1112
+ mode: Scalars['String']['output'];
1113
+ targetCpuPercent?: Maybe<Scalars['Int']['output']>;
1114
+ targetMemoryPercent?: Maybe<Scalars['Int']['output']>;
1115
+ };
1116
+ /**
1117
+ * How workloads reach the Collector. One setting per region, resolved in one place so the deployer, the
1118
+ * published artifacts and the observer cannot hold three different ideas of it.
1119
+ */
1120
+ export type ManagedCollectorTransport = {
1121
+ __typename?: 'ManagedCollectorTransport';
1122
+ /** Reference to the certificate: an ACM ARN, or a secret ref. Never a certificate or key value. */
1123
+ certificateRef?: Maybe<Scalars['String']['output']>;
1124
+ /**
1125
+ * A hostname the customer owns, required by every mode that presents a certificate.
1126
+ *
1127
+ * A load balancer's own generated DNS name is not issuable by any CA, so a certificate configured
1128
+ * against it would fail verification on every export — which is why a certificate mode without this is
1129
+ * refused rather than attempted.
1130
+ */
1131
+ hostname?: Maybe<Scalars['String']['output']>;
1132
+ /** off | platform | loadBalancer | collector. Empty means the provider default. */
1133
+ mode?: Maybe<Scalars['String']['output']>;
1134
+ };
1135
+ export type ManagedCollectorTransportInput = {
1136
+ /** An ACM ARN or a secret ref. Never a certificate or key value. */
1137
+ certificateRef?: InputMaybe<Scalars['String']['input']>;
1138
+ hostname?: InputMaybe<Scalars['String']['input']>;
1139
+ /** off | platform | loadBalancer | collector. */
1140
+ mode?: InputMaybe<Scalars['String']['input']>;
1141
+ };
621
1142
  export type Mutation = {
622
1143
  __typename?: 'Mutation';
623
1144
  cancelProfileBundle: Scalars['Boolean']['output'];
@@ -627,11 +1148,29 @@ export type Mutation = {
627
1148
  createAction: Action;
628
1149
  createDestination: Destination;
629
1150
  createInstrumentationRule: InstrumentationRule;
1151
+ /**
1152
+ * Declare that this region should have a managed Collector, with the given settings.
1153
+ *
1154
+ * Writes configuration; the connector's reconcile loop builds the infrastructure on its next pass, so
1155
+ * the returned report is normally still Pending. Fails when this region already has one — use
1156
+ * updateManagedCollector to change it.
1157
+ */
1158
+ createManagedCollector: ManagedCollectorReport;
1159
+ /**
1160
+ * Add a destination to one region's Collector.
1161
+ *
1162
+ * Takes effect as a configuration push over OpAMP on the next Collector reconcile — no redeployment and
1163
+ * no workload change. Fails when that region has no Collector configured, or already has a destination by
1164
+ * this name.
1165
+ */
1166
+ createManagedCollectorDestination: Destination;
630
1167
  createSource: Source;
631
1168
  deleteAction: DeleteActionPayload;
632
1169
  deleteDestination: DeleteDestinationPayload;
633
1170
  deleteInstrumentationRule: DeleteInstrumentationRulePayload;
634
1171
  deleteSource: DeleteSourcePayload;
1172
+ /** Remove one destination from a region's Collector. Idempotent. */
1173
+ destroyManagedCollectorDestination: DestroyManagedCollectorDestinationPayload;
635
1174
  disableSourceProfiling: SlotResult;
636
1175
  enableSourceProfiling: SlotResult;
637
1176
  generateDiagnoseBundle: DiagnoseBundle;
@@ -642,6 +1181,13 @@ export type Mutation = {
642
1181
  requestCleanup: Scalars['Boolean']['output'];
643
1182
  restartSource: RestartSourcePayload;
644
1183
  startBackgroundProfileBundle: ProfileBundleStatus;
1184
+ /**
1185
+ * Request teardown of one region's Collector.
1186
+ *
1187
+ * Idempotent — a Collector that is already gone returns deleted: true. Distinct from the generic
1188
+ * requestCleanup, which takes a reconcile id rather than identifying a resource.
1189
+ */
1190
+ teardownManagedCollector: TeardownManagedCollectorPayload;
645
1191
  testConnectionForDestination: TestConnectionResponse;
646
1192
  /** Roll back instrumentation changes for the given reconcile id. Not implemented in the discovery-only phase. */
647
1193
  triggerRollback: Scalars['Boolean']['output'];
@@ -649,6 +1195,15 @@ export type Mutation = {
649
1195
  updateConfig: UpdateConfigPayload;
650
1196
  updateDestination: Destination;
651
1197
  updateInstrumentationRule: InstrumentationRule;
1198
+ /**
1199
+ * Change one region's Collector settings. Omitted fields keep their current value.
1200
+ *
1201
+ * Fails when the region has no Collector configured. Applied live: a size, scaling or ingress change is
1202
+ * converged on the next pass without a connector restart.
1203
+ */
1204
+ updateManagedCollector: ManagedCollectorReport;
1205
+ /** Change one destination. Fails when that region has no destination by this name. */
1206
+ updateManagedCollectorDestination: Destination;
652
1207
  /**
653
1208
  * Replace the on-prem license JWT on this agent (writes license.jwt).
654
1209
  * The token is verified before writing. Returns true on success.
@@ -676,6 +1231,12 @@ export type MutationCreateDestinationArgs = {
676
1231
  export type MutationCreateInstrumentationRuleArgs = {
677
1232
  input: CreateInstrumentationRuleInput;
678
1233
  };
1234
+ export type MutationCreateManagedCollectorArgs = {
1235
+ input: CreateManagedCollectorInput;
1236
+ };
1237
+ export type MutationCreateManagedCollectorDestinationArgs = {
1238
+ input: CreateManagedCollectorDestinationInput;
1239
+ };
679
1240
  export type MutationCreateSourceArgs = {
680
1241
  input: CreateSourceInput;
681
1242
  };
@@ -691,6 +1252,9 @@ export type MutationDeleteInstrumentationRuleArgs = {
691
1252
  export type MutationDeleteSourceArgs = {
692
1253
  input: DeleteSourceInput;
693
1254
  };
1255
+ export type MutationDestroyManagedCollectorDestinationArgs = {
1256
+ input: DestroyManagedCollectorDestinationInput;
1257
+ };
694
1258
  export type MutationDisableSourceProfilingArgs = {
695
1259
  service: Scalars['String']['input'];
696
1260
  };
@@ -714,6 +1278,9 @@ export type MutationStartBackgroundProfileBundleArgs = {
714
1278
  durationSeconds?: InputMaybe<Scalars['Int']['input']>;
715
1279
  service?: InputMaybe<Scalars['String']['input']>;
716
1280
  };
1281
+ export type MutationTeardownManagedCollectorArgs = {
1282
+ input: TeardownManagedCollectorInput;
1283
+ };
717
1284
  export type MutationTestConnectionForDestinationArgs = {
718
1285
  input: TestConnectionDestinationInput;
719
1286
  };
@@ -732,6 +1299,12 @@ export type MutationUpdateDestinationArgs = {
732
1299
  export type MutationUpdateInstrumentationRuleArgs = {
733
1300
  input: UpdateInstrumentationRuleInput;
734
1301
  };
1302
+ export type MutationUpdateManagedCollectorArgs = {
1303
+ input: UpdateManagedCollectorInput;
1304
+ };
1305
+ export type MutationUpdateManagedCollectorDestinationArgs = {
1306
+ input: UpdateManagedCollectorDestinationInput;
1307
+ };
735
1308
  export type MutationUpdateOnPremLicenseArgs = {
736
1309
  token: Scalars['String']['input'];
737
1310
  };
@@ -845,13 +1418,23 @@ export type Query = {
845
1418
  computePlatformReports: Array<ComputePlatformReport>;
846
1419
  config: Scalars['JSON']['output'];
847
1420
  configDefaults: Scalars['JSON']['output'];
848
- /** Per-region collector statuses (empty until managed-otelcol integration). */
1421
+ /**
1422
+ * Per-region collector statuses.
1423
+ * @deprecated Use managedCollectorReports, which types what this packs into one prose message. Kept for one release so existing clients keep working.
1424
+ */
849
1425
  connectorCollectorStatuses: Array<ConnectorCollectorStatus>;
850
1426
  /** Computed health of this connector runtime. */
851
1427
  connectorRuntimeHealth: ConnectorRuntimeHealth;
852
1428
  destination?: Maybe<Destination>;
853
1429
  destinationTypes: Array<DestinationType>;
854
1430
  destinations: Array<Destination>;
1431
+ /** One destination of one region's Collector; null when that region has none by that name. */
1432
+ getManagedCollectorDestination?: Maybe<Destination>;
1433
+ /**
1434
+ * The destination types a managed Collector can export to: the whole Odigos destination catalog, in the
1435
+ * same shape destinationTypes serves it.
1436
+ */
1437
+ getManagedCollectorDestinationTypes: Array<DestinationType>;
855
1438
  /**
856
1439
  * How to instrument one workload, keyed the same way as workloadReport. Null when the workload is unknown, or
857
1440
  * when its type has no instrumentation defined on this connector.
@@ -860,6 +1443,25 @@ export type Query = {
860
1443
  instrumentationRule?: Maybe<InstrumentationRule>;
861
1444
  instrumentationRuleTypes: Array<InstrumentationRuleTypeOption>;
862
1445
  instrumentationRules: Array<InstrumentationRule>;
1446
+ /** Every destination one region's Collector exports to, ordered by name. `region` is set on each. */
1447
+ listManagedCollectorDestinations: Array<Destination>;
1448
+ /**
1449
+ * How to deploy one region's Collector. Null when the region is unknown, or when the connector
1450
+ * publishes no deployment instructions for its Collector type.
1451
+ */
1452
+ managedCollectorInstructions?: Maybe<ManagedCollectorInstructions>;
1453
+ /**
1454
+ * Counters for one region's Collector; null when none is recorded there or it has never reported.
1455
+ *
1456
+ * Cached by default. `refresh: true` asks the running Collector for a fresh snapshot and falls back to
1457
+ * the cached one (with `live: false`) when it is not connected or does not answer promptly — a slow
1458
+ * Collector degrades this query's freshness, never its availability.
1459
+ */
1460
+ managedCollectorMetrics?: Maybe<ManagedCollectorMetrics>;
1461
+ /** One Collector by region; null when this connector has none there. */
1462
+ managedCollectorReport?: Maybe<ManagedCollectorReport>;
1463
+ /** Every managed Collector this connector knows about, in both modes. */
1464
+ managedCollectorReports: Array<ManagedCollectorReport>;
863
1465
  pipelineCounters: PipelineCounters;
864
1466
  profileBundleStatus: ProfileBundleStatus;
865
1467
  profileHotFunctions: HotFunctionsResult;
@@ -884,6 +1486,10 @@ export type QueryComputePlatformReportArgs = {
884
1486
  export type QueryDestinationArgs = {
885
1487
  name: Scalars['String']['input'];
886
1488
  };
1489
+ export type QueryGetManagedCollectorDestinationArgs = {
1490
+ name: Scalars['String']['input'];
1491
+ region: Scalars['String']['input'];
1492
+ };
887
1493
  export type QueryInstrumentationInstructionsArgs = {
888
1494
  kind: Scalars['String']['input'];
889
1495
  region?: InputMaybe<Scalars['String']['input']>;
@@ -892,6 +1498,19 @@ export type QueryInstrumentationInstructionsArgs = {
892
1498
  export type QueryInstrumentationRuleArgs = {
893
1499
  name: Scalars['String']['input'];
894
1500
  };
1501
+ export type QueryListManagedCollectorDestinationsArgs = {
1502
+ region: Scalars['String']['input'];
1503
+ };
1504
+ export type QueryManagedCollectorInstructionsArgs = {
1505
+ region: Scalars['String']['input'];
1506
+ };
1507
+ export type QueryManagedCollectorMetricsArgs = {
1508
+ refresh?: InputMaybe<Scalars['Boolean']['input']>;
1509
+ region: Scalars['String']['input'];
1510
+ };
1511
+ export type QueryManagedCollectorReportArgs = {
1512
+ region: Scalars['String']['input'];
1513
+ };
895
1514
  export type QueryProfileBundleStatusArgs = {
896
1515
  jobId: Scalars['String']['input'];
897
1516
  };
@@ -1079,6 +1698,28 @@ export type SystemdProcessDetails = ProcessDetails & {
1079
1698
  /** Unit name without the .service suffix. */
1080
1699
  unitName?: Maybe<Scalars['String']['output']>;
1081
1700
  };
1701
+ export type TeardownManagedCollectorInput = {
1702
+ region: Scalars['String']['input'];
1703
+ };
1704
+ /** Outcome of a teardown request. */
1705
+ export type TeardownManagedCollectorPayload = {
1706
+ __typename?: 'TeardownManagedCollectorPayload';
1707
+ /**
1708
+ * True when nothing of this Collector remains, including when there was nothing to remove.
1709
+ *
1710
+ * False is a refusal, not an error: `message` names the reason, which is almost always that
1711
+ * ManagedCollectorAuthority did not permit it. A declined teardown is always reported, because silently
1712
+ * leaked infrastructure is the failure mode worth avoiding here.
1713
+ */
1714
+ deleted: Scalars['Boolean']['output'];
1715
+ message?: Maybe<Scalars['String']['output']>;
1716
+ region: Scalars['String']['output'];
1717
+ /**
1718
+ * Objects deliberately left standing, e.g. a customer-created load balancer Odigos adopted but may
1719
+ * not destroy. Empty when nothing was retained.
1720
+ */
1721
+ retained: Array<Scalars['String']['output']>;
1722
+ };
1082
1723
  export declare enum TelemetrySignal {
1083
1724
  Logs = "LOGS",
1084
1725
  Metrics = "METRICS",
@@ -1158,6 +1799,8 @@ export type UpdateConfigPayload = {
1158
1799
  };
1159
1800
  export type UpdateDestinationInput = {
1160
1801
  config?: InputMaybe<Scalars['JSON']['input']>;
1802
+ /** When omitted, the existing disabled flag is left unchanged. */
1803
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
1161
1804
  name: Scalars['String']['input'];
1162
1805
  region?: InputMaybe<Scalars['String']['input']>;
1163
1806
  signals?: InputMaybe<Array<TelemetrySignal>>;
@@ -1173,6 +1816,52 @@ export type UpdateInstrumentationRuleInput = {
1173
1816
  payloadCollection?: InputMaybe<PayloadCollectionConfigInput>;
1174
1817
  ruleType?: InputMaybe<RuleType>;
1175
1818
  };
1819
+ /**
1820
+ * A partial update: an omitted field keeps its current value, and `config`, when given, replaces the
1821
+ * whole map. `region` and `name` address the destination and are never themselves changed — create a new
1822
+ * one and delete the old to rename or move it.
1823
+ */
1824
+ export type UpdateManagedCollectorDestinationInput = {
1825
+ config?: InputMaybe<Scalars['JSON']['input']>;
1826
+ /** When omitted, the existing disabled flag is left unchanged. */
1827
+ disabled?: InputMaybe<Scalars['Boolean']['input']>;
1828
+ name: Scalars['String']['input'];
1829
+ region: Scalars['String']['input'];
1830
+ signals?: InputMaybe<Array<TelemetrySignal>>;
1831
+ type?: InputMaybe<Scalars['String']['input']>;
1832
+ };
1833
+ /**
1834
+ * A partial update of one region's settings: an omitted field is LEFT AS IT IS, not reset to the default.
1835
+ * Live — the next reconcile pass picks it up, with no connector restart.
1836
+ */
1837
+ export type UpdateManagedCollectorInput = {
1838
+ arch?: InputMaybe<Scalars['String']['input']>;
1839
+ assignPublicIp?: InputMaybe<Scalars['Boolean']['input']>;
1840
+ clusterRef?: InputMaybe<Scalars['String']['input']>;
1841
+ cpu?: InputMaybe<Scalars['String']['input']>;
1842
+ /**
1843
+ * Setting this to false stops convergence and leaves everything running — it does NOT remove the
1844
+ * Collector. Use teardownManagedCollector to destroy it.
1845
+ */
1846
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
1847
+ endpointOverride?: InputMaybe<Scalars['String']['input']>;
1848
+ /**
1849
+ * Moving the Collector to another network is a REDEPLOYMENT of the same logical Collector: its
1850
+ * credential is replaced and its infrastructure rebuilt in the new network.
1851
+ */
1852
+ hostNetworkId?: InputMaybe<Scalars['String']['input']>;
1853
+ imageRepositoryOverride?: InputMaybe<Scalars['String']['input']>;
1854
+ ingress?: InputMaybe<ManagedCollectorIngressInput>;
1855
+ logRetentionDays?: InputMaybe<Scalars['Int']['input']>;
1856
+ memory?: InputMaybe<Scalars['String']['input']>;
1857
+ region: Scalars['String']['input'];
1858
+ rolloutBatchSize?: InputMaybe<Scalars['Int']['input']>;
1859
+ scaling?: InputMaybe<ManagedCollectorScalingInput>;
1860
+ securityGroupIds?: InputMaybe<Array<Scalars['String']['input']>>;
1861
+ subnetIds?: InputMaybe<Array<Scalars['String']['input']>>;
1862
+ transport?: InputMaybe<ManagedCollectorTransportInput>;
1863
+ useFargateSpot?: InputMaybe<Scalars['Boolean']['input']>;
1864
+ };
1176
1865
  export type UpdateSourceInput = {
1177
1866
  config?: InputMaybe<SourceConfigInput>;
1178
1867
  enabled?: InputMaybe<Scalars['Boolean']['input']>;
@@ -1359,6 +2048,11 @@ export type WorkloadReport = {
1359
2048
  instances?: Maybe<Array<WorkloadInstanceStatus>>;
1360
2049
  issues?: Maybe<Array<WorkloadIssue>>;
1361
2050
  kind: Scalars['String']['output'];
2051
+ /**
2052
+ * Go/Java instrumentation libraries aggregated across this source's PIDs.
2053
+ * Empty when the SDK does not report per-library status.
2054
+ */
2055
+ libraries?: Maybe<Array<InstrumentationLibraryStatus>>;
1362
2056
  /** Controller process rows for this workload; same PIDs as the controller; sorted ascending by pid. */
1363
2057
  processMetadata?: Maybe<Array<WorkloadProcessMetadata>>;
1364
2058
  progress: WorkloadProgressReport;
@@ -1935,6 +2629,7 @@ export type DestinationFieldsFragment = {
1935
2629
  region?: string | null;
1936
2630
  config?: Record<string, any> | null;
1937
2631
  signals: Array<TelemetrySignal>;
2632
+ disabled: boolean;
1938
2633
  };
1939
2634
  export type GetDestinationQueryVariables = Exact<{
1940
2635
  name: Scalars['String']['input'];
@@ -1948,6 +2643,7 @@ export type GetDestinationQuery = {
1948
2643
  region?: string | null;
1949
2644
  config?: Record<string, any> | null;
1950
2645
  signals: Array<TelemetrySignal>;
2646
+ disabled: boolean;
1951
2647
  } | null;
1952
2648
  };
1953
2649
  export type GetDestinationsQueryVariables = Exact<{
@@ -1962,6 +2658,7 @@ export type GetDestinationsQuery = {
1962
2658
  region?: string | null;
1963
2659
  config?: Record<string, any> | null;
1964
2660
  signals: Array<TelemetrySignal>;
2661
+ disabled: boolean;
1965
2662
  }>;
1966
2663
  };
1967
2664
  export type GetDestinationTypesQueryVariables = Exact<{
@@ -2012,6 +2709,7 @@ export type CreateDestinationMutation = {
2012
2709
  region?: string | null;
2013
2710
  config?: Record<string, any> | null;
2014
2711
  signals: Array<TelemetrySignal>;
2712
+ disabled: boolean;
2015
2713
  };
2016
2714
  };
2017
2715
  export type UpdateDestinationMutationVariables = Exact<{
@@ -2026,6 +2724,7 @@ export type UpdateDestinationMutation = {
2026
2724
  region?: string | null;
2027
2725
  config?: Record<string, any> | null;
2028
2726
  signals: Array<TelemetrySignal>;
2727
+ disabled: boolean;
2029
2728
  };
2030
2729
  };
2031
2730
  export type DeleteDestinationMutationVariables = Exact<{
@@ -2548,38 +3247,889 @@ export type UpdateOnPremLicenseMutation = {
2548
3247
  __typename?: 'Mutation';
2549
3248
  updateOnPremLicense: boolean;
2550
3249
  };
2551
- export type PipelineCountersQueryVariables = Exact<{
3250
+ export type GetManagedCollectorReportsQueryVariables = Exact<{
2552
3251
  [key: string]: never;
2553
3252
  }>;
2554
- export type PipelineCountersQuery = {
3253
+ export type GetManagedCollectorReportsQuery = {
2555
3254
  __typename?: 'Query';
2556
- pipelineCounters: {
2557
- __typename?: 'PipelineCounters';
2558
- otelcolHealthy: boolean;
2559
- scrapedAt: string;
2560
- scrapeError?: string | null;
2561
- destinations: Array<{
2562
- __typename?: 'DestinationCounters';
2563
- exporter: string;
2564
- traces: {
2565
- __typename?: 'DestinationSignal';
2566
- sent: number;
2567
- failed: number;
2568
- queue: number;
3255
+ managedCollectorReports: Array<{
3256
+ __typename?: 'ManagedCollectorReport';
3257
+ region: string;
3258
+ hostNetworkId: string;
3259
+ kind: string;
3260
+ status: string;
3261
+ message: string;
3262
+ liveness: string;
3263
+ instanceUid?: string | null;
3264
+ updatedAt: string;
3265
+ desired: {
3266
+ __typename?: 'ManagedCollectorDesired';
3267
+ enabled: boolean;
3268
+ hostNetworkId?: string | null;
3269
+ subnetIds?: Array<string> | null;
3270
+ securityGroupIds?: Array<string> | null;
3271
+ clusterRef?: string | null;
3272
+ assignPublicIp: boolean;
3273
+ cpu: string;
3274
+ memory: string;
3275
+ logRetentionDays: number;
3276
+ arch: string;
3277
+ imageRepositoryOverride?: string | null;
3278
+ endpointOverride?: string | null;
3279
+ scaling: {
3280
+ __typename?: 'ManagedCollectorScalingTarget';
3281
+ mode: string;
3282
+ desiredCount?: number | null;
3283
+ minCount?: number | null;
3284
+ maxCount?: number | null;
3285
+ targetCpuPercent?: number | null;
3286
+ targetMemoryPercent?: number | null;
2569
3287
  };
2570
- metrics: {
2571
- __typename?: 'DestinationSignal';
2572
- sent: number;
2573
- failed: number;
2574
- queue: number;
3288
+ transport: {
3289
+ __typename?: 'ManagedCollectorTransport';
3290
+ mode?: string | null;
3291
+ hostname?: string | null;
3292
+ certificateRef?: string | null;
2575
3293
  };
2576
- logs: {
2577
- __typename?: 'DestinationSignal';
2578
- sent: number;
2579
- failed: number;
2580
- queue: number;
3294
+ ingress: {
3295
+ __typename?: 'ManagedCollectorIngress';
3296
+ additionalSecurityGroupIds?: Array<string> | null;
3297
+ additionalCidrs?: Array<string> | null;
3298
+ allowNetworkCidrFallback: boolean;
3299
+ minFallbackPrefixLength?: number | null;
2581
3300
  };
2582
- profiles: {
3301
+ };
3302
+ current: {
3303
+ __typename?: 'ManagedCollectorCurrent';
3304
+ configHash?: string | null;
3305
+ configPushedAt?: string | null;
3306
+ licenseExpiresAt?: string | null;
3307
+ firstReadyAt?: string | null;
3308
+ endpoint: {
3309
+ __typename?: 'ManagedCollectorEndpoint';
3310
+ grpc?: string | null;
3311
+ http?: string | null;
3312
+ source: string;
3313
+ tlsMode?: string | null;
3314
+ tlsTermination?: string | null;
3315
+ ingressTier?: string | null;
3316
+ };
3317
+ scaling: {
3318
+ __typename?: 'ManagedCollectorScalingState';
3319
+ mode: string;
3320
+ desiredCount?: number | null;
3321
+ runningCount?: number | null;
3322
+ minCount?: number | null;
3323
+ maxCount?: number | null;
3324
+ };
3325
+ image?: {
3326
+ __typename?: 'ManagedCollectorImage';
3327
+ digest: string;
3328
+ tag?: string | null;
3329
+ arch: string;
3330
+ } | null;
3331
+ };
3332
+ authority: {
3333
+ __typename?: 'ManagedCollectorAuthority';
3334
+ mode: string;
3335
+ origin: string;
3336
+ attribution: string;
3337
+ mutable: boolean;
3338
+ deletable: boolean;
3339
+ };
3340
+ issues: Array<{
3341
+ __typename?: 'ManagedCollectorIssue';
3342
+ code: string;
3343
+ severity: string;
3344
+ message: string;
3345
+ since?: string | null;
3346
+ transient: boolean;
3347
+ details?: {
3348
+ __typename: 'ManagedCollectorConfigIssueDetails';
3349
+ rejectedConfigHash?: string | null;
3350
+ lastGoodConfigHash?: string | null;
3351
+ validationError?: string | null;
3352
+ code: string;
3353
+ } | {
3354
+ __typename: 'ManagedCollectorConfigurationIssueDetails';
3355
+ region: string;
3356
+ settingKey: string;
3357
+ refusedValue?: string | null;
3358
+ candidates?: Array<string> | null;
3359
+ code: string;
3360
+ } | null;
3361
+ }>;
3362
+ details?: {
3363
+ __typename: 'AwsManagedCollectorDetails';
3364
+ workloadRef?: string | null;
3365
+ revisionRef?: string | null;
3366
+ clusterRef?: string | null;
3367
+ loadBalancerRef?: string | null;
3368
+ targetGroupRefs?: Array<string> | null;
3369
+ securityGroupId?: string | null;
3370
+ subnetIds?: Array<string> | null;
3371
+ provider: string;
3372
+ } | null;
3373
+ }>;
3374
+ };
3375
+ export type GetManagedCollectorReportQueryVariables = Exact<{
3376
+ region: Scalars['String']['input'];
3377
+ }>;
3378
+ export type GetManagedCollectorReportQuery = {
3379
+ __typename?: 'Query';
3380
+ managedCollectorReport?: {
3381
+ __typename?: 'ManagedCollectorReport';
3382
+ region: string;
3383
+ hostNetworkId: string;
3384
+ kind: string;
3385
+ status: string;
3386
+ message: string;
3387
+ liveness: string;
3388
+ instanceUid?: string | null;
3389
+ updatedAt: string;
3390
+ desired: {
3391
+ __typename?: 'ManagedCollectorDesired';
3392
+ enabled: boolean;
3393
+ hostNetworkId?: string | null;
3394
+ subnetIds?: Array<string> | null;
3395
+ securityGroupIds?: Array<string> | null;
3396
+ clusterRef?: string | null;
3397
+ assignPublicIp: boolean;
3398
+ cpu: string;
3399
+ memory: string;
3400
+ logRetentionDays: number;
3401
+ arch: string;
3402
+ imageRepositoryOverride?: string | null;
3403
+ endpointOverride?: string | null;
3404
+ scaling: {
3405
+ __typename?: 'ManagedCollectorScalingTarget';
3406
+ mode: string;
3407
+ desiredCount?: number | null;
3408
+ minCount?: number | null;
3409
+ maxCount?: number | null;
3410
+ targetCpuPercent?: number | null;
3411
+ targetMemoryPercent?: number | null;
3412
+ };
3413
+ transport: {
3414
+ __typename?: 'ManagedCollectorTransport';
3415
+ mode?: string | null;
3416
+ hostname?: string | null;
3417
+ certificateRef?: string | null;
3418
+ };
3419
+ ingress: {
3420
+ __typename?: 'ManagedCollectorIngress';
3421
+ additionalSecurityGroupIds?: Array<string> | null;
3422
+ additionalCidrs?: Array<string> | null;
3423
+ allowNetworkCidrFallback: boolean;
3424
+ minFallbackPrefixLength?: number | null;
3425
+ };
3426
+ };
3427
+ current: {
3428
+ __typename?: 'ManagedCollectorCurrent';
3429
+ configHash?: string | null;
3430
+ configPushedAt?: string | null;
3431
+ licenseExpiresAt?: string | null;
3432
+ firstReadyAt?: string | null;
3433
+ endpoint: {
3434
+ __typename?: 'ManagedCollectorEndpoint';
3435
+ grpc?: string | null;
3436
+ http?: string | null;
3437
+ source: string;
3438
+ tlsMode?: string | null;
3439
+ tlsTermination?: string | null;
3440
+ ingressTier?: string | null;
3441
+ };
3442
+ scaling: {
3443
+ __typename?: 'ManagedCollectorScalingState';
3444
+ mode: string;
3445
+ desiredCount?: number | null;
3446
+ runningCount?: number | null;
3447
+ minCount?: number | null;
3448
+ maxCount?: number | null;
3449
+ };
3450
+ image?: {
3451
+ __typename?: 'ManagedCollectorImage';
3452
+ digest: string;
3453
+ tag?: string | null;
3454
+ arch: string;
3455
+ } | null;
3456
+ };
3457
+ authority: {
3458
+ __typename?: 'ManagedCollectorAuthority';
3459
+ mode: string;
3460
+ origin: string;
3461
+ attribution: string;
3462
+ mutable: boolean;
3463
+ deletable: boolean;
3464
+ };
3465
+ issues: Array<{
3466
+ __typename?: 'ManagedCollectorIssue';
3467
+ code: string;
3468
+ severity: string;
3469
+ message: string;
3470
+ since?: string | null;
3471
+ transient: boolean;
3472
+ details?: {
3473
+ __typename: 'ManagedCollectorConfigIssueDetails';
3474
+ rejectedConfigHash?: string | null;
3475
+ lastGoodConfigHash?: string | null;
3476
+ validationError?: string | null;
3477
+ code: string;
3478
+ } | {
3479
+ __typename: 'ManagedCollectorConfigurationIssueDetails';
3480
+ region: string;
3481
+ settingKey: string;
3482
+ refusedValue?: string | null;
3483
+ candidates?: Array<string> | null;
3484
+ code: string;
3485
+ } | null;
3486
+ }>;
3487
+ details?: {
3488
+ __typename: 'AwsManagedCollectorDetails';
3489
+ workloadRef?: string | null;
3490
+ revisionRef?: string | null;
3491
+ clusterRef?: string | null;
3492
+ loadBalancerRef?: string | null;
3493
+ targetGroupRefs?: Array<string> | null;
3494
+ securityGroupId?: string | null;
3495
+ subnetIds?: Array<string> | null;
3496
+ provider: string;
3497
+ } | null;
3498
+ } | null;
3499
+ };
3500
+ export type GetManagedCollectorInstructionsQueryVariables = Exact<{
3501
+ region: Scalars['String']['input'];
3502
+ }>;
3503
+ export type GetManagedCollectorInstructionsQuery = {
3504
+ __typename?: 'Query';
3505
+ managedCollectorInstructions?: {
3506
+ __typename?: 'ManagedCollectorInstructions';
3507
+ region: string;
3508
+ hostNetworkId: string;
3509
+ mode: string;
3510
+ notes: Array<string>;
3511
+ updatedAt: string;
3512
+ documents: Array<{
3513
+ __typename?: 'InstructionDocument';
3514
+ id: string;
3515
+ variant: string;
3516
+ variantLabel: string;
3517
+ title: string;
3518
+ description: string;
3519
+ steps: Array<string>;
3520
+ format: string;
3521
+ content: string;
3522
+ unresolved?: Array<{
3523
+ __typename?: 'InstructionInput';
3524
+ placeholder: string;
3525
+ description: string;
3526
+ }> | null;
3527
+ }>;
3528
+ } | null;
3529
+ };
3530
+ export type GetManagedCollectorMetricsQueryVariables = Exact<{
3531
+ region: Scalars['String']['input'];
3532
+ refresh?: InputMaybe<Scalars['Boolean']['input']>;
3533
+ }>;
3534
+ export type GetManagedCollectorMetricsQuery = {
3535
+ __typename?: 'Query';
3536
+ managedCollectorMetrics?: {
3537
+ __typename?: 'ManagedCollectorMetrics';
3538
+ region: string;
3539
+ observedAt: string;
3540
+ live: boolean;
3541
+ acceptedSpans?: number | null;
3542
+ acceptedMetricPoints?: number | null;
3543
+ acceptedLogRecords?: number | null;
3544
+ refusedSpans?: number | null;
3545
+ refusedMetricPoints?: number | null;
3546
+ refusedLogRecords?: number | null;
3547
+ sentSpans?: number | null;
3548
+ sentMetricPoints?: number | null;
3549
+ sentLogRecords?: number | null;
3550
+ failedSpans?: number | null;
3551
+ failedMetricPoints?: number | null;
3552
+ failedLogRecords?: number | null;
3553
+ queueSize?: number | null;
3554
+ queueCapacity?: number | null;
3555
+ cpuPercent?: number | null;
3556
+ memoryBytes?: number | null;
3557
+ uptimeSeconds?: number | null;
3558
+ } | null;
3559
+ };
3560
+ export type CreateManagedCollectorMutationVariables = Exact<{
3561
+ input: CreateManagedCollectorInput;
3562
+ }>;
3563
+ export type CreateManagedCollectorMutation = {
3564
+ __typename?: 'Mutation';
3565
+ createManagedCollector: {
3566
+ __typename?: 'ManagedCollectorReport';
3567
+ region: string;
3568
+ hostNetworkId: string;
3569
+ kind: string;
3570
+ status: string;
3571
+ message: string;
3572
+ liveness: string;
3573
+ instanceUid?: string | null;
3574
+ updatedAt: string;
3575
+ desired: {
3576
+ __typename?: 'ManagedCollectorDesired';
3577
+ enabled: boolean;
3578
+ hostNetworkId?: string | null;
3579
+ subnetIds?: Array<string> | null;
3580
+ securityGroupIds?: Array<string> | null;
3581
+ clusterRef?: string | null;
3582
+ assignPublicIp: boolean;
3583
+ cpu: string;
3584
+ memory: string;
3585
+ logRetentionDays: number;
3586
+ arch: string;
3587
+ imageRepositoryOverride?: string | null;
3588
+ endpointOverride?: string | null;
3589
+ scaling: {
3590
+ __typename?: 'ManagedCollectorScalingTarget';
3591
+ mode: string;
3592
+ desiredCount?: number | null;
3593
+ minCount?: number | null;
3594
+ maxCount?: number | null;
3595
+ targetCpuPercent?: number | null;
3596
+ targetMemoryPercent?: number | null;
3597
+ };
3598
+ transport: {
3599
+ __typename?: 'ManagedCollectorTransport';
3600
+ mode?: string | null;
3601
+ hostname?: string | null;
3602
+ certificateRef?: string | null;
3603
+ };
3604
+ ingress: {
3605
+ __typename?: 'ManagedCollectorIngress';
3606
+ additionalSecurityGroupIds?: Array<string> | null;
3607
+ additionalCidrs?: Array<string> | null;
3608
+ allowNetworkCidrFallback: boolean;
3609
+ minFallbackPrefixLength?: number | null;
3610
+ };
3611
+ };
3612
+ current: {
3613
+ __typename?: 'ManagedCollectorCurrent';
3614
+ configHash?: string | null;
3615
+ configPushedAt?: string | null;
3616
+ licenseExpiresAt?: string | null;
3617
+ firstReadyAt?: string | null;
3618
+ endpoint: {
3619
+ __typename?: 'ManagedCollectorEndpoint';
3620
+ grpc?: string | null;
3621
+ http?: string | null;
3622
+ source: string;
3623
+ tlsMode?: string | null;
3624
+ tlsTermination?: string | null;
3625
+ ingressTier?: string | null;
3626
+ };
3627
+ scaling: {
3628
+ __typename?: 'ManagedCollectorScalingState';
3629
+ mode: string;
3630
+ desiredCount?: number | null;
3631
+ runningCount?: number | null;
3632
+ minCount?: number | null;
3633
+ maxCount?: number | null;
3634
+ };
3635
+ image?: {
3636
+ __typename?: 'ManagedCollectorImage';
3637
+ digest: string;
3638
+ tag?: string | null;
3639
+ arch: string;
3640
+ } | null;
3641
+ };
3642
+ authority: {
3643
+ __typename?: 'ManagedCollectorAuthority';
3644
+ mode: string;
3645
+ origin: string;
3646
+ attribution: string;
3647
+ mutable: boolean;
3648
+ deletable: boolean;
3649
+ };
3650
+ issues: Array<{
3651
+ __typename?: 'ManagedCollectorIssue';
3652
+ code: string;
3653
+ severity: string;
3654
+ message: string;
3655
+ since?: string | null;
3656
+ transient: boolean;
3657
+ details?: {
3658
+ __typename: 'ManagedCollectorConfigIssueDetails';
3659
+ rejectedConfigHash?: string | null;
3660
+ lastGoodConfigHash?: string | null;
3661
+ validationError?: string | null;
3662
+ code: string;
3663
+ } | {
3664
+ __typename: 'ManagedCollectorConfigurationIssueDetails';
3665
+ region: string;
3666
+ settingKey: string;
3667
+ refusedValue?: string | null;
3668
+ candidates?: Array<string> | null;
3669
+ code: string;
3670
+ } | null;
3671
+ }>;
3672
+ details?: {
3673
+ __typename: 'AwsManagedCollectorDetails';
3674
+ workloadRef?: string | null;
3675
+ revisionRef?: string | null;
3676
+ clusterRef?: string | null;
3677
+ loadBalancerRef?: string | null;
3678
+ targetGroupRefs?: Array<string> | null;
3679
+ securityGroupId?: string | null;
3680
+ subnetIds?: Array<string> | null;
3681
+ provider: string;
3682
+ } | null;
3683
+ };
3684
+ };
3685
+ export type UpdateManagedCollectorMutationVariables = Exact<{
3686
+ input: UpdateManagedCollectorInput;
3687
+ }>;
3688
+ export type UpdateManagedCollectorMutation = {
3689
+ __typename?: 'Mutation';
3690
+ updateManagedCollector: {
3691
+ __typename?: 'ManagedCollectorReport';
3692
+ region: string;
3693
+ hostNetworkId: string;
3694
+ kind: string;
3695
+ status: string;
3696
+ message: string;
3697
+ liveness: string;
3698
+ instanceUid?: string | null;
3699
+ updatedAt: string;
3700
+ desired: {
3701
+ __typename?: 'ManagedCollectorDesired';
3702
+ enabled: boolean;
3703
+ hostNetworkId?: string | null;
3704
+ subnetIds?: Array<string> | null;
3705
+ securityGroupIds?: Array<string> | null;
3706
+ clusterRef?: string | null;
3707
+ assignPublicIp: boolean;
3708
+ cpu: string;
3709
+ memory: string;
3710
+ logRetentionDays: number;
3711
+ arch: string;
3712
+ imageRepositoryOverride?: string | null;
3713
+ endpointOverride?: string | null;
3714
+ scaling: {
3715
+ __typename?: 'ManagedCollectorScalingTarget';
3716
+ mode: string;
3717
+ desiredCount?: number | null;
3718
+ minCount?: number | null;
3719
+ maxCount?: number | null;
3720
+ targetCpuPercent?: number | null;
3721
+ targetMemoryPercent?: number | null;
3722
+ };
3723
+ transport: {
3724
+ __typename?: 'ManagedCollectorTransport';
3725
+ mode?: string | null;
3726
+ hostname?: string | null;
3727
+ certificateRef?: string | null;
3728
+ };
3729
+ ingress: {
3730
+ __typename?: 'ManagedCollectorIngress';
3731
+ additionalSecurityGroupIds?: Array<string> | null;
3732
+ additionalCidrs?: Array<string> | null;
3733
+ allowNetworkCidrFallback: boolean;
3734
+ minFallbackPrefixLength?: number | null;
3735
+ };
3736
+ };
3737
+ current: {
3738
+ __typename?: 'ManagedCollectorCurrent';
3739
+ configHash?: string | null;
3740
+ configPushedAt?: string | null;
3741
+ licenseExpiresAt?: string | null;
3742
+ firstReadyAt?: string | null;
3743
+ endpoint: {
3744
+ __typename?: 'ManagedCollectorEndpoint';
3745
+ grpc?: string | null;
3746
+ http?: string | null;
3747
+ source: string;
3748
+ tlsMode?: string | null;
3749
+ tlsTermination?: string | null;
3750
+ ingressTier?: string | null;
3751
+ };
3752
+ scaling: {
3753
+ __typename?: 'ManagedCollectorScalingState';
3754
+ mode: string;
3755
+ desiredCount?: number | null;
3756
+ runningCount?: number | null;
3757
+ minCount?: number | null;
3758
+ maxCount?: number | null;
3759
+ };
3760
+ image?: {
3761
+ __typename?: 'ManagedCollectorImage';
3762
+ digest: string;
3763
+ tag?: string | null;
3764
+ arch: string;
3765
+ } | null;
3766
+ };
3767
+ authority: {
3768
+ __typename?: 'ManagedCollectorAuthority';
3769
+ mode: string;
3770
+ origin: string;
3771
+ attribution: string;
3772
+ mutable: boolean;
3773
+ deletable: boolean;
3774
+ };
3775
+ issues: Array<{
3776
+ __typename?: 'ManagedCollectorIssue';
3777
+ code: string;
3778
+ severity: string;
3779
+ message: string;
3780
+ since?: string | null;
3781
+ transient: boolean;
3782
+ details?: {
3783
+ __typename: 'ManagedCollectorConfigIssueDetails';
3784
+ rejectedConfigHash?: string | null;
3785
+ lastGoodConfigHash?: string | null;
3786
+ validationError?: string | null;
3787
+ code: string;
3788
+ } | {
3789
+ __typename: 'ManagedCollectorConfigurationIssueDetails';
3790
+ region: string;
3791
+ settingKey: string;
3792
+ refusedValue?: string | null;
3793
+ candidates?: Array<string> | null;
3794
+ code: string;
3795
+ } | null;
3796
+ }>;
3797
+ details?: {
3798
+ __typename: 'AwsManagedCollectorDetails';
3799
+ workloadRef?: string | null;
3800
+ revisionRef?: string | null;
3801
+ clusterRef?: string | null;
3802
+ loadBalancerRef?: string | null;
3803
+ targetGroupRefs?: Array<string> | null;
3804
+ securityGroupId?: string | null;
3805
+ subnetIds?: Array<string> | null;
3806
+ provider: string;
3807
+ } | null;
3808
+ };
3809
+ };
3810
+ export type TeardownManagedCollectorMutationVariables = Exact<{
3811
+ input: TeardownManagedCollectorInput;
3812
+ }>;
3813
+ export type TeardownManagedCollectorMutation = {
3814
+ __typename?: 'Mutation';
3815
+ teardownManagedCollector: {
3816
+ __typename?: 'TeardownManagedCollectorPayload';
3817
+ region: string;
3818
+ deleted: boolean;
3819
+ message?: string | null;
3820
+ retained: Array<string>;
3821
+ };
3822
+ };
3823
+ export type ManagedCollectorReportFieldsFragment = {
3824
+ __typename?: 'ManagedCollectorReport';
3825
+ region: string;
3826
+ hostNetworkId: string;
3827
+ kind: string;
3828
+ status: string;
3829
+ message: string;
3830
+ liveness: string;
3831
+ instanceUid?: string | null;
3832
+ updatedAt: string;
3833
+ desired: {
3834
+ __typename?: 'ManagedCollectorDesired';
3835
+ enabled: boolean;
3836
+ hostNetworkId?: string | null;
3837
+ subnetIds?: Array<string> | null;
3838
+ securityGroupIds?: Array<string> | null;
3839
+ clusterRef?: string | null;
3840
+ assignPublicIp: boolean;
3841
+ cpu: string;
3842
+ memory: string;
3843
+ logRetentionDays: number;
3844
+ arch: string;
3845
+ imageRepositoryOverride?: string | null;
3846
+ endpointOverride?: string | null;
3847
+ scaling: {
3848
+ __typename?: 'ManagedCollectorScalingTarget';
3849
+ mode: string;
3850
+ desiredCount?: number | null;
3851
+ minCount?: number | null;
3852
+ maxCount?: number | null;
3853
+ targetCpuPercent?: number | null;
3854
+ targetMemoryPercent?: number | null;
3855
+ };
3856
+ transport: {
3857
+ __typename?: 'ManagedCollectorTransport';
3858
+ mode?: string | null;
3859
+ hostname?: string | null;
3860
+ certificateRef?: string | null;
3861
+ };
3862
+ ingress: {
3863
+ __typename?: 'ManagedCollectorIngress';
3864
+ additionalSecurityGroupIds?: Array<string> | null;
3865
+ additionalCidrs?: Array<string> | null;
3866
+ allowNetworkCidrFallback: boolean;
3867
+ minFallbackPrefixLength?: number | null;
3868
+ };
3869
+ };
3870
+ current: {
3871
+ __typename?: 'ManagedCollectorCurrent';
3872
+ configHash?: string | null;
3873
+ configPushedAt?: string | null;
3874
+ licenseExpiresAt?: string | null;
3875
+ firstReadyAt?: string | null;
3876
+ endpoint: {
3877
+ __typename?: 'ManagedCollectorEndpoint';
3878
+ grpc?: string | null;
3879
+ http?: string | null;
3880
+ source: string;
3881
+ tlsMode?: string | null;
3882
+ tlsTermination?: string | null;
3883
+ ingressTier?: string | null;
3884
+ };
3885
+ scaling: {
3886
+ __typename?: 'ManagedCollectorScalingState';
3887
+ mode: string;
3888
+ desiredCount?: number | null;
3889
+ runningCount?: number | null;
3890
+ minCount?: number | null;
3891
+ maxCount?: number | null;
3892
+ };
3893
+ image?: {
3894
+ __typename?: 'ManagedCollectorImage';
3895
+ digest: string;
3896
+ tag?: string | null;
3897
+ arch: string;
3898
+ } | null;
3899
+ };
3900
+ authority: {
3901
+ __typename?: 'ManagedCollectorAuthority';
3902
+ mode: string;
3903
+ origin: string;
3904
+ attribution: string;
3905
+ mutable: boolean;
3906
+ deletable: boolean;
3907
+ };
3908
+ issues: Array<{
3909
+ __typename?: 'ManagedCollectorIssue';
3910
+ code: string;
3911
+ severity: string;
3912
+ message: string;
3913
+ since?: string | null;
3914
+ transient: boolean;
3915
+ details?: {
3916
+ __typename: 'ManagedCollectorConfigIssueDetails';
3917
+ rejectedConfigHash?: string | null;
3918
+ lastGoodConfigHash?: string | null;
3919
+ validationError?: string | null;
3920
+ code: string;
3921
+ } | {
3922
+ __typename: 'ManagedCollectorConfigurationIssueDetails';
3923
+ region: string;
3924
+ settingKey: string;
3925
+ refusedValue?: string | null;
3926
+ candidates?: Array<string> | null;
3927
+ code: string;
3928
+ } | null;
3929
+ }>;
3930
+ details?: {
3931
+ __typename: 'AwsManagedCollectorDetails';
3932
+ workloadRef?: string | null;
3933
+ revisionRef?: string | null;
3934
+ clusterRef?: string | null;
3935
+ loadBalancerRef?: string | null;
3936
+ targetGroupRefs?: Array<string> | null;
3937
+ securityGroupId?: string | null;
3938
+ subnetIds?: Array<string> | null;
3939
+ provider: string;
3940
+ } | null;
3941
+ };
3942
+ type ManagedCollectorIssueDetailsFields_ManagedCollectorConfigIssueDetails_Fragment = {
3943
+ __typename: 'ManagedCollectorConfigIssueDetails';
3944
+ rejectedConfigHash?: string | null;
3945
+ lastGoodConfigHash?: string | null;
3946
+ validationError?: string | null;
3947
+ code: string;
3948
+ };
3949
+ type ManagedCollectorIssueDetailsFields_ManagedCollectorConfigurationIssueDetails_Fragment = {
3950
+ __typename: 'ManagedCollectorConfigurationIssueDetails';
3951
+ region: string;
3952
+ settingKey: string;
3953
+ refusedValue?: string | null;
3954
+ candidates?: Array<string> | null;
3955
+ code: string;
3956
+ };
3957
+ export type ManagedCollectorIssueDetailsFieldsFragment = ManagedCollectorIssueDetailsFields_ManagedCollectorConfigIssueDetails_Fragment | ManagedCollectorIssueDetailsFields_ManagedCollectorConfigurationIssueDetails_Fragment;
3958
+ export type ManagedCollectorDetailsFieldsFragment = {
3959
+ __typename: 'AwsManagedCollectorDetails';
3960
+ workloadRef?: string | null;
3961
+ revisionRef?: string | null;
3962
+ clusterRef?: string | null;
3963
+ loadBalancerRef?: string | null;
3964
+ targetGroupRefs?: Array<string> | null;
3965
+ securityGroupId?: string | null;
3966
+ subnetIds?: Array<string> | null;
3967
+ provider: string;
3968
+ };
3969
+ export type ManagedCollectorMetricsFieldsFragment = {
3970
+ __typename?: 'ManagedCollectorMetrics';
3971
+ region: string;
3972
+ observedAt: string;
3973
+ live: boolean;
3974
+ acceptedSpans?: number | null;
3975
+ acceptedMetricPoints?: number | null;
3976
+ acceptedLogRecords?: number | null;
3977
+ refusedSpans?: number | null;
3978
+ refusedMetricPoints?: number | null;
3979
+ refusedLogRecords?: number | null;
3980
+ sentSpans?: number | null;
3981
+ sentMetricPoints?: number | null;
3982
+ sentLogRecords?: number | null;
3983
+ failedSpans?: number | null;
3984
+ failedMetricPoints?: number | null;
3985
+ failedLogRecords?: number | null;
3986
+ queueSize?: number | null;
3987
+ queueCapacity?: number | null;
3988
+ cpuPercent?: number | null;
3989
+ memoryBytes?: number | null;
3990
+ uptimeSeconds?: number | null;
3991
+ };
3992
+ export type GetManagedCollectorDestinationTypesQueryVariables = Exact<{
3993
+ [key: string]: never;
3994
+ }>;
3995
+ export type GetManagedCollectorDestinationTypesQuery = {
3996
+ __typename?: 'Query';
3997
+ getManagedCollectorDestinationTypes: Array<{
3998
+ __typename?: 'DestinationType';
3999
+ type: string;
4000
+ displayName: string;
4001
+ imageUrl: string;
4002
+ supportedSignals: {
4003
+ __typename?: 'DestinationSupportedSignals';
4004
+ traces: boolean;
4005
+ metrics: boolean;
4006
+ logs: boolean;
4007
+ profiles: boolean;
4008
+ };
4009
+ fields: Array<{
4010
+ __typename?: 'DestinationField';
4011
+ name: string;
4012
+ displayName: string;
4013
+ componentType: string;
4014
+ componentProperties: string;
4015
+ secret: boolean;
4016
+ initialValue?: string | null;
4017
+ renderCondition?: string | null;
4018
+ hideFromReadData: boolean;
4019
+ customReadDataLabels: Array<{
4020
+ __typename?: 'CustomReadDataLabel';
4021
+ condition: string;
4022
+ title: string;
4023
+ value: string;
4024
+ }>;
4025
+ }>;
4026
+ }>;
4027
+ };
4028
+ export type ListManagedCollectorDestinationsQueryVariables = Exact<{
4029
+ region: Scalars['String']['input'];
4030
+ }>;
4031
+ export type ListManagedCollectorDestinationsQuery = {
4032
+ __typename?: 'Query';
4033
+ listManagedCollectorDestinations: Array<{
4034
+ __typename?: 'Destination';
4035
+ name: string;
4036
+ type: string;
4037
+ region?: string | null;
4038
+ config?: Record<string, any> | null;
4039
+ signals: Array<TelemetrySignal>;
4040
+ disabled: boolean;
4041
+ }>;
4042
+ };
4043
+ export type GetManagedCollectorDestinationQueryVariables = Exact<{
4044
+ region: Scalars['String']['input'];
4045
+ name: Scalars['String']['input'];
4046
+ }>;
4047
+ export type GetManagedCollectorDestinationQuery = {
4048
+ __typename?: 'Query';
4049
+ getManagedCollectorDestination?: {
4050
+ __typename?: 'Destination';
4051
+ name: string;
4052
+ type: string;
4053
+ region?: string | null;
4054
+ config?: Record<string, any> | null;
4055
+ signals: Array<TelemetrySignal>;
4056
+ disabled: boolean;
4057
+ } | null;
4058
+ };
4059
+ export type CreateManagedCollectorDestinationMutationVariables = Exact<{
4060
+ input: CreateManagedCollectorDestinationInput;
4061
+ }>;
4062
+ export type CreateManagedCollectorDestinationMutation = {
4063
+ __typename?: 'Mutation';
4064
+ createManagedCollectorDestination: {
4065
+ __typename?: 'Destination';
4066
+ name: string;
4067
+ type: string;
4068
+ region?: string | null;
4069
+ config?: Record<string, any> | null;
4070
+ signals: Array<TelemetrySignal>;
4071
+ disabled: boolean;
4072
+ };
4073
+ };
4074
+ export type UpdateManagedCollectorDestinationMutationVariables = Exact<{
4075
+ input: UpdateManagedCollectorDestinationInput;
4076
+ }>;
4077
+ export type UpdateManagedCollectorDestinationMutation = {
4078
+ __typename?: 'Mutation';
4079
+ updateManagedCollectorDestination: {
4080
+ __typename?: 'Destination';
4081
+ name: string;
4082
+ type: string;
4083
+ region?: string | null;
4084
+ config?: Record<string, any> | null;
4085
+ signals: Array<TelemetrySignal>;
4086
+ disabled: boolean;
4087
+ };
4088
+ };
4089
+ export type DestroyManagedCollectorDestinationMutationVariables = Exact<{
4090
+ input: DestroyManagedCollectorDestinationInput;
4091
+ }>;
4092
+ export type DestroyManagedCollectorDestinationMutation = {
4093
+ __typename?: 'Mutation';
4094
+ destroyManagedCollectorDestination: {
4095
+ __typename?: 'DestroyManagedCollectorDestinationPayload';
4096
+ region: string;
4097
+ name: string;
4098
+ deleted: boolean;
4099
+ };
4100
+ };
4101
+ export type PipelineCountersQueryVariables = Exact<{
4102
+ [key: string]: never;
4103
+ }>;
4104
+ export type PipelineCountersQuery = {
4105
+ __typename?: 'Query';
4106
+ pipelineCounters: {
4107
+ __typename?: 'PipelineCounters';
4108
+ otelcolHealthy: boolean;
4109
+ scrapedAt: string;
4110
+ scrapeError?: string | null;
4111
+ destinations: Array<{
4112
+ __typename?: 'DestinationCounters';
4113
+ exporter: string;
4114
+ traces: {
4115
+ __typename?: 'DestinationSignal';
4116
+ sent: number;
4117
+ failed: number;
4118
+ queue: number;
4119
+ };
4120
+ metrics: {
4121
+ __typename?: 'DestinationSignal';
4122
+ sent: number;
4123
+ failed: number;
4124
+ queue: number;
4125
+ };
4126
+ logs: {
4127
+ __typename?: 'DestinationSignal';
4128
+ sent: number;
4129
+ failed: number;
4130
+ queue: number;
4131
+ };
4132
+ profiles: {
2583
4133
  __typename?: 'DestinationSignal';
2584
4134
  sent: number;
2585
4135
  failed: number;
@@ -3342,6 +4892,25 @@ export type WorkloadReportFieldsFragment = {
3342
4892
  } | null;
3343
4893
  }> | null;
3344
4894
  } | null;
4895
+ libraries?: Array<{
4896
+ __typename?: 'InstrumentationLibraryStatus';
4897
+ name: string;
4898
+ type: InstrumentationLibraryType;
4899
+ healthy?: boolean | null;
4900
+ message?: string | null;
4901
+ reason?: string | null;
4902
+ lastStatusTime?: string | null;
4903
+ identifyingAttributes?: Array<{
4904
+ __typename?: 'KeyValue';
4905
+ key: string;
4906
+ value: string;
4907
+ }> | null;
4908
+ nonIdentifyingAttributes?: Array<{
4909
+ __typename?: 'KeyValue';
4910
+ key: string;
4911
+ value: string;
4912
+ }> | null;
4913
+ }> | null;
3345
4914
  };
3346
4915
  type ProcessDetailsFields_ContainerdProcessDetails_Fragment = {
3347
4916
  __typename: 'ContainerdProcessDetails';
@@ -3787,6 +5356,25 @@ export type GetWorkloadReportQuery = {
3787
5356
  } | null;
3788
5357
  }> | null;
3789
5358
  } | null;
5359
+ libraries?: Array<{
5360
+ __typename?: 'InstrumentationLibraryStatus';
5361
+ name: string;
5362
+ type: InstrumentationLibraryType;
5363
+ healthy?: boolean | null;
5364
+ message?: string | null;
5365
+ reason?: string | null;
5366
+ lastStatusTime?: string | null;
5367
+ identifyingAttributes?: Array<{
5368
+ __typename?: 'KeyValue';
5369
+ key: string;
5370
+ value: string;
5371
+ }> | null;
5372
+ nonIdentifyingAttributes?: Array<{
5373
+ __typename?: 'KeyValue';
5374
+ key: string;
5375
+ value: string;
5376
+ }> | null;
5377
+ }> | null;
3790
5378
  } | null;
3791
5379
  };
3792
5380
  export type GetWorkloadReportsQueryVariables = Exact<{
@@ -4048,6 +5636,25 @@ export type GetWorkloadReportsQuery = {
4048
5636
  } | null;
4049
5637
  }> | null;
4050
5638
  } | null;
5639
+ libraries?: Array<{
5640
+ __typename?: 'InstrumentationLibraryStatus';
5641
+ name: string;
5642
+ type: InstrumentationLibraryType;
5643
+ healthy?: boolean | null;
5644
+ message?: string | null;
5645
+ reason?: string | null;
5646
+ lastStatusTime?: string | null;
5647
+ identifyingAttributes?: Array<{
5648
+ __typename?: 'KeyValue';
5649
+ key: string;
5650
+ value: string;
5651
+ }> | null;
5652
+ nonIdentifyingAttributes?: Array<{
5653
+ __typename?: 'KeyValue';
5654
+ key: string;
5655
+ value: string;
5656
+ }> | null;
5657
+ }> | null;
4051
5658
  }>;
4052
5659
  };
4053
5660
  export declare const ActionTypeFieldsFragmentDoc: DocumentNode<ActionTypeFieldsFragment, unknown>;
@@ -4059,6 +5666,10 @@ export declare const InstructionDocumentFieldsFragmentDoc: DocumentNode<Instruct
4059
5666
  export declare const InstrumentationInstructionsFieldsFragmentDoc: DocumentNode<InstrumentationInstructionsFieldsFragment, unknown>;
4060
5667
  export declare const InstrumentationRuleTypeFieldsFragmentDoc: DocumentNode<InstrumentationRuleTypeFieldsFragment, unknown>;
4061
5668
  export declare const InstrumentationRuleFieldsFragmentDoc: DocumentNode<InstrumentationRuleFieldsFragment, unknown>;
5669
+ export declare const ManagedCollectorIssueDetailsFieldsFragmentDoc: DocumentNode<ManagedCollectorIssueDetailsFieldsFragment, unknown>;
5670
+ export declare const ManagedCollectorDetailsFieldsFragmentDoc: DocumentNode<ManagedCollectorDetailsFieldsFragment, unknown>;
5671
+ export declare const ManagedCollectorReportFieldsFragmentDoc: DocumentNode<ManagedCollectorReportFieldsFragment, unknown>;
5672
+ export declare const ManagedCollectorMetricsFieldsFragmentDoc: DocumentNode<ManagedCollectorMetricsFieldsFragment, unknown>;
4062
5673
  export declare const ContainerOverrideFieldsFragmentDoc: DocumentNode<ContainerOverrideFieldsFragment, unknown>;
4063
5674
  export declare const ProcessDetailsFieldsFragmentDoc: DocumentNode<ProcessDetailsFieldsFragment, unknown>;
4064
5675
  export declare const WorkloadContainerFieldsFragmentDoc: DocumentNode<WorkloadContainerFieldsFragment, unknown>;
@@ -4097,6 +5708,19 @@ export declare const CreateInstrumentationRuleDocument: DocumentNode<CreateInstr
4097
5708
  export declare const UpdateInstrumentationRuleDocument: DocumentNode<UpdateInstrumentationRuleMutation, UpdateInstrumentationRuleMutationVariables>;
4098
5709
  export declare const DeleteInstrumentationRuleDocument: DocumentNode<DeleteInstrumentationRuleMutation, DeleteInstrumentationRuleMutationVariables>;
4099
5710
  export declare const UpdateOnPremLicenseDocument: DocumentNode<UpdateOnPremLicenseMutation, UpdateOnPremLicenseMutationVariables>;
5711
+ export declare const GetManagedCollectorReportsDocument: DocumentNode<GetManagedCollectorReportsQuery, GetManagedCollectorReportsQueryVariables>;
5712
+ export declare const GetManagedCollectorReportDocument: DocumentNode<GetManagedCollectorReportQuery, GetManagedCollectorReportQueryVariables>;
5713
+ export declare const GetManagedCollectorInstructionsDocument: DocumentNode<GetManagedCollectorInstructionsQuery, GetManagedCollectorInstructionsQueryVariables>;
5714
+ export declare const GetManagedCollectorMetricsDocument: DocumentNode<GetManagedCollectorMetricsQuery, GetManagedCollectorMetricsQueryVariables>;
5715
+ export declare const CreateManagedCollectorDocument: DocumentNode<CreateManagedCollectorMutation, CreateManagedCollectorMutationVariables>;
5716
+ export declare const UpdateManagedCollectorDocument: DocumentNode<UpdateManagedCollectorMutation, UpdateManagedCollectorMutationVariables>;
5717
+ export declare const TeardownManagedCollectorDocument: DocumentNode<TeardownManagedCollectorMutation, TeardownManagedCollectorMutationVariables>;
5718
+ export declare const GetManagedCollectorDestinationTypesDocument: DocumentNode<GetManagedCollectorDestinationTypesQuery, GetManagedCollectorDestinationTypesQueryVariables>;
5719
+ export declare const ListManagedCollectorDestinationsDocument: DocumentNode<ListManagedCollectorDestinationsQuery, ListManagedCollectorDestinationsQueryVariables>;
5720
+ export declare const GetManagedCollectorDestinationDocument: DocumentNode<GetManagedCollectorDestinationQuery, GetManagedCollectorDestinationQueryVariables>;
5721
+ export declare const CreateManagedCollectorDestinationDocument: DocumentNode<CreateManagedCollectorDestinationMutation, CreateManagedCollectorDestinationMutationVariables>;
5722
+ export declare const UpdateManagedCollectorDestinationDocument: DocumentNode<UpdateManagedCollectorDestinationMutation, UpdateManagedCollectorDestinationMutationVariables>;
5723
+ export declare const DestroyManagedCollectorDestinationDocument: DocumentNode<DestroyManagedCollectorDestinationMutation, DestroyManagedCollectorDestinationMutationVariables>;
4100
5724
  export declare const PipelineCountersDocument: DocumentNode<PipelineCountersQuery, PipelineCountersQueryVariables>;
4101
5725
  export declare const ProfileHotFunctionsDocument: DocumentNode<ProfileHotFunctionsQuery, ProfileHotFunctionsQueryVariables>;
4102
5726
  export declare const ProfileBundleStatusDocument: DocumentNode<ProfileBundleStatusQuery, ProfileBundleStatusQueryVariables>;