Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 7bf59dd

Browse files
committed
hotfix
1 parent 8412cbc commit 7bf59dd

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

contrib/opencensus-ext-azure/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Unreleased
44

5+
## 1.1.11
6+
7+
- Add str fallback to envelope serialization
8+
([#1196](https://github.com/census-instrumentation/opencensus-python/pull/1196))
9+
- Remove outerId from exceptiondata
10+
([#1221](https://github.com/census-instrumentation/opencensus-python/pull/1221))
11+
512
## 1.1.10
613

714
Released 2023-09-18

contrib/opencensus-ext-azure/opencensus/ext/azure/common/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def _transmit(self, envelopes):
113113
endpoint += '/v2.1/track'
114114
response = requests.post(
115115
url=endpoint,
116-
data=json.dumps(envelopes),
116+
data=json.dumps(envelopes, default=str),
117117
headers=headers,
118118
timeout=self.options.timeout,
119119
proxies=json.loads(self.options.proxies),

contrib/opencensus-ext-azure/opencensus/ext/azure/common/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = '1.1.10'
15+
__version__ = '1.1.11'

contrib/opencensus-ext-azure/opencensus/ext/azure/trace_exporter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def span_data_to_envelope(self, sd):
101101
data = ExceptionData(
102102
exceptions=[{
103103
'id': 1,
104-
'outerId': '{}'.format(sd.span_id),
104+
'outerId': 0,
105105
'typeName': sd.attributes.get(ERROR_NAME, ''),
106106
'message': sd.attributes[ERROR_MESSAGE],
107107
'hasFullStack': STACKTRACE in sd.attributes,

0 commit comments

Comments
 (0)