chore: hide usage explorer and update over 100rps warning (#5937)

This commit is contained in:
Vishal Sharma 2024-09-18 18:11:41 +05:30 committed by GitHub
parent 1024483e58
commit 723c31f6c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 12 deletions

View File

@ -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 "
} }

View File

@ -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 "
} }

View File

@ -92,9 +92,10 @@ function ServiceMetricTable({
return ( return (
<> <>
{RPS > MAX_RPS_LIMIT && ( {RPS > MAX_RPS_LIMIT && (
<Flex justify="center"> <Flex justify="left">
<Typography.Title level={5} type="warning" style={{ marginTop: 0 }}> <Typography.Title level={5} type="warning" style={{ marginTop: 0 }}>
<WarningFilled /> {getText('rps_over_100')} <WarningFilled /> {getText('rps_over_100')}
<a href="mailto:cloud-support@signoz.io">email</a>
</Typography.Title> </Typography.Title>
</Flex> </Flex>
)} )}

View File

@ -49,10 +49,11 @@ function ServiceTraceTable({
return ( return (
<> <>
{RPS > MAX_RPS_LIMIT && ( {RPS > MAX_RPS_LIMIT && (
<Flex justify="flex-end"> <Flex justify="left">
<Typography.Text type="warning" style={{ marginTop: 0 }}> <Typography.Title level={5} type="warning" style={{ marginTop: 0 }}>
<WarningFilled /> {getText('rps_over_100')} <WarningFilled /> {getText('rps_over_100')}
</Typography.Text> <a href="mailto:cloud-support@signoz.io">email</a>
</Typography.Title>
</Flex> </Flex>
)} )}

View File

@ -1,7 +1,6 @@
import { RocketOutlined } from '@ant-design/icons'; import { RocketOutlined } from '@ant-design/icons';
import ROUTES from 'constants/routes'; import ROUTES from 'constants/routes';
import { import {
AreaChart,
BarChart2, BarChart2,
BellDot, BellDot,
BugIcon, BugIcon,
@ -114,11 +113,6 @@ const menuItems: SidebarItem[] = [
icon: <Route size={16} />, icon: <Route size={16} />,
isBeta: true, isBeta: true,
}, },
{
key: ROUTES.USAGE_EXPLORER,
label: 'Usage Explorer',
icon: <AreaChart size={16} />,
},
{ {
key: ROUTES.BILLING, key: ROUTES.BILLING,
label: 'Billing', label: 'Billing',