Skip to content

Commit

Permalink
chore: hide usage explorer and update over 100rps warning (#5937)
Browse files Browse the repository at this point in the history
  • Loading branch information
makeavish committed Sep 18, 2024
1 parent 1024483 commit 723c31f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion frontend/public/locales/en-GB/services.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"rps_over_100": "You are sending data at more than 100 RPS, your ingestion may be rate limited. Please reach out to us via Intercom support."
"rps_over_100": "You are sending data at more than 100 RPS, your ingestion may be rate limited. Please reach out to us via Intercom support or "
}
2 changes: 1 addition & 1 deletion frontend/public/locales/en/services.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"rps_over_100": "You are sending data at more than 100 RPS, your ingestion may be rate limited. Please reach out to us via Intercom support."
"rps_over_100": "You are sending data at more than 100 RPS, your ingestion may be rate limited. Please reach out to us via Intercom support or "
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ function ServiceMetricTable({
return (
<>
{RPS > MAX_RPS_LIMIT && (
<Flex justify="center">
<Flex justify="left">
<Typography.Title level={5} type="warning" style={{ marginTop: 0 }}>
<WarningFilled /> {getText('rps_over_100')}
<a href="mailto:[email protected]">email</a>
</Typography.Title>
</Flex>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ function ServiceTraceTable({
return (
<>
{RPS > MAX_RPS_LIMIT && (
<Flex justify="flex-end">
<Typography.Text type="warning" style={{ marginTop: 0 }}>
<Flex justify="left">
<Typography.Title level={5} type="warning" style={{ marginTop: 0 }}>
<WarningFilled /> {getText('rps_over_100')}
</Typography.Text>
<a href="mailto:[email protected]">email</a>
</Typography.Title>
</Flex>
)}

Expand Down
6 changes: 0 additions & 6 deletions frontend/src/container/SideNav/menuItems.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { RocketOutlined } from '@ant-design/icons';
import ROUTES from 'constants/routes';
import {
AreaChart,
BarChart2,
BellDot,
BugIcon,
Expand Down Expand Up @@ -114,11 +113,6 @@ const menuItems: SidebarItem[] = [
icon: <Route size={16} />,
isBeta: true,
},
{
key: ROUTES.USAGE_EXPLORER,
label: 'Usage Explorer',
icon: <AreaChart size={16} />,
},
{
key: ROUTES.BILLING,
label: 'Billing',
Expand Down

0 comments on commit 723c31f

Please sign in to comment.