Merge pull request #2231 from alphagov/zipkin-headers

Both trace_id and span_id headers must be present
This commit is contained in:
Sakis
2018-08-15 16:10:09 +01:00
committed by GitHub
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):