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.

fix: remove unused props

Pranshu Chittora4dc668fd133d
diff --git a/frontend/src/container/GridGraphLayout/Graph/FullView/index.tsx b/frontend/src/container/GridGraphLayout/Graph/FullView/index.tsx
index fcc656318c..ba8a66a82d 100644
--- a/frontend/src/container/GridGraphLayout/Graph/FullView/index.tsx
+++ b/frontend/src/container/GridGraphLayout/Graph/FullView/index.tsx
@@ -29,7 +29,6 @@ function FullView({
widget,
fullViewOptions = true,
onClickHandler,
- noDataGraph = false,
name,
yAxisUnit,
}: FullViewProps): JSX.Element {
@@ -210,7 +209,6 @@ interface FullViewProps {
widget: Widgets;
fullViewOptions?: boolean;
onClickHandler?: GraphOnClickHandler;
- noDataGraph?: boolean;
name: string;
yAxisUnit?: string;
}
@@ -218,7 +216,6 @@ interface FullViewProps {
FullView.defaultProps = {
fullViewOptions: undefined,
onClickHandler: undefined,
- noDataGraph: undefined,
yAxisUnit: undefined,
};
diff --git a/frontend/src/container/MetricsApplication/Tabs/Application.tsx b/frontend/src/container/MetricsApplication/Tabs/Application.tsx
index 774d8d7118..8cf4c2c3dd 100644
--- a/frontend/src/container/MetricsApplication/Tabs/Application.tsx
+++ b/frontend/src/container/MetricsApplication/Tabs/Application.tsx
@@ -179,7 +179,6 @@ function Application({ getWidget }: DashboardProps): JSX.Element {
<GraphContainer>
<FullView
name="request_per_sec"
- noDataGraph
fullViewOptions={false}
onClickHandler={(event, element, chart, data): void => {
onClickhandler(event, element, chart, data, 'Request');
@@ -214,7 +213,6 @@ function Application({ getWidget }: DashboardProps): JSX.Element {
<GraphContainer>
<FullView
name="error_percentage_%"
- noDataGraph
fullViewOptions={false}
onClickHandler={(ChartEvent, activeElements, chart, data): void => {
onClickhandler(ChartEvent, activeElements, chart, data, 'Error');
diff --git a/frontend/src/container/MetricsApplication/Tabs/DBCall.tsx b/frontend/src/container/MetricsApplication/Tabs/DBCall.tsx
index 5b918338e4..20206c21d7 100644
--- a/frontend/src/container/MetricsApplication/Tabs/DBCall.tsx
+++ b/frontend/src/container/MetricsApplication/Tabs/DBCall.tsx
@@ -17,7 +17,6 @@ function DBCall({ getWidget }: DBCallProps): JSX.Element {
<GraphContainer>
<FullView
name="database_call_rps"
- noDataGraph
fullViewOptions={false}
widget={getWidget([
{
@@ -37,7 +36,6 @@ function DBCall({ getWidget }: DBCallProps): JSX.Element {
<GraphContainer>
<FullView
name="database_call_avg_duration"
- noDataGraph
fullViewOptions={false}
widget={getWidget([
{
diff --git a/frontend/src/container/MetricsApplication/Tabs/External.tsx b/frontend/src/container/MetricsApplication/Tabs/External.tsx
index 6497c7a7da..5184338d53 100644
--- a/frontend/src/container/MetricsApplication/Tabs/External.tsx
+++ b/frontend/src/container/MetricsApplication/Tabs/External.tsx
@@ -21,7 +21,6 @@ function External({ getWidget }: ExternalProps): JSX.Element {
<FullView
name="external_call_error_percentage"
fullViewOptions={false}
- noDataGraph
widget={getWidget([
{
query: `max((sum(rate(signoz_external_call_latency_count{service_name="${servicename}", status_code="STATUS_CODE_ERROR"}[1m]) OR rate(signoz_external_call_latency_count{service_name="${servicename}", http_status_code=~"5.."}[1m]) OR vector(0)) by (http_url))*100/sum(rate(signoz_external_call_latency_count{service_name="${servicename}"}[1m])) by (http_url)) < 1000 OR vector(0)`,
@@ -40,7 +39,6 @@ function External({ getWidget }: ExternalProps): JSX.Element {
<GraphContainer>
<FullView
name="external_call_duration"
- noDataGraph
fullViewOptions={false}
widget={getWidget([
{
@@ -62,7 +60,6 @@ function External({ getWidget }: ExternalProps): JSX.Element {
<GraphContainer>
<FullView
name="external_call_rps_by_address"
- noDataGraph
fullViewOptions={false}
widget={getWidget([
{
@@ -81,7 +78,6 @@ function External({ getWidget }: ExternalProps): JSX.Element {
<GraphTitle>External Call duration(by Address)</GraphTitle>
<GraphContainer>
<FullView
- noDataGraph
name="external_call_duration_by_address"
fullViewOptions={false}
widget={getWidget([