Splunk AppDynamics

How to set tiername in clusteragent to split reporting by cluster/namespace

Kenny_Yu
Path Finder

My current cluster-agent.yaml has appName repeated 3 times. I hope there is a way for setting a tiername such that on the report, I can separate the results by cluster, or even better, by namespace. I can put the same k8s deployment in either different k8s namespaces (cheaper) or clusters, and need appd to report on them separately.

========= cluster-agent.yaml =======

spec:
appName: "EPOCH-svc"
image: "docker.io/appdynamics/cluster-agent:latest"
serviceAccountName: appdynamics-cluster-agent
nsToMonitor: [nodejs,dev1,dev2,perf1]
stdoutLogging: "true"
instrumentationMethod: Env
nsToInstrumentRegex: nodejs
defaultAppName: EPOCH-svc
logLevel: "DEBUG"
instrumentationRules:
- namespaceRegex: nodejs
instrumentContainer: select
containerMatchString: epoch-awsmw-offerms-dcp
language: nodejs
appName: EPOCH-svc
imageInfo:
image: "docker.io/appdynamics/nodejs-agent:22.7.0-16-stretch-slim"

Labels (1)
0 Karma
1 Solution

Kenny_Yu
Path Finder

It turns out that I have to dig deep into tierNameStrategy and tierName to work with the capability of the deployment pipeline.

View solution in original post

rganapavarapu
Path Finder

Hello @Kenny.Yu ,

Thank you for updating the community with the solution. 
Updating this for future audiences with document links.

Yes, we have recently added this tierNameStrategy with CA auto instrumentation.

Doc Ref: https://docs.appdynamics.com/appd/23.x/latest/en/infrastructure-visibility/monitor-kubernetes-with-t...

Best Regards,
Rajesh Ganapavarapu

iamryan
Community Manager
Community Manager

Hi @Kenny.Yu,

Thank you for sharing the solution!

0 Karma

Kenny_Yu
Path Finder

It turns out that I have to dig deep into tierNameStrategy and tierName to work with the capability of the deployment pipeline.

iamryan
Community Manager
Community Manager

Hi @Kenny.Yu,

Thanks for asking your question on the Community. If you have not yet, please check out the Cluster Agent Documentation on our Docs site.  https://docs.appdynamics.com/appd/22.x/latest/en/infrastructure-visibility/monitor-kubernetes-with-t...

Please note the navigation on the left side of the page to dive deeper into the right topic area. 

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...