As you may know, we are already have the capability of listing all the traces that your modern architectures generate. You may ask what I mean by trace. Trace is the chain of several applications(AWS Lambda or container app) that achieve a job which generally maps to a business flow in an event-driven architecture. It's advised to use such event-driven architectures so that a single error don't cause the whole system collapse. I know we have many customers already adopting event-driven architectures but it's better to give an example about it once again.
In the above figure, you see a distributed business flow in which a particular business objective is completed. Let’s walk over those operations one by one:
- The blog application should immediately display a message explaining that the post is saved and will be reviewed by editors.
- The new blog post is ingested into an SQS queue.
- A worker Lambda consumes from SQS and publishes a message to SNS to notify the editors.
- The same Lambda saves the blog post so that it can be used for review by editors.
- From the DynamoDB record, another Lambda gets triggered and writes the content to an Elasticsearch table with necessary indexes so that it can be searchable among millions of blog posts.
This flow occurs every time when a new blog post is submitted. We were listing all of these occurences as a separate instance and you were not able to keep the track of your KPIs about this particular business flow. Until today!
Today, we are introducing Unique Traces proudly to address this problem. Now, we automatically discover and list all the unique flows that your application is performing and see the most important KPIs about these such as the average or 90th percentile duration, number of errors and so on.
You can reach out to this new menu via this link. When you want to see the individual traces of the unique business flows, just click on those to filter that.
Please let us know what you think and provide feedback using the chat bubble on the bottom-right of the screen.