+ Store Size: {{ storeStats?.store_size || 0 }} edges
+ Number of pending span pairs waiting to be matched
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/src/services/service_graph.ts b/web/src/services/service_graph.ts
new file mode 100644
index 0000000000..bf0bb8be75
--- /dev/null
+++ b/web/src/services/service_graph.ts
@@ -0,0 +1,34 @@
+// Copyright 2025 OpenObserve Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+
+import http from "./http";
+
+const serviceGraphService = {
+ /**
+ * Get service graph metrics in Prometheus format
+ */
+ getMetrics: (orgId: string) => {
+ return http().get(`/api/${orgId}/traces/service_graph/metrics`);
+ },
+
+ /**
+ * Get service graph store statistics
+ */
+ getStats: (orgId: string) => {
+ return http().get(`/api/${orgId}/traces/service_graph/stats`);
+ },
+};
+
+export default serviceGraphService;