Splunk AppDynamics

.NET Core on Linux on AWS/ECS Fargate

Carl_Brahms
Path Finder

Has anyone managed to get a .NET Core for Linux agent to work on AWS Fargate?  We've had a number of attempts across multiple teams working on it with no luck.   

The controller receives the request to create a node just fine, but it doesn't seem to be able to pull in any of the normal metrics, or even collect basic agent metrics, like Agent|Availability.   No BTs are discovered, even when creating a standard ASP_DOTNET or POCO discovery rule to supersede the standard OOTB discovery rules.

Just wondering if there are any users that were able to get something to work on Fargate.

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html 

Labels (1)
Tags (3)
0 Karma
1 Solution

Carl_Brahms
Path Finder

Hi Allan,

We will have to manually define POCO transactions.   DEBUG logs aren't showing the classes/methods to define for some reason, so we're going to enable TRACE logs and work with AppD support to continue troubleshooting.

Have a good weekend,

Carl

View solution in original post

Allan_Schiebold
Communicator

Hi. Which version of the agent are you trying to use? Thanks. 

0 Karma

Carl_Brahms
Path Finder
Hi Allan, thanks for the response. We have tried with version 4.5.13.0 and 4.5.18.1. Controller is 4.5.17.

Once v20.3 is released this month we will give that a try for our .NET Core 3.1 environments, so we could try that here.

Allan_Schiebold
Communicator

Sounds good. The 20.3 release will work great with core 3.1 but 4.5.19.0 that's out now is technically capable of working with 3.1 if you're in the mood to try it out. Let us know! 

0 Karma

Carl_Brahms
Path Finder
We are using .NET Core 2.1 or 2.2, so we were expecting it would work fine for us on Fargate.

I’m more wondering if folks have successfully used serverless/Fargate so we can make sure we are barking up the correct tree in our troubleshooting.

Thanks!
Carl
0 Karma

Allan_Schiebold
Communicator

Ah ok. Serverless .net monitoring is currently in the works. 

0 Karma

Carl_Brahms
Path Finder
Hi Allan, I think you’re thinking of something like Lambda. ECS on Fargate works more like a regular kubernetes environment but the management of the cluster and the nodes are abstracted so it’s also referred to as serverless.

It should be working, we just don’t see errors or problems with debug enabled. We will just keep trying.
0 Karma

Allan_Schiebold
Communicator

Ah ok, yes, k8s / containers are supported. In case you haven't seen this I wanted to double check:

The agent supports the following features:

  • ASP.NET MVC transactions  See Name MVC Transactions by Area, Controller, and Action

  • ASP.NET WebAPI transactions
  • ASP.NET Razor Pages transactions
  • HttpClient backend calls
  • ADO.NET backend calls such as SqlClient, MySql, SQLite, and PostgreSQL
  • EntityFramework
  • Upstream and downstream correlation using HTTP
  • Snapshot waterfall view with async support
  • Redis exit calls
  • Detects and monitors calls to an Oracle database

Are you using anything outside of that list?

0 Karma

Carl_Brahms
Path Finder

Hi Allan,

We will have to manually define POCO transactions.   DEBUG logs aren't showing the classes/methods to define for some reason, so we're going to enable TRACE logs and work with AppD support to continue troubleshooting.

Have a good weekend,

Carl

Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...