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.
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
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.
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
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:
Update:
Think I found a solution by using .NET Framework Class Library methods.
Original: PackageNames()
New: PackageNames().GetValue(0)
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
Hi
Is was in the data collector config.