Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen committed Oct 12, 2023
1 parent 8412cbc commit 7bf59dd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions contrib/opencensus-ext-azure/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## Unreleased

## 1.1.11

- Add str fallback to envelope serialization
([#1196](https://github.com/census-instrumentation/opencensus-python/pull/1196))
- Remove outerId from exceptiondata
([#1221](https://github.com/census-instrumentation/opencensus-python/pull/1221))

## 1.1.10

Released 2023-09-18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def _transmit(self, envelopes):
endpoint += '/v2.1/track'
response = requests.post(
url=endpoint,
data=json.dumps(envelopes),
data=json.dumps(envelopes, default=str),
headers=headers,
timeout=self.options.timeout,
proxies=json.loads(self.options.proxies),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = '1.1.10'
__version__ = '1.1.11'
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def span_data_to_envelope(self, sd):
data = ExceptionData(
exceptions=[{
'id': 1,
'outerId': '{}'.format(sd.span_id),
'outerId': 0,
'typeName': sd.attributes.get(ERROR_NAME, ''),
'message': sd.attributes[ERROR_MESSAGE],
'hasFullStack': STACKTRACE in sd.attributes,
Expand Down

0 comments on commit 7bf59dd

Please sign in to comment.