Skip to content

Experiment Metric List Shows First Step In Metric, Not Metric Name In Running Time Calc #37832

@kyleswank

Description

@kyleswank

Bug Description

You can see in the following screenshot. The first metric listed "blah" is a primary metric in the experiment and that's the name of it, it's not shared.

Below though are two shared metrics, each shows the first event in the funnel (in this case) rather than the name of the shared metric. A ticket has two shared metrics that each have the same first event in the funnel, leading to them being unidentifiable between the two metrics in this view.

Image

How to reproduce

  1. Create a new shared metric, give it a name, set the type to funnel, set the first event
  2. Create a second shared metric, give it a different name, set the type to funnel, set the first event to the same as the first one in step 1
  3. Create an experiment, add both metrics, then calculate running time. You'll see something similar to the above screenshot

Additional context

Debug info

- [x] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions