Skip to content

Variable: AppHealthReport ​

ts
const AppHealthReport: z.ZodObject<{
  blocked: z.ZodArray<z.ZodObject<{
     appName: z.ZodString;
     sha256: z.ZodString;
  }, z.core.$strip>>;
  circuits: z.ZodArray<z.ZodObject<{
     appName: z.ZodString;
     failures: z.ZodNumber;
     since: z.ZodCoercedDate<unknown>;
     state: z.ZodEnum<{
        closed: "closed";
        half_open: "half_open";
        open: "open";
     }>;
  }, z.core.$strip>>;
  from: z.ZodCoercedDate<unknown>;
  items: z.ZodArray<z.ZodObject<{
     appName: z.ZodString;
     calls: z.ZodNumber;
     failures: z.ZodNumber;
     lastErrorAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
     lastInvokedAt: z.ZodCoercedDate<unknown>;
     p95Ms: z.ZodNullable<z.ZodNumber>;
     timeouts: z.ZodNumber;
  }, z.core.$strip>>;
  windowMinutes: z.ZodNumber;
}, z.core.$strip>;

GET /apps/health: apps without a call since from are absent from items; circuits lists the apps whose circuit is open or half-open, whatever the window; blocked the modules the operator blocked (APP_BLOCKED_SHA256) that an install of the tenant runs on.

Released under the Apache-2.0 License.