AppD Archive

(.net) OWIN stand alone application

CommunityUser
Splunk Employee
Splunk Employee

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!

Tags (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

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

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Can you refresh your screenshots?

0 Karma

Venu_Babu_Thang
Communicator

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.

CommunityUser
Splunk Employee
Splunk Employee

AppDynamics support for OWIN is scheduled for release in 2017.
That was the message from the vendor (appdyn) to us.

Tags (1)
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...