@wundergraph/cosmo-connect 0.47.0 → 0.48.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.
@@ -2875,63 +2875,6 @@ export declare class MigrateFromApolloResponse extends Message<MigrateFromApollo
2875
2875
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateFromApolloResponse;
2876
2876
  static equals(a: MigrateFromApolloResponse | PlainMessage<MigrateFromApolloResponse> | undefined, b: MigrateFromApolloResponse | PlainMessage<MigrateFromApolloResponse> | undefined): boolean;
2877
2877
  }
2878
- /**
2879
- * @generated from message wg.cosmo.platform.v1.SpanAttributes
2880
- */
2881
- export declare class SpanAttributes extends Message<SpanAttributes> {
2882
- /**
2883
- * @generated from field: string httpStatusCode = 1;
2884
- */
2885
- httpStatusCode: string;
2886
- /**
2887
- * @generated from field: string componentName = 2;
2888
- */
2889
- componentName: string;
2890
- /**
2891
- * @generated from field: string operationName = 3;
2892
- */
2893
- operationName: string;
2894
- /**
2895
- * @generated from field: string operationType = 4;
2896
- */
2897
- operationType: string;
2898
- /**
2899
- * @generated from field: string operationContent = 5;
2900
- */
2901
- operationContent: string;
2902
- /**
2903
- * @generated from field: string httpURL = 6;
2904
- */
2905
- httpURL: string;
2906
- /**
2907
- * @generated from field: string httpHost = 7;
2908
- */
2909
- httpHost: string;
2910
- /**
2911
- * @generated from field: string httpUserAgent = 8;
2912
- */
2913
- httpUserAgent: string;
2914
- /**
2915
- * @generated from field: string httpMethod = 9;
2916
- */
2917
- httpMethod: string;
2918
- /**
2919
- * @generated from field: string httpTarget = 10;
2920
- */
2921
- httpTarget: string;
2922
- /**
2923
- * @generated from field: string subgraphName = 11;
2924
- */
2925
- subgraphName: string;
2926
- constructor(data?: PartialMessage<SpanAttributes>);
2927
- static readonly runtime: typeof proto3;
2928
- static readonly typeName = "wg.cosmo.platform.v1.SpanAttributes";
2929
- static readonly fields: FieldList;
2930
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SpanAttributes;
2931
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SpanAttributes;
2932
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SpanAttributes;
2933
- static equals(a: SpanAttributes | PlainMessage<SpanAttributes> | undefined, b: SpanAttributes | PlainMessage<SpanAttributes> | undefined): boolean;
2934
- }
2935
2878
  /**
2936
2879
  * @generated from message wg.cosmo.platform.v1.Span
2937
2880
  */
@@ -2941,45 +2884,51 @@ export declare class Span extends Message<Span> {
2941
2884
  */
2942
2885
  timestamp: bigint;
2943
2886
  /**
2944
- * @generated from field: string traceID = 2;
2887
+ * @generated from field: string scopeName = 2;
2888
+ */
2889
+ scopeName: string;
2890
+ /**
2891
+ * @generated from field: string traceID = 3;
2945
2892
  */
2946
2893
  traceID: string;
2947
2894
  /**
2948
- * @generated from field: string spanID = 3;
2895
+ * @generated from field: string spanID = 4;
2949
2896
  */
2950
2897
  spanID: string;
2951
2898
  /**
2952
- * @generated from field: string parentSpanID = 4;
2899
+ * @generated from field: string parentSpanID = 5;
2953
2900
  */
2954
2901
  parentSpanID: string;
2955
2902
  /**
2956
- * @generated from field: string spanName = 5;
2903
+ * @generated from field: string spanName = 6;
2957
2904
  */
2958
2905
  spanName: string;
2959
2906
  /**
2960
- * @generated from field: string spanKind = 6;
2907
+ * @generated from field: string spanKind = 7;
2961
2908
  */
2962
2909
  spanKind: string;
2963
2910
  /**
2964
- * @generated from field: int64 duration = 7;
2911
+ * @generated from field: int64 duration = 8;
2965
2912
  */
2966
2913
  duration: bigint;
2967
2914
  /**
2968
- * @generated from field: string serviceName = 8;
2915
+ * @generated from field: string serviceName = 9;
2969
2916
  */
2970
2917
  serviceName: string;
2971
2918
  /**
2972
- * @generated from field: string statusCode = 9;
2919
+ * @generated from field: string statusCode = 10;
2973
2920
  */
2974
2921
  statusCode: string;
2975
2922
  /**
2976
- * @generated from field: string statusMessage = 10;
2923
+ * @generated from field: string statusMessage = 11;
2977
2924
  */
2978
2925
  statusMessage: string;
2979
2926
  /**
2980
- * @generated from field: wg.cosmo.platform.v1.SpanAttributes attributes = 11;
2927
+ * @generated from field: map<string, string> attributes = 12;
2981
2928
  */
2982
- attributes?: SpanAttributes;
2929
+ attributes: {
2930
+ [key: string]: string;
2931
+ };
2983
2932
  constructor(data?: PartialMessage<Span>);
2984
2933
  static readonly runtime: typeof proto3;
2985
2934
  static readonly typeName = "wg.cosmo.platform.v1.Span";
@@ -4475,86 +4475,6 @@ export class MigrateFromApolloResponse extends Message {
4475
4475
  return proto3.util.equals(MigrateFromApolloResponse, a, b);
4476
4476
  }
4477
4477
  }
4478
- /**
4479
- * @generated from message wg.cosmo.platform.v1.SpanAttributes
4480
- */
4481
- export class SpanAttributes extends Message {
4482
- /**
4483
- * @generated from field: string httpStatusCode = 1;
4484
- */
4485
- httpStatusCode = "";
4486
- /**
4487
- * @generated from field: string componentName = 2;
4488
- */
4489
- componentName = "";
4490
- /**
4491
- * @generated from field: string operationName = 3;
4492
- */
4493
- operationName = "";
4494
- /**
4495
- * @generated from field: string operationType = 4;
4496
- */
4497
- operationType = "";
4498
- /**
4499
- * @generated from field: string operationContent = 5;
4500
- */
4501
- operationContent = "";
4502
- /**
4503
- * @generated from field: string httpURL = 6;
4504
- */
4505
- httpURL = "";
4506
- /**
4507
- * @generated from field: string httpHost = 7;
4508
- */
4509
- httpHost = "";
4510
- /**
4511
- * @generated from field: string httpUserAgent = 8;
4512
- */
4513
- httpUserAgent = "";
4514
- /**
4515
- * @generated from field: string httpMethod = 9;
4516
- */
4517
- httpMethod = "";
4518
- /**
4519
- * @generated from field: string httpTarget = 10;
4520
- */
4521
- httpTarget = "";
4522
- /**
4523
- * @generated from field: string subgraphName = 11;
4524
- */
4525
- subgraphName = "";
4526
- constructor(data) {
4527
- super();
4528
- proto3.util.initPartial(data, this);
4529
- }
4530
- static runtime = proto3;
4531
- static typeName = "wg.cosmo.platform.v1.SpanAttributes";
4532
- static fields = proto3.util.newFieldList(() => [
4533
- { no: 1, name: "httpStatusCode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4534
- { no: 2, name: "componentName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4535
- { no: 3, name: "operationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4536
- { no: 4, name: "operationType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4537
- { no: 5, name: "operationContent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4538
- { no: 6, name: "httpURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4539
- { no: 7, name: "httpHost", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4540
- { no: 8, name: "httpUserAgent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4541
- { no: 9, name: "httpMethod", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4542
- { no: 10, name: "httpTarget", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4543
- { no: 11, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4544
- ]);
4545
- static fromBinary(bytes, options) {
4546
- return new SpanAttributes().fromBinary(bytes, options);
4547
- }
4548
- static fromJson(jsonValue, options) {
4549
- return new SpanAttributes().fromJson(jsonValue, options);
4550
- }
4551
- static fromJsonString(jsonString, options) {
4552
- return new SpanAttributes().fromJsonString(jsonString, options);
4553
- }
4554
- static equals(a, b) {
4555
- return proto3.util.equals(SpanAttributes, a, b);
4556
- }
4557
- }
4558
4478
  /**
4559
4479
  * @generated from message wg.cosmo.platform.v1.Span
4560
4480
  */
@@ -4564,45 +4484,49 @@ export class Span extends Message {
4564
4484
  */
4565
4485
  timestamp = protoInt64.zero;
4566
4486
  /**
4567
- * @generated from field: string traceID = 2;
4487
+ * @generated from field: string scopeName = 2;
4488
+ */
4489
+ scopeName = "";
4490
+ /**
4491
+ * @generated from field: string traceID = 3;
4568
4492
  */
4569
4493
  traceID = "";
4570
4494
  /**
4571
- * @generated from field: string spanID = 3;
4495
+ * @generated from field: string spanID = 4;
4572
4496
  */
4573
4497
  spanID = "";
4574
4498
  /**
4575
- * @generated from field: string parentSpanID = 4;
4499
+ * @generated from field: string parentSpanID = 5;
4576
4500
  */
4577
4501
  parentSpanID = "";
4578
4502
  /**
4579
- * @generated from field: string spanName = 5;
4503
+ * @generated from field: string spanName = 6;
4580
4504
  */
4581
4505
  spanName = "";
4582
4506
  /**
4583
- * @generated from field: string spanKind = 6;
4507
+ * @generated from field: string spanKind = 7;
4584
4508
  */
4585
4509
  spanKind = "";
4586
4510
  /**
4587
- * @generated from field: int64 duration = 7;
4511
+ * @generated from field: int64 duration = 8;
4588
4512
  */
4589
4513
  duration = protoInt64.zero;
4590
4514
  /**
4591
- * @generated from field: string serviceName = 8;
4515
+ * @generated from field: string serviceName = 9;
4592
4516
  */
4593
4517
  serviceName = "";
4594
4518
  /**
4595
- * @generated from field: string statusCode = 9;
4519
+ * @generated from field: string statusCode = 10;
4596
4520
  */
4597
4521
  statusCode = "";
4598
4522
  /**
4599
- * @generated from field: string statusMessage = 10;
4523
+ * @generated from field: string statusMessage = 11;
4600
4524
  */
4601
4525
  statusMessage = "";
4602
4526
  /**
4603
- * @generated from field: wg.cosmo.platform.v1.SpanAttributes attributes = 11;
4527
+ * @generated from field: map<string, string> attributes = 12;
4604
4528
  */
4605
- attributes;
4529
+ attributes = {};
4606
4530
  constructor(data) {
4607
4531
  super();
4608
4532
  proto3.util.initPartial(data, this);
@@ -4611,16 +4535,17 @@ export class Span extends Message {
4611
4535
  static typeName = "wg.cosmo.platform.v1.Span";
4612
4536
  static fields = proto3.util.newFieldList(() => [
4613
4537
  { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
4614
- { no: 2, name: "traceID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4615
- { no: 3, name: "spanID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4616
- { no: 4, name: "parentSpanID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4617
- { no: 5, name: "spanName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4618
- { no: 6, name: "spanKind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4619
- { no: 7, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
4620
- { no: 8, name: "serviceName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4621
- { no: 9, name: "statusCode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4622
- { no: 10, name: "statusMessage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4623
- { no: 11, name: "attributes", kind: "message", T: SpanAttributes },
4538
+ { no: 2, name: "scopeName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4539
+ { no: 3, name: "traceID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4540
+ { no: 4, name: "spanID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4541
+ { no: 5, name: "parentSpanID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4542
+ { no: 6, name: "spanName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4543
+ { no: 7, name: "spanKind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4544
+ { no: 8, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
4545
+ { no: 9, name: "serviceName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4546
+ { no: 10, name: "statusCode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4547
+ { no: 11, name: "statusMessage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4548
+ { no: 12, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
4624
4549
  ]);
4625
4550
  static fromBinary(bytes, options) {
4626
4551
  return new Span().fromBinary(bytes, options);