Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom expressions in trends #2584

Closed
macobo opened this issue Dec 1, 2020 · 1 comment
Closed

Allow custom expressions in trends #2584

macobo opened this issue Dec 1, 2020 · 1 comment
Labels
enhancement New feature or request feature/trends Feature Tag: Trends

Comments

@macobo
Copy link
Contributor

macobo commented Dec 1, 2020

Is your feature request related to a problem?

As part of #2560, I'm using posthog to self-analyze metrics from posthog-js.

One of the metrics to track is how many requests are in flight when page unloads - which would be total_requests - handled_requests.

In addition it would be great to have access to more operators than sum/min/max/avg. For example 90th percentile, 95th percentile are also relevant for these kind of metrics

Describe the solution you'd like

Being able to enter custom metrics into the select box.

Describe alternatives you've considered

Sending more metrics directly from posthog-js.

Additional context

Quick screenshot of the relevant bit of filters:

Screenshot from 2020-12-01 10-43-16

Thank you for your feature request – we love each and every one!

@macobo macobo added enhancement New feature or request feature/trends Feature Tag: Trends labels Dec 1, 2020
macobo added a commit to PostHog/posthog-js that referenced this issue Dec 1, 2020
macobo added a commit that referenced this issue Dec 2, 2020
macobo added a commit that referenced this issue Dec 2, 2020
* Add support for median, p90, p95 and p99 math functions

Related issue: #2584

* Update tests to reflect quantile functions are not exact in ch
@Twixes
Copy link
Collaborator

Twixes commented Apr 29, 2021

Possible on Cloud/EE thanks to #2630 + formulas.

@Twixes Twixes closed this as completed Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/trends Feature Tag: Trends
Projects
None yet
Development

No branches or pull requests

2 participants