SYSTEM AND METHOD FOR PRESERVING CAUSALITY OF AUDITS
First Claim
1. A method for preserving causality of audits, comprising:
- receiving a first request including a trace ID and a first span ID;
generating, by an upstream service, a first audit concerning a resource owned by said upstream service and having the trace ID and first span ID as metadata;
persisting the first audit to a first database;
converting the first span ID to a parent span ID;
generating a second span ID;
generating a second request including the trace ID, the parent span ID, and the second span ID;
transmitting the second request to a downstream service;
generating, by the downstream service, a second audit concerning a resource owned by said downstream service and having the trace ID, second span ID, and parent span ID as metadata;
persisting the second audit to a second database; and
asynchronously centralizing the first and second audits to an audit service.
3 Assignments
0 Petitions
Accused Products
Abstract
A system for preserving causality of audits may include an upstream service, a downstream service, and an audit service. The upstream service receives a first request including a trace ID and a first span ID, generates a first audit concerning a resource owned by the upstream service and having the trace ID and the first span ID as metadata, persists the first audit to a first database, and generates a second request including the trace ID, a parent span ID, and a second span ID. The downstream service receives the second request from the upstream service, generates a second audit concerning a resource owned by the downstream service and having the trace ID, second span ID, and parent span ID as metadata, and persists the second audit to a second database. The audit service receives and asynchronously centralizes the first and second audits. The metadata can be used to infer causality of the audits. A method for preserving causality of audits is also disclosed and claimed.
-
Citations
20 Claims
-
1. A method for preserving causality of audits, comprising:
-
receiving a first request including a trace ID and a first span ID; generating, by an upstream service, a first audit concerning a resource owned by said upstream service and having the trace ID and first span ID as metadata; persisting the first audit to a first database; converting the first span ID to a parent span ID; generating a second span ID; generating a second request including the trace ID, the parent span ID, and the second span ID; transmitting the second request to a downstream service; generating, by the downstream service, a second audit concerning a resource owned by said downstream service and having the trace ID, second span ID, and parent span ID as metadata; persisting the second audit to a second database; and asynchronously centralizing the first and second audits to an audit service. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for preserving causality of audits, comprising:
-
an upstream service that receives a first request including a trace ID and a first span ID, generates a first audit concerning a resource owned by said upstream service and having the trace ID and the first span ID as metadata, persists the first audit to a first database, and generates a second request including the trace ID, a parent span ID, and a second span ID; a downstream service that receives the second request from the upstream service, generates a second audit concerning a resource owned by said downstream service and having the trace ID, second span ID, and parent span ID as metadata, and persists the second audit to a second database; and an audit service for receiving and asynchronously centralizing the first and second audits. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification