same custom dimension having different ref values

Not applicable

Hi ,

When same name is provided for 2 custom dimensions or metric with same ref value, which one it should take impact.

  • For example:
  • <Statistic name='statsTestData' ref='message.uri' type='string'>defaulturi</Statistic>
  • <Statistic name='statsTestData' ref='message.verb' type='string'>put</Statistic>

So here 'statsTestData' will show results for both message.uri and message.verb ? Is my understanding correct .

Thanks,

Suma

0 3 110
3 REPLIES 3

why do you want to do this? whats the use case?

Not applicable

Hi Sarthak,

There is no usecase as such. I happened to see our Testing team testing such scenarios. So wanted to confirm.

Thanks,

Suma

@Sumacv

The name attribute is actually the column name in analytics.

So if you want to store two separate information in analytics, you need to separate column in a table.

hence you should use two distinct name value

eg

'statsTestData1'

'statsTestData2'

Also remember, once you use STATS collector which has a name attribute say

'statsTestData' and deploy a proxy then that column is available to all the other proxies.

So its better to use same column name across proxies so that you are effectively using the ANALYTICS table.