cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The AppDynamics Community is Migrating this Friday, February 28th.


At 6pm PST, the AppDynamics Community will go into read-only mode and after migration is complete, you will be redirected to community.splunk.com.
Read more here


Extract a value from a invoked object using data collectors

Arthur.Oliveira
Builder

Hi there,

 

I'm trying to collect information from a object created during the execution of a method using a data collector, but no matter how I try to set it up the collector keeps returning only that it wasn't able to find the object I specified. The part of the code where the object is created is the following:

	Franchising franch;
	using (var franchisingBusiness = new FranchisingBusiness())
		franch = franchisingBusiness.GetByServiceUserID(GetContextUserID());

	//Setar a cultura do país
	SetCulture(franch.Country.CultureInfo);

I'm trying to get the "CultureInfo" value from the object "franch". I tried using getter chain on invoked object using class name and object name, but none worked. How can I accomplish this?

 

Thanks!

1 REPLY 1

Arthur.Oliveira
Builder

Just to share how I managed to get the info:

 

I created a collector and applied the getter chain on the return of the method GetByServiceUserID, as follows: data collector.PNG

 

Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here