Splunk AppDynamics

Business transactions - How to split WCF service into multiple transactions?

CommunityUser
Splunk Employee
Splunk Employee

We have an IIS application which exposes all API functionality using same URL and the requests are differentiated by a command type parameter which is part of the body. Note that we use ASP.NET and WCF.

The default Auto Discovery Rule name business transactions for WebServices “ServiceName.OperationName”.

The challenge is that since all functionality is exposed using only one URL we end up having only one business transaction but in reality this is a group of many business transactions.

We are uncertain as to how to split this into a bunch of business transactions. Due to security requirements all data is encrypted by custom encryption therefore rendering the “Name Transaction dynamically using part of the request” unusable which can be seen below. I am not sure if this can be used since the naming is caused by WCF rule and not the ASP.NET rule.

What we have done instead is to create an POCO rule and we have managed to have the application create a business transaction based on the class name and Method Name.

The issue with this approach is that it does not solve the issue that we have multiple business transactions grouped into one. We can use the different options to split the business transactions but unfortunately the application structure renders these options inadequate. The application is heavily based on IOC.

I assume that we would have used the Method Parameters option or the Getter chain to run on POCO objects normally but unfortunately the value(which holds information regarding the command) is never stored in a property or as an parameter. All Parameter calls are using a base class which unfortunately does not have the command type as a property. The baseclass is casted to a specific class in code and from there the command type can be extracted. This information is only stored in a local variable.

It is possible to do some regex matching on log statements maybe extrapolate the business transaction? Is it possible to run custom code as part of the naming business transactions? 

Labels (1)
Tags (1)
0 Karma

Peter_Holditch
Builder

One imediate thought:  Can you apply a POCO entry point to all the specific command classes, if all the interesting work happens within them?

Warm regards,
Peter

CommunityUser
Splunk Employee
Splunk Employee

Thank you for the suggestion. I will update once I have chances to try this approach.

0 Karma

Esko_Jaakkola
Explorer

Hello,

Could you look at this issue, is it same kind as yours?

https://community.appdynamics.com/t5/NET-Agent-Installation/WCF-calls-in-Asp-net-monitoring/td-p/362...

Esko

0 Karma
Get Updates on the Splunk Community!

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...