- We do not have stats to show for this peer at the moment. Please check
- if your PostgreSQL peer is open for connections. Note that peer
- replication slot information and stat activity is currently only
- supported for PostgreSQL peers.
+
- More information about PeerDB connector support
+ Peer Statistics
+
+
+ No stats to show
)}
diff --git a/ui/app/peers/[peerName]/peerDetails.tsx b/ui/app/peers/[peerName]/peerDetails.tsx
new file mode 100644
index 0000000000..834c171b9a
--- /dev/null
+++ b/ui/app/peers/[peerName]/peerDetails.tsx
@@ -0,0 +1,58 @@
+import { ConfigJSONView } from '@/app/alert-config/page';
+import { getTruePeer } from '@/app/api/peers/getTruePeer';
+import prisma from '@/app/utils/prisma';
+import { Label } from '@/lib/Label';
+import omitKeys from './omitKeys';
+
+interface PeerDetailsProps {
+ peerName: string;
+}
+
+const PeerDetails = async ({ peerName }: PeerDetailsProps) => {
+ const peer = await prisma.peers.findFirst({
+ where: {
+ name: peerName,
+ },
+ });
+ const peerConfig = getTruePeer(peer!);
+
+ return (
+
+
+
+
+ Configuration:
+
+
+ {
+ if (omitKeys.includes(key)) {
+ return undefined;
+ }
+ return value;
+ },
+ 2
+ )}
+ />
+
+
+
+
+ );
+};
+export default PeerDetails;
diff --git a/ui/app/peers/[peerName]/slottable.tsx b/ui/app/peers/[peerName]/slottable.tsx
index 39efae50ab..e78e036a05 100644
--- a/ui/app/peers/[peerName]/slottable.tsx
+++ b/ui/app/peers/[peerName]/slottable.tsx
@@ -6,7 +6,7 @@ import { tableStyle } from './style';
const SlotTable = ({ data }: { data: SlotInfo[] }) => {
return (
-
+
{
}, [data, search]);
return (
-