This repository was archived by the owner on Dec 23, 2023. It is now read-only.
Commit f049c18
authored
Temporarily remove "traceSampled" label from Stackdriver log correlation. (#1532)
Currently, opencensus-contrib-log-correlation-stackdriver adds the sampling
decision to a LogEntry as a custom label. Once google-cloud-logging adds a
sampling decision field to its LogEntry class, we can set that field instead, so
that the value will be intepreted by Stackdriver. However, removing the custom
label will be a breaking change. This commit temporarily removes the custom
label so that we can make a non-experimental release of
opencensus-contrib-log-correlation-stackdriver and add the sampling decision to
the LogEntry later as a backwards-compatible change.1 parent fb8cc01 commit f049c18
File tree
3 files changed
+2
-8
lines changed- contrib/log_correlation/stackdriver
- src
- main/java/io/opencensus/contrib/logcorrelation/stackdriver
- test/java/io/opencensus/contrib/logcorrelation/stackdriver
3 files changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | | - | |
124 | | - | |
| 122 | + | |
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
| |||
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
87 | | - | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
| |||
95 | 93 | | |
96 | 94 | | |
97 | 95 | | |
98 | | - | |
99 | 96 | | |
100 | 97 | | |
101 | 98 | | |
| |||
0 commit comments