Hi App Dynamics!
I'm trying to send some metrics from a REST API running on an OWIN app (which uses Nancy). Is there a business transaction rule that we could add for it to automatically create business transactions?
I tried to follow a suggestion on this question, but didn't manage to configure it (maybe because the UI has changed?) https://community.appdynamics.com/t5/AppDynamics-Discussions/Azure-Cloud-Service-Not-always-auto-ins...
Thanks!
OWIN is not supported yet, but we got it working with custom rule. Create a custom .Net class/method entry point as below on the Application level:
Name: WebAPI
Match Classes: System.Web.Http.ApiController
Method Name: ExecuteAsync
Go to Transaction Splitting and check these boxes:
And set use first 3 segments of the URI
Go to Data Collectors and add a Header Check entry
Can you refresh your screenshots?
Hi,
Please create the custom match rule (POCO) on below class and method.
POCO :-
Property
|
Value
|
---|---|
Class Equals | System.Web.Http.ApiController |
Method Equals | ExecuteAsync |
Name | WebAPI |
Splitter | Use the Simple Class Name in Transaction Names |
Then create the Method Invocation Data Collector (MIDCs) on below class and methods to capture URI and headers :-
Property | Value |
---|---|
Class Equals | System.Web.Http.Controllers.ActionFilterResult |
Method Equals | ExecuteAsync |
Data to Collect:- URI |
Collect Data From -> Invoked Object Operation on Method Parameter -> Getter Chain -> _context.Request.RequestUri |
Data to Collect:- Headers |
Collect Data From -> Invoked Object Operation on Method Parameter -> Getter Chain -> _context.Request.Headers |
Thanks,
Venu.
AppDynamics support for OWIN is scheduled for release in 2017.
That was the message from the vendor (appdyn) to us.