@gitpod/ide-metrics-api-grpcweb 0.0.1-pd-ide-metrics-http.6 → 0.0.1-pd-sf-error-report.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,9 +1,16 @@
1
1
  {
2
2
  "dependencies": {
3
- "grpc-web": "^1.3.1"
3
+ "@improbable-eng/grpc-web": "^0.14.0",
4
+ "google-protobuf": "^3.19.1"
4
5
  },
5
6
  "devDependencies": {
6
- "typescript": "~4.4.2"
7
+ "@types/google-protobuf": "^3.15.5",
8
+ "source-map-loader": "^3.0.0",
9
+ "ts-loader": "^9.2.2",
10
+ "ts-protoc-gen": "^0.13.0",
11
+ "typescript": "^4.2.4",
12
+ "webpack": "^5.37.1",
13
+ "webpack-cli": "^4.7.0"
7
14
  },
8
15
  "files": [
9
16
  "lib",
@@ -11,9 +18,11 @@
11
18
  "provenance-bundle.jsonl"
12
19
  ],
13
20
  "license": "UNLICENSED",
21
+ "main": "lib/index.js",
14
22
  "name": "@gitpod/ide-metrics-api-grpcweb",
15
23
  "scripts": {
16
- "build": "bash build.sh"
24
+ "build": "bash build.sh && webpack"
17
25
  },
18
- "version": "0.0.1-pd-ide-metrics-http.6"
26
+ "types": "lib/index.d.ts",
27
+ "version": "0.0.1-pd-sf-error-report.6"
19
28
  }
package/pkg-yarn.lock CHANGED
@@ -4,7 +4,8 @@
4
4
 
5
5
  "@gitpod/ide-metrics-api-grpcweb@0.0.1":
6
6
  version "0.0.1"
7
- resolved "file:///tmp/cache/6751c5e2b16c241218714aa24d56dccacfbf2e78.tar.gz"
7
+ resolved "file:///tmp/cache/ff5245cb6bff586db7164a7317fee301ac332c74.tar.gz"
8
8
  dependencies:
9
- grpc-web "^1.3.1"
9
+ "@improbable-eng/grpc-web" "^0.14.0"
10
+ google-protobuf "^3.19.1"
10
11
 
@@ -1,4 +1,4 @@
1
- {"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjE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InVyaSI6ICJnaXQraHR0cHM6Ly9naXRodWIuY29tL2dpdHBvZC1pby9naXRwb2QuZ2l0IiwKICAgICAgICAiZGlnZXN0IjogewogICAgICAgICAgInNoYTI1NiI6ICJiODc4MTdkOWVhYjdkZDljMjA1ODc3NDMwYTRlZGZlNWRjZTFhNzFmIgogICAgICAgIH0KICAgICAgfQogICAgXQogIH0KfQ==","signatures":null}
1
+ {"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjEiLAogICJwcmVkaWNhdGVUeXBlIjogImh0dHBzOi8vc2xzYS5kZXYvcHJvdmVuYW5jZS92MC4xIiwKICAic3ViamVjdCI6IFtdLAogICJwcmVkaWNhdGUiOiB7CiAgICAiYnVpbGRlciI6IHsKICAgICAgImlkIjogImdpdGh1Yi5jb20vZ2l0cG9kLWlvL2xlZXdheTowLjIuMjAtOThmMmJjOEBzaGEyNTY6MDk1YTE5NDMyM2FkZDExODlkNTBlNzkwYzVjNzVhYjljN2MyM2JjMWUyYWY4NzUwODcyMzg0MWI3NzM3N2RjZSIKICAgIH0sCiAgICAicmVjaXBlIjogewogICAgICAidHlwZSI6ICJodHRwczovL2dpdGh1Yi5jb20vZ2l0cG9kLWlvL2xlZXdheS9idWlsZEBnZW5lcmljOjEiLAogICAgICAiZGVmaW5lZEluTWF0ZXJpYWwiOiAwLAogICAgICAiZW50cnlQb2ludCI6ICJjb21wb25lbnRzL2lkZS1tZXRyaWNzLWFwaTpwcm90byIsCiAgICAgICJhcmd1bWVudHMiOiBbCiAgICAgICAgImxlZXdheSIsCiAgICAgICAgImJ1aWxkIiwKICAgICAgICAiLS1kb2NrZXItYnVpbGQtb3B0aW9ucyIsCiAgICAgICAgIm5ldHdvcms9aG9zdCIsCiAgICAgICAgIi0td2VyZnQ9dHJ1ZSIsCiAgICAgICAgIi1jIiwKICAgICAgICAicmVtb3RlIiwKICAgICAgICAiLS1kb250LXJldGFn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oZWRPbiI6ICIyMDIyLTA5LTE0VDE0OjEyOjAyLjkwNTM3MTE0NloiLAogICAgICAiY29tcGxldGVuZXNzIjogewogICAgICAgICJhcmd1bWVudHMiOiB0cnVlLAogICAgICAgICJlbnZpcm9ubWVudCI6IGZhbHNlLAogICAgICAgICJtYXRlcmlhbHMiOiB0cnVlCiAgICAgIH0sCiAgICAgICJyZXByb2R1Y2libGUiOiBmYWxzZQogICAgfSwKICAgICJtYXRlcmlhbHMiOiBbCiAgICAgIHsKICAgICAgICAidXJpIjogImdpdCtodHRwczovL2dpdGh1Yi5jb20vZ2l0cG9kLWlvL2dpdHBvZC5naXQiLAogICAgICAgICJkaWdlc3QiOiB7CiAgICAgICAgICAic2hhMjU2IjogImJmZmU2NzAwOThmNjViNmI3NDRiOWU2MGQ0YjNjNzBlYjhmNmZjYTIiCiAgICAgICAgfQogICAgICB9CiAgICBdCiAgfQp9","signatures":null}
2
2
 
3
- {"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjEiLAogICJwcmVkaWNhdGVUeXBlIjogImh0dHBzOi8vc2xzYS5kZXYvcHJvdmVuYW5jZS92MC4xIiwKICAic3ViamVjdCI6IFsKICAgIHsKICAgICAgIm5hbWUiOiAiL2NvbXBvbmVudHMtaWRlLW1ldHJpY3MtYXBpLS1wcm90by90aGlyZF9wYXJ0eS9nb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvIiwKICAgICAgImRpZ2VzdCI6IHsKICAgICAgICAic2hhMjU2IjogImJmZjdjNDdiNzhiZDI1ZDM0ZTcwZWZjMDZmNDk3NjRlYzI0ZjU1ZTY2NTA2N2I5YmU0OWU1M2U4MjUyNTBjZTgiCiAgICAgIH0KICAgIH0sCiAgICB7CiAgICAgICJuYW1lIjogIi9saWIvaWRlbWV0cmljc19ncnBjX3dlYl9wYi5kLnRzIiwKICAgICAgImRpZ2VzdCI6IHsKICAgICAgIC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yLnByb3RvIiwKICAgICAgImRpZ2VzdCI6IHsKICAgICAgICAic2hhMjU2IjogImNhYmE0MTIxZWRmZmQwYjE2NWMyMWU3MWI0YWIzYWIwZmMwNzhhNWQ0ODEwMWM5YTkyMDc1N2MzYTcyNDdmM2EiCiAgICAgIH0KICAgIH0KICBdLAogICJwcmVkaWNhdGUiOiB7CiAgICAiYnVpbGRlciI6IHsKICAgICAgImlkIjogImdpdGh1Yi5jb20vZ2l0cG9kLWlvL2xlZXdheTowLjIuMTctM2ViZmIyYUBzaGEyNTY6Yjk2MjllMmQwNDMyYWRlYTFiZTdkZGRiMzYwM2UzNmQ5ZjY5YjA5ZDg5ODVmNzI1MjU3YWRhYWRlNTFkNGE0MCIKICAgIH0sCiAgICAicmVjaXBlIjogewogICAgICAidHlwZSI6ICJodHRwczovL2dpdGh1Yi5jb20vZ2l0cG9kLWlvL2xlZXdheS9idWlsZEB5YXJuOjciLAogICAgICAiZGVmaW5lZEluTWF0ZXJpYWwiOiAwLAogICAgICAiZW50cnlQb2ludCI6ICJjb21wb25lbnRzL2lkZS1tZXRyaWNzLWFwaS90eXBlc2NyaXB0LWdycGN3ZWI6bGliIiwKICAgICAgImFyZ3VtZW50cyI6IFsKICAgICAgICAibGVld2F5IiwKICAgICAgICAiYnVpbGQiLAogICAgICAgICItLWRvY2tlci1idWlsZC1vcHRpb25zIiwKICAgICAgICAibmV0d29yaz1ob3N0IiwKICAgICAgICAiLS13ZXJmdD10cnVlIiwKICAgICAgICAiLWMiLAogICAgICAgICJyZW1vdGUiLAogICAgICAgICItLWRvbnQtcmV0YWciLAogICAgICAgICItLWNvdmVyYWdlLW91dHB1dC1wYXRoPS90bXAvdG1wLks0T2MzbFgxTDYiLAogICAgICAgICItRHZlcnNpb249cGQtaWRlLW1ldHJpY3MtaHR0cC42IiwKICAgICAgICAiLURyZW1vdmVTb3VyY2VzPWZhbHNlIiwKICAgICAgICAiLURpbWFnZVJlcG9CYXNlPWV1Lmdjci5pby9naXRwb2QtY29yZS1kZXYvYnVpbGQiLAogICAgICAgICItRGxvY2FsQXBwVmVyc2lvbj11bmtub3duIiwKICAgICAgICAiLURTRUdNRU5UX0lPX1RPS0VOPVgzYk5hdFlQdWRJSmNDejZrRmxUbjU0cHJ1bVFBcUdoIiwKICAgICAgICAiLURSRVBMSUNBVEVEX0FQSV9UT0tFTj1kZWExMGM4ZmI1ODc1NWZkNTFhYjk5NmNjYmFhYjg5NjJmNWU5MDZhYjQ0MTJhZTY3Nzk5NmVhNzRlODVhZTM1IiwKICAgICAgICAiLURSRVBMSUNBVEVEX0FQUD1naXRwb2QiLAogICAgICAgICItRG5wbVB1Ymxpc2hUcmlnZ2VyPWZhbHNlIiwKICAgICAgICAiLURqYk1hcmtldHBsYWNlUHVibGlzaFRyaWdnZXI9ZmFsc2UiCiAgICAgIF0sCiAgICAgICJlbnZpcm9ubWVudCI6IHsKICAgICAgICAibWFuaWZlc3QiOiB7CiAgICAgICAgICAiYXJjaCI6ICJhbWQ2NCIsCiAgICAgICAgICAiZ28iOiAiZ28gdmVyc2lvbiBnbzEuMTkgbGludXgvYW1kNjQiLAogICAgICAgICAgIm5vZGUiOiAidjE2LjE2LjAiLAogICAgICAgICAgIm9zIjogImxpbnV4IiwKICAgICAgICAgICJ5YXJuIjogIjEuMjIuMTkiCiAgICAgICAgfQogICAgICB9CiAgICB9LAogICAgIm1ldGFkYXRhIjogewogICAgICAiYnVpbGRTdGFydGVkT24iOiAiMjAyMi0wOC0yMlQxNDo1MjoxMy41ODg5ODMxODNaIiwKICAgICAgImJ1aWxkRmluaXNoZWRPbiI6ICIyMDIyLTA4LTIyVDE0OjUyOjE3LjQ0MTUwMjA3NVoiLAogICAgICAiY29tcGxldGVuZXNzIjogewogICAgICAgICJhcmd1bWVudHMiOiB0cnVlLAogICAgICAgICJlbnZpcm9ubWVudCI6IGZhbHNlLAogICAgICAgICJtYXRlcmlhbHMiOiB0cnVlCiAgICAgIH0sCiAgICAgICJyZXByb2R1Y2libGUiOiBmYWxzZQogICAgfSwKICAgICJtYXRlcmlhbHMiOiBbCiAgICAgIHsKICAgICAgICAidXJpIjogImdpdCtodHRwczovL2dpdGh1Yi5jb20vZ2l0cG9kLWlvL2dpdHBvZC5naXQiLAogICAgICAgICJkaWdlc3QiOiB7CiAgICAgICAgICAic2hhMjU2IjogIjAxNzJlYzUxMDRjMTUzYzBjMjI2ZGQzMjdhZGY5MzE5NmEzZDdhNjEiCiAgICAgICAgfQogICAgICB9CiAgICBdCiAgfQp9","signatures":null}
3
+ {"payloadType":"application/vnd.in-toto+json","payload":"ewogICJfdHlwZSI6ICJodHRwczovL2luLXRvdG8uaW8vU3RhdGVtZW50L3YwLjEiLAogICJwcmVkaWNhdGVUeXBlIjogImh0dHBzOi8vc2xzYS5kZXYvcHJvdmVuYW5jZS92MC4xIiwKICAic3ViamVjdCI6IFsKICAgIHsKICAgICAgIm5hbWUiOiAiL2NvbXBvbmVudHMtaWRlLW1ldHJpY3MtYXBpLS1wcm90by9wcm92ZW5hbmNlLWJ1bmRsZS5qc29ubCIsCiAgICAgICJkaWdlc3QiOiB7CiAgICAgICAgInNoYTI1NiI6ICI5MWUzMDVkOTBhZjZlMmIxOWQ0MjdjODJhNGFhMGY3MmUzNzQ2ZjI0ZjRmNjlhMmIxY2RjZjNhMTVmMTY5NTkzIgogICAgICB9CiAgICB9LAogICAgewogICAgICAibmFtZSI6ICIvbGliL2luZGV4LmpzIiwKICAgICAgImRpZ2VzdCI6IHsKICAgICAgICAic2hhMjU2IjogImE5YjYzMWIxYTQ5OTIyYzE0N2QxNjgyMzYzMjdlNTNkZjI1OWY0YTUxYzk4NzQxMzg4YzBiMDY0ZGJlZTFhMDYiCiAgICAgIH0KICAgIH0sCiAgICB7CiAgICAgICJuYW1lIjogIi9saWIvaW5kZXguanMubWFwIiwKICAgICAgImRpZ2VzdCI6IHsKICAgICAgICAic2hhMjU2IjogIjIyYTdmMWU1N2UxMTUwMzUyMDY4MjZmZGUxMDZmZjJkOWNmOTc0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MjAyMi0wOS0xNFQxNDoxMjoxNy42ODIwOTgwNDlaIiwKICAgICAgImNvbXBsZXRlbmVzcyI6IHsKICAgICAgICAiYXJndW1lbnRzIjogdHJ1ZSwKICAgICAgICAiZW52aXJvbm1lbnQiOiBmYWxzZSwKICAgICAgICAibWF0ZXJpYWxzIjogdHJ1ZQogICAgICB9LAogICAgICAicmVwcm9kdWNpYmxlIjogZmFsc2UKICAgIH0sCiAgICAibWF0ZXJpYWxzIjogWwogICAgICB7CiAgICAgICAgInVyaSI6ICJnaXQraHR0cHM6Ly9naXRodWIuY29tL2dpdHBvZC1pby9naXRwb2QuZ2l0IiwKICAgICAgICAiZGlnZXN0IjogewogICAgICAgICAgInNoYTI1NiI6ICJiZmZlNjcwMDk4ZjY1YjZiNzQ0YjllNjBkNGIzYzcwZWI4ZjZmY2EyIgogICAgICAgIH0KICAgICAgfQogICAgXQogIH0KfQ==","signatures":null}
4
4
 
@@ -1,43 +0,0 @@
1
- import * as grpcWeb from 'grpc-web';
2
-
3
- import * as idemetrics_pb from './idemetrics_pb';
4
-
5
-
6
- export class MetricsServiceClient {
7
- constructor (hostname: string,
8
- credentials?: null | { [index: string]: string; },
9
- options?: null | { [index: string]: any; });
10
-
11
- addCounter(
12
- request: idemetrics_pb.AddCounterRequest,
13
- metadata: grpcWeb.Metadata | undefined,
14
- callback: (err: grpcWeb.RpcError,
15
- response: idemetrics_pb.AddCounterResponse) => void
16
- ): grpcWeb.ClientReadableStream<idemetrics_pb.AddCounterResponse>;
17
-
18
- observeHistogram(
19
- request: idemetrics_pb.ObserveHistogramRequest,
20
- metadata: grpcWeb.Metadata | undefined,
21
- callback: (err: grpcWeb.RpcError,
22
- response: idemetrics_pb.ObserveHistogramResponse) => void
23
- ): grpcWeb.ClientReadableStream<idemetrics_pb.ObserveHistogramResponse>;
24
-
25
- }
26
-
27
- export class MetricsServicePromiseClient {
28
- constructor (hostname: string,
29
- credentials?: null | { [index: string]: string; },
30
- options?: null | { [index: string]: any; });
31
-
32
- addCounter(
33
- request: idemetrics_pb.AddCounterRequest,
34
- metadata?: grpcWeb.Metadata
35
- ): Promise<idemetrics_pb.AddCounterResponse>;
36
-
37
- observeHistogram(
38
- request: idemetrics_pb.ObserveHistogramRequest,
39
- metadata?: grpcWeb.Metadata
40
- ): Promise<idemetrics_pb.ObserveHistogramResponse>;
41
-
42
- }
43
-
@@ -1,197 +0,0 @@
1
- /**
2
- * @fileoverview gRPC-Web generated client stub for ide_metrics_api
3
- * @enhanceable
4
- * @public
5
- */
6
-
7
- // GENERATED CODE -- DO NOT EDIT!
8
-
9
-
10
- /* eslint-disable */
11
- // @ts-nocheck
12
-
13
-
14
-
15
- const grpc = {};
16
- grpc.web = require('grpc-web');
17
-
18
-
19
- const proto = {};
20
- proto.ide_metrics_api = require('./idemetrics_pb.js');
21
-
22
- /**
23
- * @param {string} hostname
24
- * @param {?Object} credentials
25
- * @param {?grpc.web.ClientOptions} options
26
- * @constructor
27
- * @struct
28
- * @final
29
- */
30
- proto.ide_metrics_api.MetricsServiceClient =
31
- function(hostname, credentials, options) {
32
- if (!options) options = {};
33
- options.format = 'binary';
34
-
35
- /**
36
- * @private @const {!grpc.web.GrpcWebClientBase} The client
37
- */
38
- this.client_ = new grpc.web.GrpcWebClientBase(options);
39
-
40
- /**
41
- * @private @const {string} The hostname
42
- */
43
- this.hostname_ = hostname;
44
-
45
- };
46
-
47
-
48
- /**
49
- * @param {string} hostname
50
- * @param {?Object} credentials
51
- * @param {?grpc.web.ClientOptions} options
52
- * @constructor
53
- * @struct
54
- * @final
55
- */
56
- proto.ide_metrics_api.MetricsServicePromiseClient =
57
- function(hostname, credentials, options) {
58
- if (!options) options = {};
59
- options.format = 'binary';
60
-
61
- /**
62
- * @private @const {!grpc.web.GrpcWebClientBase} The client
63
- */
64
- this.client_ = new grpc.web.GrpcWebClientBase(options);
65
-
66
- /**
67
- * @private @const {string} The hostname
68
- */
69
- this.hostname_ = hostname;
70
-
71
- };
72
-
73
-
74
- /**
75
- * @const
76
- * @type {!grpc.web.MethodDescriptor<
77
- * !proto.ide_metrics_api.AddCounterRequest,
78
- * !proto.ide_metrics_api.AddCounterResponse>}
79
- */
80
- const methodDescriptor_MetricsService_AddCounter = new grpc.web.MethodDescriptor(
81
- '/ide_metrics_api.MetricsService/AddCounter',
82
- grpc.web.MethodType.UNARY,
83
- proto.ide_metrics_api.AddCounterRequest,
84
- proto.ide_metrics_api.AddCounterResponse,
85
- /**
86
- * @param {!proto.ide_metrics_api.AddCounterRequest} request
87
- * @return {!Uint8Array}
88
- */
89
- function(request) {
90
- return request.serializeBinary();
91
- },
92
- proto.ide_metrics_api.AddCounterResponse.deserializeBinary
93
- );
94
-
95
-
96
- /**
97
- * @param {!proto.ide_metrics_api.AddCounterRequest} request The
98
- * request proto
99
- * @param {?Object<string, string>} metadata User defined
100
- * call metadata
101
- * @param {function(?grpc.web.RpcError, ?proto.ide_metrics_api.AddCounterResponse)}
102
- * callback The callback function(error, response)
103
- * @return {!grpc.web.ClientReadableStream<!proto.ide_metrics_api.AddCounterResponse>|undefined}
104
- * The XHR Node Readable Stream
105
- */
106
- proto.ide_metrics_api.MetricsServiceClient.prototype.addCounter =
107
- function(request, metadata, callback) {
108
- return this.client_.rpcCall(this.hostname_ +
109
- '/ide_metrics_api.MetricsService/AddCounter',
110
- request,
111
- metadata || {},
112
- methodDescriptor_MetricsService_AddCounter,
113
- callback);
114
- };
115
-
116
-
117
- /**
118
- * @param {!proto.ide_metrics_api.AddCounterRequest} request The
119
- * request proto
120
- * @param {?Object<string, string>=} metadata User defined
121
- * call metadata
122
- * @return {!Promise<!proto.ide_metrics_api.AddCounterResponse>}
123
- * Promise that resolves to the response
124
- */
125
- proto.ide_metrics_api.MetricsServicePromiseClient.prototype.addCounter =
126
- function(request, metadata) {
127
- return this.client_.unaryCall(this.hostname_ +
128
- '/ide_metrics_api.MetricsService/AddCounter',
129
- request,
130
- metadata || {},
131
- methodDescriptor_MetricsService_AddCounter);
132
- };
133
-
134
-
135
- /**
136
- * @const
137
- * @type {!grpc.web.MethodDescriptor<
138
- * !proto.ide_metrics_api.ObserveHistogramRequest,
139
- * !proto.ide_metrics_api.ObserveHistogramResponse>}
140
- */
141
- const methodDescriptor_MetricsService_ObserveHistogram = new grpc.web.MethodDescriptor(
142
- '/ide_metrics_api.MetricsService/ObserveHistogram',
143
- grpc.web.MethodType.UNARY,
144
- proto.ide_metrics_api.ObserveHistogramRequest,
145
- proto.ide_metrics_api.ObserveHistogramResponse,
146
- /**
147
- * @param {!proto.ide_metrics_api.ObserveHistogramRequest} request
148
- * @return {!Uint8Array}
149
- */
150
- function(request) {
151
- return request.serializeBinary();
152
- },
153
- proto.ide_metrics_api.ObserveHistogramResponse.deserializeBinary
154
- );
155
-
156
-
157
- /**
158
- * @param {!proto.ide_metrics_api.ObserveHistogramRequest} request The
159
- * request proto
160
- * @param {?Object<string, string>} metadata User defined
161
- * call metadata
162
- * @param {function(?grpc.web.RpcError, ?proto.ide_metrics_api.ObserveHistogramResponse)}
163
- * callback The callback function(error, response)
164
- * @return {!grpc.web.ClientReadableStream<!proto.ide_metrics_api.ObserveHistogramResponse>|undefined}
165
- * The XHR Node Readable Stream
166
- */
167
- proto.ide_metrics_api.MetricsServiceClient.prototype.observeHistogram =
168
- function(request, metadata, callback) {
169
- return this.client_.rpcCall(this.hostname_ +
170
- '/ide_metrics_api.MetricsService/ObserveHistogram',
171
- request,
172
- metadata || {},
173
- methodDescriptor_MetricsService_ObserveHistogram,
174
- callback);
175
- };
176
-
177
-
178
- /**
179
- * @param {!proto.ide_metrics_api.ObserveHistogramRequest} request The
180
- * request proto
181
- * @param {?Object<string, string>=} metadata User defined
182
- * call metadata
183
- * @return {!Promise<!proto.ide_metrics_api.ObserveHistogramResponse>}
184
- * Promise that resolves to the response
185
- */
186
- proto.ide_metrics_api.MetricsServicePromiseClient.prototype.observeHistogram =
187
- function(request, metadata) {
188
- return this.client_.unaryCall(this.hostname_ +
189
- '/ide_metrics_api.MetricsService/ObserveHistogram',
190
- request,
191
- metadata || {},
192
- methodDescriptor_MetricsService_ObserveHistogram);
193
- };
194
-
195
-
196
- module.exports = proto.ide_metrics_api;
197
-