Commit 6a013de
committed
Don't mark outbound http spans as errors.
We log errors in all the cases that are legit (non-user) related errors
and so there's no need to also mark the span as errored. This prevents
user related issues (e.g., timeouts) from not being bubbled up to
telemetry as errors.
Additionally, we stop renaming the span after the http method which
isn't very helpful.
Signed-off-by: Ryan Levick <[email protected]>1 parent 92bb6c5 commit 6a013de
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| |||
0 commit comments