- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2018 05:48 AM - edited ‎08-03-2018 05:51 AM
I have a Transaction/Analytics Data Collector configured that returns the correct data in transaction snapshots, but does not display it correctly in an Analytics search.
DC: APR_PackageNames
I do not readily have access to the Devs and source code, is there a way that I can return the Collector corretly in Analytics, like how it looks in Snapshots?
If the collector is returning a string awway, how can I convert it in the field where I define my getter in Analytics?
*Update
Controller and .Net agents version 4.4.1.0
See photos below.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2018 12:05 PM
Hi Dietrich,
No, we cannot define getter in analytics, neither can we change the data type in Analytics, it will show you whatever format it receives a value in; No external conversions are possible.
Are you setting a getter chain in thetransaction snapshots data collector config so you are getting the correct values? Can you share a screenhsot of the APM side data collector.
Thanks,
Chitra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2018 12:04 AM
Hi Chitra
Thanks fort clarifying on the conversions.
We only defined one data collector and turned it on for Snapshots and Analytics.
See below.
Config screenshots attached below.
My main issue is that the Collector resturns the correct data in the snapshots, but not in the Analytics Module, even when it is the one collector.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2018 12:11 PM
Hi Dietrich,
It should report same value at both the places; Can you try setting the getter chain as, PackageNames().toString() in the data collector config and see if that helps.
Thanks,
Chitra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2018 11:07 PM
Hi
I am also expecting it to return the same at both places but it is not.
I tried using PackageNames().toString() but it then complains about the following:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2018 05:15 AM
Update:
Think I found a solution by using .NET Framework Class Library methods.
Original: PackageNames()
New: PackageNames().GetValue(0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2018 09:29 PM
Hi Dietrich,
Really glad to know that. Would you mind clarifying where did you add this getter chain, PackageNames().GetValue(0) : in the data collector config or in your code?
Thank You,
Chitra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2018 11:50 PM
Hi
Is was in the data collector config.
![](/skins/images/F0C13D71496D30FB689EA85F4736099E/responsive_peak/images/icon_anonymous_message.png)