@forwardimpact/librpc 0.1.110 → 0.1.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/bin/fit-unary.js +2 -2
- package/package.json +1 -1
- package/src/auth.js +8 -7
- package/src/base.js +10 -10
- package/src/client.js +46 -14
- package/src/generated/definitions/exports.js +3 -3
- package/src/generated/definitions/span.js +50 -0
- package/src/generated/services/exports.js +8 -8
- package/src/generated/services/{trace → span}/client.js +16 -16
- package/src/generated/services/{trace → span}/service.js +12 -12
- package/src/generated/types/metadata.js +90 -90
- package/src/generated/types/types.js +2127 -2127
- package/src/health.js +4 -4
- package/src/index.js +14 -14
- package/src/interceptor.js +4 -3
- package/src/server.js +13 -11
- package/src/generated/definitions/trace.js +0 -50
|
@@ -755,28 +755,23 @@ export const metadata = {
|
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
},
|
|
758
|
-
"
|
|
759
|
-
"
|
|
760
|
-
"requestType": "
|
|
758
|
+
"span.Span": {
|
|
759
|
+
"RecordSpan": {
|
|
760
|
+
"requestType": "span.SpanItem",
|
|
761
761
|
"fields": {
|
|
762
|
-
"
|
|
762
|
+
"trace_id": {
|
|
763
763
|
"type": "string",
|
|
764
764
|
"optional": false,
|
|
765
765
|
"repeated": false,
|
|
766
766
|
"description": null
|
|
767
767
|
},
|
|
768
|
-
"
|
|
768
|
+
"span_id": {
|
|
769
769
|
"type": "string",
|
|
770
770
|
"optional": false,
|
|
771
771
|
"repeated": false,
|
|
772
772
|
"description": null
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
},
|
|
776
|
-
"ResolveByRepo": {
|
|
777
|
-
"requestType": "tenancy.RepoKey",
|
|
778
|
-
"fields": {
|
|
779
|
-
"owner": {
|
|
773
|
+
},
|
|
774
|
+
"parent_span_id": {
|
|
780
775
|
"type": "string",
|
|
781
776
|
"optional": false,
|
|
782
777
|
"repeated": false,
|
|
@@ -787,185 +782,190 @@ export const metadata = {
|
|
|
787
782
|
"optional": false,
|
|
788
783
|
"repeated": false,
|
|
789
784
|
"description": null
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
"ResolveByTenantId": {
|
|
794
|
-
"requestType": "tenancy.TenantIdKey",
|
|
795
|
-
"fields": {
|
|
796
|
-
"tenant_id": {
|
|
797
|
-
"type": "string",
|
|
785
|
+
},
|
|
786
|
+
"kind": {
|
|
787
|
+
"type": "message",
|
|
798
788
|
"optional": false,
|
|
799
789
|
"repeated": false,
|
|
800
790
|
"description": null
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
"UpsertByChannelKey": {
|
|
805
|
-
"requestType": "tenancy.UpsertChannelKeyRequest",
|
|
806
|
-
"fields": {
|
|
807
|
-
"channel": {
|
|
808
|
-
"type": "string",
|
|
791
|
+
},
|
|
792
|
+
"start_time_unix_nano": {
|
|
793
|
+
"type": "int64",
|
|
809
794
|
"optional": false,
|
|
810
795
|
"repeated": false,
|
|
811
796
|
"description": null
|
|
812
797
|
},
|
|
813
|
-
"
|
|
814
|
-
"type": "
|
|
798
|
+
"end_time_unix_nano": {
|
|
799
|
+
"type": "int64",
|
|
815
800
|
"optional": false,
|
|
816
801
|
"repeated": false,
|
|
817
802
|
"description": null
|
|
818
803
|
},
|
|
819
|
-
"
|
|
804
|
+
"attributes": {
|
|
820
805
|
"type": "string",
|
|
821
806
|
"optional": false,
|
|
822
807
|
"repeated": false,
|
|
823
808
|
"description": null
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
"UpsertByPair": {
|
|
828
|
-
"requestType": "tenancy.UpsertPairRequest",
|
|
829
|
-
"fields": {
|
|
830
|
-
"installation_id": {
|
|
831
|
-
"type": "string",
|
|
809
|
+
},
|
|
810
|
+
"events": {
|
|
811
|
+
"type": "message",
|
|
832
812
|
"optional": false,
|
|
833
|
-
"repeated":
|
|
813
|
+
"repeated": true,
|
|
834
814
|
"description": null
|
|
835
815
|
},
|
|
836
|
-
"
|
|
837
|
-
"type": "
|
|
816
|
+
"status": {
|
|
817
|
+
"type": "message",
|
|
838
818
|
"optional": false,
|
|
839
819
|
"repeated": false,
|
|
840
820
|
"description": null
|
|
841
821
|
},
|
|
842
|
-
"
|
|
843
|
-
"type": "
|
|
822
|
+
"resource": {
|
|
823
|
+
"type": "message",
|
|
844
824
|
"optional": false,
|
|
845
825
|
"repeated": false,
|
|
846
826
|
"description": null
|
|
847
827
|
}
|
|
848
828
|
}
|
|
849
829
|
},
|
|
850
|
-
"
|
|
851
|
-
"requestType": "
|
|
830
|
+
"QuerySpans": {
|
|
831
|
+
"requestType": "span.QueryRequest",
|
|
852
832
|
"fields": {
|
|
853
|
-
"
|
|
833
|
+
"query": {
|
|
854
834
|
"type": "string",
|
|
855
|
-
"optional":
|
|
835
|
+
"optional": true,
|
|
856
836
|
"repeated": false,
|
|
857
837
|
"description": null
|
|
858
838
|
},
|
|
859
|
-
"
|
|
860
|
-
"type": "
|
|
861
|
-
"optional":
|
|
839
|
+
"filter": {
|
|
840
|
+
"type": "message",
|
|
841
|
+
"optional": true,
|
|
862
842
|
"repeated": false,
|
|
863
843
|
"description": null
|
|
864
844
|
}
|
|
865
845
|
}
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"tenancy.Tenancy": {
|
|
849
|
+
"ResolveByChannelKey": {
|
|
850
|
+
"requestType": "tenancy.ChannelTenantKey",
|
|
869
851
|
"fields": {
|
|
870
|
-
"
|
|
852
|
+
"channel": {
|
|
871
853
|
"type": "string",
|
|
872
854
|
"optional": false,
|
|
873
855
|
"repeated": false,
|
|
874
856
|
"description": null
|
|
875
857
|
},
|
|
876
|
-
"
|
|
877
|
-
"type": "
|
|
858
|
+
"key": {
|
|
859
|
+
"type": "string",
|
|
878
860
|
"optional": false,
|
|
879
861
|
"repeated": false,
|
|
880
862
|
"description": null
|
|
881
863
|
}
|
|
882
864
|
}
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
"RecordSpan": {
|
|
887
|
-
"requestType": "trace.Span",
|
|
865
|
+
},
|
|
866
|
+
"ResolveByRepo": {
|
|
867
|
+
"requestType": "tenancy.RepoKey",
|
|
888
868
|
"fields": {
|
|
889
|
-
"
|
|
869
|
+
"owner": {
|
|
890
870
|
"type": "string",
|
|
891
871
|
"optional": false,
|
|
892
872
|
"repeated": false,
|
|
893
873
|
"description": null
|
|
894
874
|
},
|
|
895
|
-
"
|
|
875
|
+
"name": {
|
|
896
876
|
"type": "string",
|
|
897
877
|
"optional": false,
|
|
898
878
|
"repeated": false,
|
|
899
879
|
"description": null
|
|
900
|
-
}
|
|
901
|
-
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"ResolveByTenantId": {
|
|
884
|
+
"requestType": "tenancy.TenantIdKey",
|
|
885
|
+
"fields": {
|
|
886
|
+
"tenant_id": {
|
|
902
887
|
"type": "string",
|
|
903
888
|
"optional": false,
|
|
904
889
|
"repeated": false,
|
|
905
890
|
"description": null
|
|
906
|
-
}
|
|
907
|
-
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
"UpsertByChannelKey": {
|
|
895
|
+
"requestType": "tenancy.UpsertChannelKeyRequest",
|
|
896
|
+
"fields": {
|
|
897
|
+
"channel": {
|
|
908
898
|
"type": "string",
|
|
909
899
|
"optional": false,
|
|
910
900
|
"repeated": false,
|
|
911
901
|
"description": null
|
|
912
902
|
},
|
|
913
|
-
"
|
|
914
|
-
"type": "
|
|
903
|
+
"channel_tenant_key": {
|
|
904
|
+
"type": "string",
|
|
915
905
|
"optional": false,
|
|
916
906
|
"repeated": false,
|
|
917
907
|
"description": null
|
|
918
908
|
},
|
|
919
|
-
"
|
|
920
|
-
"type": "
|
|
909
|
+
"state": {
|
|
910
|
+
"type": "string",
|
|
921
911
|
"optional": false,
|
|
922
912
|
"repeated": false,
|
|
923
913
|
"description": null
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"UpsertByPair": {
|
|
918
|
+
"requestType": "tenancy.UpsertPairRequest",
|
|
919
|
+
"fields": {
|
|
920
|
+
"installation_id": {
|
|
921
|
+
"type": "string",
|
|
927
922
|
"optional": false,
|
|
928
923
|
"repeated": false,
|
|
929
924
|
"description": null
|
|
930
925
|
},
|
|
931
|
-
"
|
|
926
|
+
"owner": {
|
|
932
927
|
"type": "string",
|
|
933
928
|
"optional": false,
|
|
934
929
|
"repeated": false,
|
|
935
930
|
"description": null
|
|
936
931
|
},
|
|
937
|
-
"
|
|
938
|
-
"type": "
|
|
932
|
+
"name": {
|
|
933
|
+
"type": "string",
|
|
939
934
|
"optional": false,
|
|
940
|
-
"repeated":
|
|
935
|
+
"repeated": false,
|
|
941
936
|
"description": null
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"SetState": {
|
|
941
|
+
"requestType": "tenancy.SetStateRequest",
|
|
942
|
+
"fields": {
|
|
943
|
+
"tenant_id": {
|
|
944
|
+
"type": "string",
|
|
945
945
|
"optional": false,
|
|
946
946
|
"repeated": false,
|
|
947
947
|
"description": null
|
|
948
948
|
},
|
|
949
|
-
"
|
|
950
|
-
"type": "
|
|
949
|
+
"state": {
|
|
950
|
+
"type": "string",
|
|
951
951
|
"optional": false,
|
|
952
952
|
"repeated": false,
|
|
953
953
|
"description": null
|
|
954
954
|
}
|
|
955
955
|
}
|
|
956
956
|
},
|
|
957
|
-
"
|
|
958
|
-
"requestType": "
|
|
957
|
+
"SetRepo": {
|
|
958
|
+
"requestType": "tenancy.SetRepoRequest",
|
|
959
959
|
"fields": {
|
|
960
|
-
"
|
|
960
|
+
"tenant_id": {
|
|
961
961
|
"type": "string",
|
|
962
|
-
"optional":
|
|
962
|
+
"optional": false,
|
|
963
963
|
"repeated": false,
|
|
964
964
|
"description": null
|
|
965
965
|
},
|
|
966
|
-
"
|
|
966
|
+
"repo": {
|
|
967
967
|
"type": "message",
|
|
968
|
-
"optional":
|
|
968
|
+
"optional": false,
|
|
969
969
|
"repeated": false,
|
|
970
970
|
"description": null
|
|
971
971
|
}
|