Skip to content

Testing App Dynamics support for RabbitMQ and Service Fabric

Notifications You must be signed in to change notification settings

michalsteyn/AppDTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

App Dynamics Test Project

The purpose of this project is to test App Dynamics Transaction Monitoring over RabbitMQ between Services Running in Service Fabric.

This project can also be run outside of Service Fabric.

Install Required Software

Install Service Fabric SDK: Refer to SF Documentation

Install RabbitMQ: Refer to RabbitMQ Documentation

This sample requires at least .Net Framework 4.7.1.

Configure RabbitMQ Credentials

Open Program.cs in both the WebApi and WorkerService and configure the

  • RabbitMQ Host,
  • RabbitMQ UserName,
  • RabbitMQ Password

Install the AppD Service Fabric Agent

Download the SF Agent: NuGet

Unzip the NuGet, ex: C:\AppDynamics\sf

Open the ServiceManifest.xml in both the WebApi and WorkerService and configure the

  • Environment Variable: COR_PROFILER_PATH to point to the folder above.

Configure AppD Account Details

Open both WorkerService.AppDynamicsConfig.json and WebApi.AppDynamicsConfig.json and configure the relevant account parameters.

Deploy to SF

Open the solution in Visual Studio and make sure that the TestApplication Project is selected as the Startup Project. Make sure that build configuration is set to Debug and x64.

Simply Run or Debug the Project.

Log Files

NLog will output log files to: c:\Logs. This can be configured in NLog.config

Invoking the API

Open a browser: http://localhost:8350/api/values/1

This will send a Request Message from WebApi to WorkerService. The WorkerService will then send a response message back containing a random value.

About

Testing App Dynamics support for RabbitMQ and Service Fabric

Resources

Stars

Watchers

Forks

Packages

No packages published