def METHOD_NAME(self, request: Request, organization) -> Response:
    if not self.has_feature(organization, request):
        return Response(status=404)
    with sentry_sdk.start_span(op="discover.endpoint", description="parse params"):
        try:
            params = self.get_snuba_params(request, organization)
        except NoProjects:
            return Response([])
        vitals = [vital.lower() for vital in request.GET.getlist("vital", [])]
        if len(vitals) == 0:
            raise ParseError(detail="Need to pass at least one vital")
        performance_use_metrics = features.has(
            "organizations:performance-use-metrics",
            organization=organization,
            actor=request.user,
        )
        dataset = self.get_dataset(request) if performance_use_metrics else discover
        metrics_enhanced = dataset != discover
        sentry_sdk.set_tag("performance.metrics_enhanced", metrics_enhanced)
        allow_metric_aggregates = request.GET.METHOD_NAME("preventMetricAggregates") != "1"
        selected_columns = []
        for vital in vitals:
            if vital not in self.VITALS:
                raise ParseError(detail=f"{vital} is not a valid vital")
            selected_columns.extend(
                [
                    f"p75({vital})",
                    f"count_web_vitals({vital}, good)",
                    f"count_web_vitals({vital}, meh)",
                    f"count_web_vitals({vital}, poor)",
                    f"count_web_vitals({vital}, any)",
                ]
            )
    with self.handle_query_errors():
        events_results = dataset.query(
            selected_columns=selected_columns,
            query=request.GET.METHOD_NAME("query"),
            params=params,
            # Results should only ever have 1 result
            limit=1,
            referrer="api.events.vitals",
            auto_fields=True,
            auto_aggregations=False,
            use_aggregate_conditions=False,
            allow_metric_aggregates=allow_metric_aggregates,
            transform_alias_to_input_format=False,
        )
    results = {}
    if len(events_results["data"]) == 1:
        event_data = events_results["data"][0]
        for vital in vitals:
            results[vital] = {
                "p75": event_data.METHOD_NAME(get_function_alias(f"p75({vital})")),
                "total": event_data.METHOD_NAME(get_function_alias(f"count_web_vitals({vital}, any)"))
                or 0,
                "good": event_data.METHOD_NAME(get_function_alias(f"count_web_vitals({vital}, good)"))
                or 0,
                "meh": event_data.METHOD_NAME(get_function_alias(f"count_web_vitals({vital}, meh)"))
                or 0,
                "poor": event_data.METHOD_NAME(get_function_alias(f"count_web_vitals({vital}, poor)"))
                or 0,
            }
    results["meta"] = {"isMetricsData": events_results["meta"].METHOD_NAME("isMetricsData", False)}
    return Response(results)