Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat: show RPS message only if user is on trail and trail is not converted to sub (#5860)

Yunus M23704b00ce1b
diff --git a/frontend/src/container/ServiceApplication/ServiceMetrics/ServiceMetricTable.tsx b/frontend/src/container/ServiceApplication/ServiceMetrics/ServiceMetricTable.tsx
index 33a4dd729b..6430cc9c8f 100644
--- a/frontend/src/container/ServiceApplication/ServiceMetrics/ServiceMetricTable.tsx
+++ b/frontend/src/container/ServiceApplication/ServiceMetrics/ServiceMetricTable.tsx
@@ -69,7 +69,12 @@ function ServiceMetricTable({
const [RPS, setRPS] = useState(0);
useEffect(() => {
- if (!isFetching && licenseData?.payload?.onTrial && isCloudUserVal) {
+ if (
+ !isFetching &&
+ licenseData?.payload?.onTrial &&
+ !licenseData?.payload?.trialConvertedToSubscription &&
+ isCloudUserVal
+ ) {
if (services.length > 0) {
const rps = getTotalRPS(services);
setRPS(rps);
diff --git a/frontend/src/container/ServiceApplication/ServiceTraces/ServiceTracesTable.tsx b/frontend/src/container/ServiceApplication/ServiceTraces/ServiceTracesTable.tsx
index 8b03027a16..6633b7a1aa 100644
--- a/frontend/src/container/ServiceApplication/ServiceTraces/ServiceTracesTable.tsx
+++ b/frontend/src/container/ServiceApplication/ServiceTraces/ServiceTracesTable.tsx
@@ -26,7 +26,12 @@ function ServiceTraceTable({
const tableColumns = useMemo(() => getColumns(search, false), [search]);
useEffect(() => {
- if (!isFetching && licenseData?.payload?.onTrial && isCloudUserVal) {
+ if (
+ !isFetching &&
+ licenseData?.payload?.onTrial &&
+ !licenseData?.payload?.trialConvertedToSubscription &&
+ isCloudUserVal
+ ) {
if (services.length > 0) {
const rps = getTotalRPS(services);
setRPS(rps);