cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Detecting Business Transaction by HTTP Response Status Code

Hi there!

 

I'm using the Node Agent v4.3

 

I have a route which may return HTTP Status Code = 200 or 201. I'd like to show on my Dashboard metrics only for BTs with code = 201. How could I approach this problem?

 

My first thought was creating different BT detection based on HTTP Status Code. But I don't know how to do that. Is it achievable using the HTTP Parameter in Rule Configuration tab? If so, what would be the name of the HTTP Parameter?

 

Thanks in advance,

- Gabriel Saldanha (@gcrsaldanha)

2 REPLIES 2

Kyle.Furlong
AppDynamics Team (Retired)

Hi Gabriel,

 

It is not currently possible to split BT's based on HTTP status code. However, it may be possible to group the data by status code within our Analytics product.

 

Regards,

Kyle

Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Hi Kyle

Can you let me know how can we caprure http status code in analytics as by default when the enable htp data collector to capture analytics its not capturing status code,.and when we capture res.on function the BT context ends and we cannot capture there?

Cna you please help me on this?