Skip to content

Commit f2a1cf0

Browse files
committed
v1.12.55
1 parent db196fd commit f2a1cf0

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
---
9+
## Version 1.12.55, 7/19/2020
10+
11+
### Added
12+
13+
N/A
14+
15+
### Removed
16+
17+
N/A
18+
19+
### Changed
20+
21+
Improved distributed trace - set the "from" address in EventEnvelope automatically.
22+
823
---
924
## Version 1.12.54, 6/28/2020
1025

mercury/platform.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ def handle_event(self, event, instance):
284284
dt.set_header('origin', self.platform.get_origin())
285285
dt.set_header('id', trace_info.get_id()).set_header('path', trace_info.get_path())
286286
dt.set_header('service', self.route).set_header('start', trace_info.get_start_time())
287+
if 'from' in event:
288+
dt.set_header('from', event['from'])
287289
if not error_code:
288290
dt.set_header('success', 'true')
289291
dt.set_header('exec_time', exec_time)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from setuptools import setup
55

66
setup(name='mercury',
7-
version='1.12.54',
7+
version='1.12.55',
88
description='Python Language pack for Mercury',
99
author='Eric Law',
1010
author_email='eric.law@accenture.com',

0 commit comments

Comments
 (0)