import Feature from 'sentry/components/acl/feature';
import Alert from 'sentry/components/alert';
import {AggregateSpans} from 'sentry/components/events/interfaces/spans/aggregateSpans';
import * as Layout from 'sentry/components/layouts/thirds';
import {t} from 'sentry/locale';
import {defined} from 'sentry/utils';
import EventView from 'sentry/utils/discover/eventView';
import {decodeScalar} from 'sentry/utils/queryString';
import {useLocation} from 'sentry/utils/useLocation';
import useOrganization from 'sentry/utils/useOrganization';
import useProjects from 'sentry/utils/useProjects';
import Tab from 'sentry/views/performance/transactionSummary/tabs';
import PageLayout from '../pageLayout';
function renderNoAccess() {
return (
{t("You don't have access to this feature")}
);
}
function AggregateSpanWaterfall(): React.ReactElement {
const location = useLocation();
const organization = useOrganization();
const projects = useProjects();
const transaction = decodeScalar(location.query.transaction);
const httpMethod = decodeScalar(location.query['http.method']);
return (
EventView.fromLocation(location)}
getDocumentTitle={() => t(`Aggregate Spans: %s`, transaction)}
childComponent={() => {
return (
{defined(transaction) && (
)}
);
}}
/>
);
}
export default AggregateSpanWaterfall;