This repository was archived by the owner on Nov 7, 2022. It is now read-only.
Commit 4401eb7
committed
receiver/opencensus/ocmetrics: ignore io.EOF on JSON upload
When the grpc-gateway was added to this receiver/opencensus
Trace receiver in PR #270, we recognized that browsers
and other sources that send JSON in one burst won't stream
so would encounter an io.EOF. This PR makes the metrics
receiver replicates that behavior.
We'll get it this PR also ported over to the OpenTelemtry
service.
Fixes #6101 parent d4f12f7 commit 4401eb7
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
0 commit comments