import {TextField} from 'sentry/components/deprecatedforms'; import InternalStatChart from 'sentry/components/internalStatChart'; import AsyncView from 'sentry/views/asyncView'; type Config = { backend: string; options: Record; }; type State = AsyncView['state'] & { config: Config; resolution: string; since: number; }; export default class AdminQuotas extends AsyncView<{}, State> { getDefaultState() { return { ...super.getDefaultState(), since: new Date().getTime() / 1000 - 3600 * 24 * 7, resolution: '1h', }; } getEndpoints(): ReturnType { return [['config', '/internal/quotas/']]; } renderBody() { const {config} = this.state; return (

Quotas

Config

Total Events

Dropped Events

); } }