@lensmcp/protocol-types 1.25.41 → 1.25.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/dashboard.d.ts +14 -0
  2. package/package.json +1 -1
@@ -1689,6 +1689,10 @@ export interface DashSqlTemplateSummary {
1689
1689
  lastSeenAt: number;
1690
1690
  /** Runs the producer's flood guard dropped (when > 0, the counts are a floor). */
1691
1691
  suppressed: number;
1692
+ /** Of those, from the service's drop records: runs at or over its slow mark (`slowMs` 100), runs that failed, the slowest. */
1693
+ suppressedSlow?: number;
1694
+ suppressedFailed?: number;
1695
+ suppressedMaxMs?: number;
1692
1696
  /** The statement is known whole (a tap that sends it), not only its first 500 characters. */
1693
1697
  complete: boolean;
1694
1698
  }
@@ -1776,6 +1780,11 @@ export interface DashDbStore {
1776
1780
  databases: DashDbDatabase[];
1777
1781
  /** Connections to the server, all databases. */
1778
1782
  connections?: number;
1783
+ /**
1784
+ * When its databases' sizes were read (epoch ms): they are read every 5 minutes, and at once for a new database —
1785
+ * the names and connections every read (issues/closed/foodguard-136).
1786
+ */
1787
+ sizesAt?: number;
1779
1788
  }
1780
1789
  /**
1781
1790
  * Data › Databases › Connections: who holds the server's connections, against its limit — read from `pg_stat_activity`
@@ -1843,6 +1852,11 @@ export interface DashDbDatabase {
1843
1852
  /** `/api/db/schema?store=&db=` — one database as Postgres describes it. */
1844
1853
  export interface DashDbSchema {
1845
1854
  at: number;
1855
+ /**
1856
+ * When its tables' and indexes' sizes were read (epoch ms): every 5 minutes, and at once for a table or index never
1857
+ * sized (DDL since) — everything else every read (issues/closed/foodguard-136).
1858
+ */
1859
+ sizesAt?: number;
1846
1860
  store: string;
1847
1861
  database: string;
1848
1862
  /** Since when Postgres counted scans and statements (its last stats reset), if it says. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensmcp/protocol-types",
3
- "version": "1.25.41",
3
+ "version": "1.25.43",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",