scoutapp / roadmap

The public roadmap for Scout application monitoring.
https://scoutapp.com
16 stars 2 forks source link

Smart render floats in charts #63

Closed itsderek23 closed 6 years ago

itsderek23 commented 6 years ago

Currently, context with Numeric values are rendered using a log-scaled histogram.

For example, response time:

image

This display format doesn't work well if the numeric has a defined range (like an account id).

Investigate treating numerics like String values if there is a limited number of unique values.

nathansamson commented 6 years ago

Not sure if the fix would work. If you only have 20 or so requests, and they come from 10 different users. Would this count as limited unique values?

Could we do something based on the name? Eg if the name includes ID it is treated as with defined range, otherwise as histogram?

itsderek23 commented 6 years ago

If you only have 20 or so requests, and they come from 10 different users. Would this count as limited unique values?

What I'm thinking: if the data set contains more than 80% unique values, we treat as a Numeric.

So 10 unique users would still be treated as a String and render the row charts you are looking for.

We'd also combine this eventually with #53, so if some rows are hidden, you can still select those rows.

itsderek23 commented 6 years ago

@nathansamson - try explorer again now and see if the data is rendered in a row chart.

nathansamson commented 6 years ago

Yep, old behaviour is back like I want :)

Thanks for the quick turn around

itsderek23 commented 6 years ago

Great! Thanks for reporting.