Both trace_id and span_id headers must be present

This commit is contained in:
Athanasios Voutsadakis
2018-08-14 18:12:06 +01:00
parent 6786ff8fde
commit 984e09cc6a
2 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ class NotifyAdminAPIClient(BaseAPIClient):
if not has_request_context():
return headers
headers['X-B3-TraceId'] = request.request_id
headers['X-B3-SpanId'] = request.span_id
return headers
def check_inactive_service(self):