Connect with us

Hi, what are you looking for?

Dig Into Application Data with Thundra Queries


Dig Into Application Data with Thundra Queries


Dig Into Application Data with Thundra Queries

Thundra gives best-in-class observability and troubleshoots your purposes from the start. With a mixture of automated instrumentation and the flexibility to inject handbook instrumentation, Thundra gives you with wealthy observability information to ask questions whenever you face efficiency slowdowns or different points.

When an software is in manufacturing, there might be many operations, invocations, or features, corresponding to calls to databases or third-party APIs, or another AWS companies. If there are any points, you’ll have to learn about them and repair them as quickly as attainable to maintain your software secure. Thundra presents a wealthy querying and filtering mechanism so you’ll be able to search and monitor your software information.

Once you go to the Thundra console pages with tabular information, you’ll see a question bar on the prime of every web page. You may write a question on this bar to filter your software’s observability information, produced by Thundra. Thundra’s question language is just like SQL and simple to know.

Dig Into Application Data with Thundra Queries

Determine 1: Thundra’s Capabilities web page, filtered with a question

You will be very artistic whereas writing queries, as a result of you’ll be able to combine and match completely different filters and statistical operations. Despite the fact that filtering choices can change for various listings in Thundra, Thundra Question Language has a primary format of Key = Worth. For instance, if you wish to filter your Lambda features within the eu-west-1 area, you’ll write Area = eu-west-1 on the Capabilities web page.

It isn’t sufficient to make use of actual values for some statistical operations, corresponding to discovering distinctive traces whose hint depend is bigger than a sure threshold. For these kinds of filters, you’ll use aggregations and mathematical operators. For instance, you will discover distinctive traces which have misguided traces with a COUNT(Error) >= zero question.

It’s very helpful to have a question language that you could lengthen in response to your wants, however if you happen to’re not a technical individual, it may be difficult to filter software information. Thundra doesn’t assume that SQL-like languages, so it gives Question Helper to make it simple to put in writing queries.

Dig Into Application Data with Thundra Queries

Determine 2: Question Helper filters perform information on the Thundra console

Once you click on on the question bar, Question Helper is robotically displayed.

Filters are organized into separate classes, corresponding to statistical filters or perform filters, to information you in deciding on the proper choices.

  • Classification filters – These filters change in response to the display the place you filter the information. Yow will discover perform title, useful resource title, area, or runtime filters below this class. Logical operators corresponding to misguided, cold-start, or timeout are additionally included on this part.
  • Tag filters – Thundra gives you with customized filters in your purposes and invocations. If you wish to learn to use these tags, you will get detailed info from Thundra’s documentation for Java, .NET, Python, Node.js, and Go. Choose out there filters and search by means of your features or invocations by their tag values.
  • Useful resource tag filters – There will be various kinds of sources in your software. If you wish to filter your traces or operations that belong to a selected useful resource, you should utilize useful resource tag filters. For instance, you will discover enterprise flows which can be triggered by an API GW by writing set off.kind = AWS-APIGateway .
  • Statistical filters – Utilizing aggregations below statistical filters, you’ll be able to filter your observability information with some numerical operations. Yow will discover AVG, COUNT, or P99 kind aggregations in statistical filters for length, misguided invocations, or traces.
  • Kind filters: Thundra presents kind operations in response to begin time, execution time, or different associated parameters.

For some concrete examples, please see beneath. For every kind of observability information, corresponding to features, operations, or traces, you will discover a “Cheat Sheet” within the Question Helper. Open the “Cheat Sheet” and run the queries with one click on.

Instance Queries

Under are a number of real-time examples you should utilize whereas querying your software information in Thundra.

Situation 1

Let’s say you must discover misguided features within the “person” service in your software. Here’s what it’s best to write:

appTags.serviceType = “person” AND COUNT(Inaccurate) > zero ORDER BY COUNT(Inaccurate) DESC

Once you carry out this question, Thundra will listing problematic “person” features. Let’s now dive deeper into probably the most misguided one. Yow will discover the newest misguided invocations for a selected person with the next question:

Tags.user_id = “1” AND Inaccurate = true ORDER BY StartTime DESC

You may click on on a problematic invocation to see what occurred.

Situation 2

In case your perform will be triggered from completely different sources and you must discover the invocation with the best latency for a selected useful resource set off, use this question:

tags.set off.className IN (AWS-S3) AND Period >= 500 ORDER BY Period DESC

Situation 3

Thundra gives enterprise flows below distinctive traces. Yow will discover out if one thing goes improper for a movement from the Distinctive Traces web page. Let’s discover the misguided flows which can be affected by the latency in an AWS DynamoDB:

useful resource.AWS-DynamoDB.length > 1000 AND COUNT(Inaccurate) > zero ORDER BY COUNT(Inaccurate) DESC

Choose probably the most misguided one to show traces of the distinctive hint.

If you wish to look from a extra detailed perspective, Operations queries are the most effective match. When you must discover gradual DynamoDB operations in your software, this question will provide help to:

Period > 5000 AND ResourceType = AWS-DynamoDB ORDER BY Period DESC

Due to the extremely extendable and configurable Thundra question language, you’ll be able to simply discover no matter you need inside numerous observability information. Thundra queries offer you a greater understanding of what’s getting into your software. With Thundra’s question functionality, you’ll be able to:

  • Ask and discover your reply in perform, invocation, operation, hint, or log information.
  • Save your queries for the longer term or share them along with your colleagues.
  • Set alerts and pay attention to bottlenecks in your software.

You will get began with Thundra without spending a dime and have wealthy observability information in your software, then dig into the information utilizing Thundra queries. Enroll straight from the Thundra console or begin your subscription from AWS Market. In the event you improve to a paid plan, the fee will probably be added to your AWS invoice.

You May Also Like


Malware maker urges judge to dump lawsuit over WhatsApp phone snooping Hey boss, this is what people imagine when they think of California –...


We’re at the end of the house! The best host company that has been active in this field for the past 6 years. Because...


Youtube-dl is my favorite and preferred command line download manager. I often use it to download audios, videos and movies from Internet. Today, I...


Servers can be unpredictable, hence your sites! The website may break down for reasons such as incorrect file processing, authorization problems, website updates, etc....