Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
03-07-2023 10:29 AM
I have a distributed pipeline written mostly in Python that receives a CorrelationId provided from an upstream client call to an API. This CorrelationId is passed along to each component in the processes, but not through a Request header each time as AppD seems to like it. How do I tell AppD to use the CorrelationId I have received as the GUID for transaction tracing across disparate components that I may or may not own?
What I have Tried
Injecting the CorrelationId myself:
with appd.bt(name="Dummy1", correlation_header=correlation_id) as bt:
...
This fails with:
appdynamics_bindeps.google.protobuf.message.EncodeError: Message appdynamics.pb.ASyncRequest is missing required fields: btInfoReq.crossAppCorrelation.backendId
When I remove `correlation_header`, AppD receives the transaction, but I can't tie it to another disparate process.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form