@wundergraph/cosmo-connect 0.41.0 → 0.42.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.
@@ -967,7 +967,7 @@ export declare class GetFederatedGraphByNameRequest extends Message<GetFederated
967
967
  */
968
968
  name: string;
969
969
  /**
970
- * @generated from field: bool includeMetrics = 3;
970
+ * @generated from field: bool includeMetrics = 2;
971
971
  */
972
972
  includeMetrics: boolean;
973
973
  constructor(data?: PartialMessage<GetFederatedGraphByNameRequest>);
@@ -2260,6 +2260,18 @@ export declare class GetDashboardAnalyticsViewRequest extends Message<GetDashboa
2260
2260
  * @generated from field: string federatedGraphName = 1;
2261
2261
  */
2262
2262
  federatedGraphName: string;
2263
+ /**
2264
+ * @generated from field: string startDate = 2;
2265
+ */
2266
+ startDate: string;
2267
+ /**
2268
+ * @generated from field: string endDate = 3;
2269
+ */
2270
+ endDate: string;
2271
+ /**
2272
+ * @generated from field: int32 range = 4;
2273
+ */
2274
+ range: number;
2263
2275
  constructor(data?: PartialMessage<GetDashboardAnalyticsViewRequest>);
2264
2276
  static readonly runtime: typeof proto3;
2265
2277
  static readonly typeName = "wg.cosmo.platform.v1.GetDashboardAnalyticsViewRequest";
@@ -2319,6 +2331,64 @@ export declare class OperationRequestCount extends Message<OperationRequestCount
2319
2331
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OperationRequestCount;
2320
2332
  static equals(a: OperationRequestCount | PlainMessage<OperationRequestCount> | undefined, b: OperationRequestCount | PlainMessage<OperationRequestCount> | undefined): boolean;
2321
2333
  }
2334
+ /**
2335
+ * @generated from message wg.cosmo.platform.v1.FederatedGraphMetrics
2336
+ */
2337
+ export declare class FederatedGraphMetrics extends Message<FederatedGraphMetrics> {
2338
+ /**
2339
+ * @generated from field: string federatedGraphID = 1;
2340
+ */
2341
+ federatedGraphID: string;
2342
+ /**
2343
+ * @generated from field: float requestRate = 2;
2344
+ */
2345
+ requestRate: number;
2346
+ /**
2347
+ * @generated from field: float errorRate = 3;
2348
+ */
2349
+ errorRate: number;
2350
+ /**
2351
+ * @generated from field: float latency = 4;
2352
+ */
2353
+ latency: number;
2354
+ constructor(data?: PartialMessage<FederatedGraphMetrics>);
2355
+ static readonly runtime: typeof proto3;
2356
+ static readonly typeName = "wg.cosmo.platform.v1.FederatedGraphMetrics";
2357
+ static readonly fields: FieldList;
2358
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FederatedGraphMetrics;
2359
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FederatedGraphMetrics;
2360
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FederatedGraphMetrics;
2361
+ static equals(a: FederatedGraphMetrics | PlainMessage<FederatedGraphMetrics> | undefined, b: FederatedGraphMetrics | PlainMessage<FederatedGraphMetrics> | undefined): boolean;
2362
+ }
2363
+ /**
2364
+ * @generated from message wg.cosmo.platform.v1.SubgraphMetrics
2365
+ */
2366
+ export declare class SubgraphMetrics extends Message<SubgraphMetrics> {
2367
+ /**
2368
+ * @generated from field: string subgraphID = 1;
2369
+ */
2370
+ subgraphID: string;
2371
+ /**
2372
+ * @generated from field: float requestRate = 2;
2373
+ */
2374
+ requestRate: number;
2375
+ /**
2376
+ * @generated from field: float errorRate = 3;
2377
+ */
2378
+ errorRate: number;
2379
+ /**
2380
+ * @generated from field: float latency = 4;
2381
+ */
2382
+ latency: number;
2383
+ constructor(data?: PartialMessage<SubgraphMetrics>);
2384
+ static readonly runtime: typeof proto3;
2385
+ static readonly typeName = "wg.cosmo.platform.v1.SubgraphMetrics";
2386
+ static readonly fields: FieldList;
2387
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubgraphMetrics;
2388
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubgraphMetrics;
2389
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubgraphMetrics;
2390
+ static equals(a: SubgraphMetrics | PlainMessage<SubgraphMetrics> | undefined, b: SubgraphMetrics | PlainMessage<SubgraphMetrics> | undefined): boolean;
2391
+ }
2322
2392
  /**
2323
2393
  * @generated from message wg.cosmo.platform.v1.GetDashboardAnalyticsViewResponse
2324
2394
  */
@@ -2335,6 +2405,14 @@ export declare class GetDashboardAnalyticsViewResponse extends Message<GetDashbo
2335
2405
  * @generated from field: repeated wg.cosmo.platform.v1.OperationRequestCount mostRequestedOperations = 3;
2336
2406
  */
2337
2407
  mostRequestedOperations: OperationRequestCount[];
2408
+ /**
2409
+ * @generated from field: repeated wg.cosmo.platform.v1.SubgraphMetrics subgraphMetrics = 4;
2410
+ */
2411
+ subgraphMetrics: SubgraphMetrics[];
2412
+ /**
2413
+ * @generated from field: wg.cosmo.platform.v1.FederatedGraphMetrics federatedGraphMetrics = 5;
2414
+ */
2415
+ federatedGraphMetrics?: FederatedGraphMetrics;
2338
2416
  constructor(data?: PartialMessage<GetDashboardAnalyticsViewResponse>);
2339
2417
  static readonly runtime: typeof proto3;
2340
2418
  static readonly typeName = "wg.cosmo.platform.v1.GetDashboardAnalyticsViewResponse";
@@ -1463,7 +1463,7 @@ export class GetFederatedGraphByNameRequest extends Message {
1463
1463
  */
1464
1464
  name = "";
1465
1465
  /**
1466
- * @generated from field: bool includeMetrics = 3;
1466
+ * @generated from field: bool includeMetrics = 2;
1467
1467
  */
1468
1468
  includeMetrics = false;
1469
1469
  constructor(data) {
@@ -1474,7 +1474,7 @@ export class GetFederatedGraphByNameRequest extends Message {
1474
1474
  static typeName = "wg.cosmo.platform.v1.GetFederatedGraphByNameRequest";
1475
1475
  static fields = proto3.util.newFieldList(() => [
1476
1476
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1477
- { no: 3, name: "includeMetrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1477
+ { no: 2, name: "includeMetrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1478
1478
  ]);
1479
1479
  static fromBinary(bytes, options) {
1480
1480
  return new GetFederatedGraphByNameRequest().fromBinary(bytes, options);
@@ -3470,6 +3470,18 @@ export class GetDashboardAnalyticsViewRequest extends Message {
3470
3470
  * @generated from field: string federatedGraphName = 1;
3471
3471
  */
3472
3472
  federatedGraphName = "";
3473
+ /**
3474
+ * @generated from field: string startDate = 2;
3475
+ */
3476
+ startDate = "";
3477
+ /**
3478
+ * @generated from field: string endDate = 3;
3479
+ */
3480
+ endDate = "";
3481
+ /**
3482
+ * @generated from field: int32 range = 4;
3483
+ */
3484
+ range = 0;
3473
3485
  constructor(data) {
3474
3486
  super();
3475
3487
  proto3.util.initPartial(data, this);
@@ -3478,6 +3490,9 @@ export class GetDashboardAnalyticsViewRequest extends Message {
3478
3490
  static typeName = "wg.cosmo.platform.v1.GetDashboardAnalyticsViewRequest";
3479
3491
  static fields = proto3.util.newFieldList(() => [
3480
3492
  { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3493
+ { no: 2, name: "startDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3494
+ { no: 3, name: "endDate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3495
+ { no: 4, name: "range", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
3481
3496
  ]);
3482
3497
  static fromBinary(bytes, options) {
3483
3498
  return new GetDashboardAnalyticsViewRequest().fromBinary(bytes, options);
@@ -3572,6 +3587,96 @@ export class OperationRequestCount extends Message {
3572
3587
  return proto3.util.equals(OperationRequestCount, a, b);
3573
3588
  }
3574
3589
  }
3590
+ /**
3591
+ * @generated from message wg.cosmo.platform.v1.FederatedGraphMetrics
3592
+ */
3593
+ export class FederatedGraphMetrics extends Message {
3594
+ /**
3595
+ * @generated from field: string federatedGraphID = 1;
3596
+ */
3597
+ federatedGraphID = "";
3598
+ /**
3599
+ * @generated from field: float requestRate = 2;
3600
+ */
3601
+ requestRate = 0;
3602
+ /**
3603
+ * @generated from field: float errorRate = 3;
3604
+ */
3605
+ errorRate = 0;
3606
+ /**
3607
+ * @generated from field: float latency = 4;
3608
+ */
3609
+ latency = 0;
3610
+ constructor(data) {
3611
+ super();
3612
+ proto3.util.initPartial(data, this);
3613
+ }
3614
+ static runtime = proto3;
3615
+ static typeName = "wg.cosmo.platform.v1.FederatedGraphMetrics";
3616
+ static fields = proto3.util.newFieldList(() => [
3617
+ { no: 1, name: "federatedGraphID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3618
+ { no: 2, name: "requestRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
3619
+ { no: 3, name: "errorRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
3620
+ { no: 4, name: "latency", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
3621
+ ]);
3622
+ static fromBinary(bytes, options) {
3623
+ return new FederatedGraphMetrics().fromBinary(bytes, options);
3624
+ }
3625
+ static fromJson(jsonValue, options) {
3626
+ return new FederatedGraphMetrics().fromJson(jsonValue, options);
3627
+ }
3628
+ static fromJsonString(jsonString, options) {
3629
+ return new FederatedGraphMetrics().fromJsonString(jsonString, options);
3630
+ }
3631
+ static equals(a, b) {
3632
+ return proto3.util.equals(FederatedGraphMetrics, a, b);
3633
+ }
3634
+ }
3635
+ /**
3636
+ * @generated from message wg.cosmo.platform.v1.SubgraphMetrics
3637
+ */
3638
+ export class SubgraphMetrics extends Message {
3639
+ /**
3640
+ * @generated from field: string subgraphID = 1;
3641
+ */
3642
+ subgraphID = "";
3643
+ /**
3644
+ * @generated from field: float requestRate = 2;
3645
+ */
3646
+ requestRate = 0;
3647
+ /**
3648
+ * @generated from field: float errorRate = 3;
3649
+ */
3650
+ errorRate = 0;
3651
+ /**
3652
+ * @generated from field: float latency = 4;
3653
+ */
3654
+ latency = 0;
3655
+ constructor(data) {
3656
+ super();
3657
+ proto3.util.initPartial(data, this);
3658
+ }
3659
+ static runtime = proto3;
3660
+ static typeName = "wg.cosmo.platform.v1.SubgraphMetrics";
3661
+ static fields = proto3.util.newFieldList(() => [
3662
+ { no: 1, name: "subgraphID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3663
+ { no: 2, name: "requestRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
3664
+ { no: 3, name: "errorRate", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
3665
+ { no: 4, name: "latency", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
3666
+ ]);
3667
+ static fromBinary(bytes, options) {
3668
+ return new SubgraphMetrics().fromBinary(bytes, options);
3669
+ }
3670
+ static fromJson(jsonValue, options) {
3671
+ return new SubgraphMetrics().fromJson(jsonValue, options);
3672
+ }
3673
+ static fromJsonString(jsonString, options) {
3674
+ return new SubgraphMetrics().fromJsonString(jsonString, options);
3675
+ }
3676
+ static equals(a, b) {
3677
+ return proto3.util.equals(SubgraphMetrics, a, b);
3678
+ }
3679
+ }
3575
3680
  /**
3576
3681
  * @generated from message wg.cosmo.platform.v1.GetDashboardAnalyticsViewResponse
3577
3682
  */
@@ -3588,6 +3693,14 @@ export class GetDashboardAnalyticsViewResponse extends Message {
3588
3693
  * @generated from field: repeated wg.cosmo.platform.v1.OperationRequestCount mostRequestedOperations = 3;
3589
3694
  */
3590
3695
  mostRequestedOperations = [];
3696
+ /**
3697
+ * @generated from field: repeated wg.cosmo.platform.v1.SubgraphMetrics subgraphMetrics = 4;
3698
+ */
3699
+ subgraphMetrics = [];
3700
+ /**
3701
+ * @generated from field: wg.cosmo.platform.v1.FederatedGraphMetrics federatedGraphMetrics = 5;
3702
+ */
3703
+ federatedGraphMetrics;
3591
3704
  constructor(data) {
3592
3705
  super();
3593
3706
  proto3.util.initPartial(data, this);
@@ -3598,6 +3711,8 @@ export class GetDashboardAnalyticsViewResponse extends Message {
3598
3711
  { no: 1, name: "response", kind: "message", T: Response },
3599
3712
  { no: 2, name: "requestSeries", kind: "message", T: RequestSeriesItem, repeated: true },
3600
3713
  { no: 3, name: "mostRequestedOperations", kind: "message", T: OperationRequestCount, repeated: true },
3714
+ { no: 4, name: "subgraphMetrics", kind: "message", T: SubgraphMetrics, repeated: true },
3715
+ { no: 5, name: "federatedGraphMetrics", kind: "message", T: FederatedGraphMetrics },
3601
3716
  ]);
3602
3717
  static fromBinary(bytes, options) {
3603
3718
  return new GetDashboardAnalyticsViewResponse().fromBinary(bytes, options);