Request tagging and response time

Hi Team,

I am a beginner at request tagging.

Recently I defined a few user-defined tags for my requests and I want to know how these influence the response time. And how I take advantage of that.

Example: I tag with the same value on both requests, the reason the second request was the child request of request one. Please find the configuration below.

const resHomePage = http.get('https://www.myhomepage.com/',{tags: { myTrans: '01_HomePage' }},homePageHeader);
const resSecHome = http.get('https://www.myhomepage.com/2/',{tags: { myTrans: '01_HomePage' }},homePageHeader);

the second request is a child call of the first (HomePage) request call. I need clarification

  1. How the values treat on the backend ( tag(myTrans) ) Influxdb
  2. How was the influence of the above two requests considered as two separate samples or two requests sum the response time and treat as a single sample.
  3. What are the best practices to use tagging

Hi @Gerard,

  1. How the values treat on the backend ( tag(myTrans) ) Influxdb

The same as any other tag in influxdb. Can you expand on what you mean?

  1. How was the influence of the above two requests considered as two separate samples or two requests sum the response time and treat as a single sample.

They are two separate samples.

  1. What are the best practices to use tagging

This is extremely big topic. If you want to just group a few requests together (as you seem to be) you are probably better to use group and use it’s group_duration.

Hope this helps

1 Like