Skip to content

Variable: AppHealthReport ​

ts
const AppHealthReport: z.ZodObject<{
  blocked: z.ZodArray<z.ZodObject<{
     blockedAt: z.ZodCoercedDate<unknown>;
     installName: z.ZodString;
     reason: z.ZodString;
     sha256: z.ZodString;
  }, z.core.$strip>>;
  circuits: z.ZodArray<z.ZodObject<{
     failures: z.ZodNumber;
     failureThreshold: z.ZodNumber;
     installId: z.ZodGUID;
     installName: z.ZodString;
     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;
     installId: z.ZodGUID;
     installName: z.ZodString;
     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: installs without a call since from are absent from items; circuits lists the installs whose circuit is open or half-open, whatever the window; blocked the installs running on a module the operator blocked (AppModuleBlock), with the block's reason and when it was made.

Released under the Apache-2.0 License.