question

Yair M. avatar image
Yair M. asked ·

Result measure in BT returns different value than in splitting

Hi All,


I have a business transaction that filters on a method invocation. I tested that part and it works fine.

In the calculate result part - i have a measure that returns a method value (type - "Method - return value") - the measure works great and does return the needed value (used with a transformation regex inside, returns a string value. something like - 5.0.14).

In the splitting value i have the "agent" splitting value:

Problem is - when the BT is triggered, the value in the result measure is "1" (for aggregation i'm using "last").

when it is in splitiing i get the value itself:


Why does that happen? can a "calculate result" show a string value?


Thank you,

Yair

business transaction7.2measuressplitting
1567063707456.png (22.2 KiB)
1567063813621.png (3.5 KiB)
1567063920533.png (7.3 KiB)
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sebastian K. avatar image
Sebastian K. answered ·

I thing you will have to use multiple splitting, that there should be option for charting those values in web dashboards. There are more options for business charting than in fat client. Calculating results as states in it’s name is for making calculations.

Sebastian

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sebastian K. avatar image
Sebastian K. answered ·

Did you configured this measue to be considered as string? It looks like it is translate to integer. Sensor you have may work fine but it’s only sensor, measure has to be configured properly as well.

Sebastian

3 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.


Hi @sebastian k.,


I was hoping you might answer ;)

If this is what you mean, i have defined that -

Weird part is when i put this measure in the split part - i get the captured string.

When its in the calculate results part - i get the "1.00".

I tried something different - since the string returned is 5.0.14, i tried capturing only the "5". when i did that AND changed the measure to number - i could see "5.00" in the calculate result part:

Problem is i need the entire string..


Thank you,

Yair

0 Likes 0 · ·
1567074201543.png (12.1 KiB)
1567074248310.png (13.3 KiB)
1567074532675.png (8.9 KiB)

Calculate results are rather for counting things, for example order total etc. if you want have applications versions I rather suggest putting it in splitting like you’ve done. Why you are trying to calculate it?

Sebastian

0 Likes 0 · ·

Just because i need the string i'm capturing per agent. when i have both "agent" and my measure to capture the string, in the splitting part - i can display the result i get either agent:

Or per my measure:

But not both

0 Likes 0 · ·
1567076295563.png (12.6 KiB)
1567076356252.png (8.1 KiB)
1567076411920.png (5.4 KiB)