-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request- API to get all services links by using a traceId #97
Comments
I think you can do that with the Kafka driver for dependencies cc @jeqo
…On Thu, 28 Jul 2022, 17:28 metalhead44, ***@***.***> wrote:
Hello,
Today, I could use the dependencies api to get the services link by
inputting a timestamp value but it is very tedious to get the exact
timestamp. We want to use the trace data to derive service links for a
particular traceId. This will be of more value as we will be tagging custom
attribute to the trace data like business identifiers like customerId and
then using this customerId to get the traceId and then get the links of all
services involved in the transaction.
Is there any appetite to add this feature to get service links based on a
traceid pls? Or if someone can guide me how to do it easily or if someone
already did it before?
This will come specially handy in building lineage of data in the database
for a business transactions. for example - I can decide to drop all data
for prospect customers after 6 months from database if their status is
"LOST Opportunity". But in a big system, one may not know which all
services are involved and how to clear data from 10-15 databases. Hope this
makes sense on why I need such a capability. Thanks!!
—
Reply to this email directly, view it on GitHub
<#97>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYAUGRHZB46OMBHSGL6LVWKRKFANCNFSM545WQVJQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I figured a way to do it on my own way. Basically , I will be using the trace/{traceId} endpoint to get the relevant trace. Then using the JSONPath library get all the servicenames by using the expression. - $[*].localEndpoint.serviceName. the endpoint could be Thoughts ? |
Hello,
Today, I could use the dependencies api to get the services link by inputting a timestamp value but it is very tedious to get the exact timestamp. We want to use the trace data to derive service links for a particular traceId. This will be of more value as we will be tagging custom attribute to the trace data like business identifiers like customerId and then using this customerId to get the traceId and then get the links of all services involved in the transaction.
Is there any appetite to add this feature to get service links based on a traceid pls? Or if someone can guide me how to do it easily or if someone already did it before?
This will come specially handy in building lineage of data in the database for a business transactions. for example - I can decide to drop all data for prospect customers after 6 months from database if their status is "LOST Opportunity". But in a big system, one may not know which all services are involved and how to clear data from 10-15 databases. Hope this makes sense on why I need such a capability. Thanks!!
The text was updated successfully, but these errors were encountered: