@juice-js/observability 1.1.0 → 1.2.0

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 (66) hide show
  1. package/README.md +4 -2
  2. package/fesm2022/juice-js-observability-agent.page-Vb7LDThl.mjs +1144 -0
  3. package/fesm2022/juice-js-observability-agent.page-Vb7LDThl.mjs.map +1 -0
  4. package/fesm2022/juice-js-observability-agents.page-Ch-tBwQO.mjs +413 -0
  5. package/fesm2022/juice-js-observability-agents.page-Ch-tBwQO.mjs.map +1 -0
  6. package/fesm2022/{juice-js-observability-alert.page-nEy5Gc6j.mjs → juice-js-observability-alert.page-2kfKksIG.mjs} +200 -4
  7. package/fesm2022/juice-js-observability-alert.page-2kfKksIG.mjs.map +1 -0
  8. package/fesm2022/{juice-js-observability-alerts.page-DUXXBanH.mjs → juice-js-observability-alerts.page-BNmez0Ak.mjs} +2 -2
  9. package/fesm2022/{juice-js-observability-alerts.page-DUXXBanH.mjs.map → juice-js-observability-alerts.page-BNmez0Ak.mjs.map} +1 -1
  10. package/fesm2022/juice-js-observability-approvals.page-DBLw-vl1.mjs +387 -0
  11. package/fesm2022/juice-js-observability-approvals.page-DBLw-vl1.mjs.map +1 -0
  12. package/fesm2022/juice-js-observability-incident.page-D2GvuIft.mjs +436 -0
  13. package/fesm2022/juice-js-observability-incident.page-D2GvuIft.mjs.map +1 -0
  14. package/fesm2022/juice-js-observability-incidents.page-DhC3BkBo.mjs +438 -0
  15. package/fesm2022/juice-js-observability-incidents.page-DhC3BkBo.mjs.map +1 -0
  16. package/fesm2022/juice-js-observability-load-runs.page-DVuO4zFp.mjs +349 -0
  17. package/fesm2022/juice-js-observability-load-runs.page-DVuO4zFp.mjs.map +1 -0
  18. package/fesm2022/{juice-js-observability-logs.page-i76xbJLH.mjs → juice-js-observability-logs.page-PXWQMcvL.mjs} +3 -3
  19. package/fesm2022/{juice-js-observability-logs.page-i76xbJLH.mjs.map → juice-js-observability-logs.page-PXWQMcvL.mjs.map} +1 -1
  20. package/fesm2022/{juice-js-observability-metrics.page-Cq5S0yGJ.mjs → juice-js-observability-metrics.page-Ctm_EEFb.mjs} +3 -3
  21. package/fesm2022/{juice-js-observability-metrics.page-Cq5S0yGJ.mjs.map → juice-js-observability-metrics.page-Ctm_EEFb.mjs.map} +1 -1
  22. package/fesm2022/juice-js-observability-notifications.page-CtcV3Ei4.mjs +758 -0
  23. package/fesm2022/juice-js-observability-notifications.page-CtcV3Ei4.mjs.map +1 -0
  24. package/fesm2022/{juice-js-observability-overview.page-DXZl_fUh.mjs → juice-js-observability-overview.page-BRGpTOyc.mjs} +3 -3
  25. package/fesm2022/{juice-js-observability-overview.page-DXZl_fUh.mjs.map → juice-js-observability-overview.page-BRGpTOyc.mjs.map} +1 -1
  26. package/fesm2022/{juice-js-observability-resource.page-CauDE6kK.mjs → juice-js-observability-resource.page-O4GGdirR.mjs} +2 -2
  27. package/fesm2022/{juice-js-observability-resource.page-CauDE6kK.mjs.map → juice-js-observability-resource.page-O4GGdirR.mjs.map} +1 -1
  28. package/fesm2022/{juice-js-observability-resources.page-CukW8vVc.mjs → juice-js-observability-resources.page-B_AVPpes.mjs} +2 -2
  29. package/fesm2022/{juice-js-observability-resources.page-CukW8vVc.mjs.map → juice-js-observability-resources.page-B_AVPpes.mjs.map} +1 -1
  30. package/fesm2022/juice-js-observability-rules.page-CARCWaw_.mjs +581 -0
  31. package/fesm2022/juice-js-observability-rules.page-CARCWaw_.mjs.map +1 -0
  32. package/fesm2022/juice-js-observability-service.page-DRj1GO0Q.mjs +1257 -0
  33. package/fesm2022/juice-js-observability-service.page-DRj1GO0Q.mjs.map +1 -0
  34. package/fesm2022/{juice-js-observability-services.page-B1huLe_a.mjs → juice-js-observability-services.page-BbFbbvyH.mjs} +3 -3
  35. package/fesm2022/{juice-js-observability-services.page-B1huLe_a.mjs.map → juice-js-observability-services.page-BbFbbvyH.mjs.map} +1 -1
  36. package/fesm2022/juice-js-observability-silences.page-CoTqfGxY.mjs +523 -0
  37. package/fesm2022/juice-js-observability-silences.page-CoTqfGxY.mjs.map +1 -0
  38. package/fesm2022/juice-js-observability-slo.page-l7TOat-D.mjs +414 -0
  39. package/fesm2022/juice-js-observability-slo.page-l7TOat-D.mjs.map +1 -0
  40. package/fesm2022/juice-js-observability-slos.page-DNG6g6_R.mjs +267 -0
  41. package/fesm2022/juice-js-observability-slos.page-DNG6g6_R.mjs.map +1 -0
  42. package/fesm2022/juice-js-observability-suggestions-eQK_z0Nd.mjs +367 -0
  43. package/fesm2022/juice-js-observability-suggestions-eQK_z0Nd.mjs.map +1 -0
  44. package/fesm2022/{juice-js-observability-telemetry-BftWSOaQ.mjs → juice-js-observability-telemetry-DVwUTHSz.mjs} +101 -91
  45. package/fesm2022/juice-js-observability-telemetry-DVwUTHSz.mjs.map +1 -0
  46. package/fesm2022/juice-js-observability-timeline.page-CFSigOgk.mjs +213 -0
  47. package/fesm2022/juice-js-observability-timeline.page-CFSigOgk.mjs.map +1 -0
  48. package/fesm2022/{juice-js-observability-topology.page-aMWEXyMB.mjs → juice-js-observability-topology.page-BDfNpiql.mjs} +56 -4
  49. package/fesm2022/juice-js-observability-topology.page-BDfNpiql.mjs.map +1 -0
  50. package/fesm2022/{juice-js-observability-trace.page-DUCWnZL5.mjs → juice-js-observability-trace.page-CdW09ADY.mjs} +10 -8
  51. package/fesm2022/juice-js-observability-trace.page-CdW09ADY.mjs.map +1 -0
  52. package/fesm2022/{juice-js-observability-traces.page-DXSDdeTH.mjs → juice-js-observability-traces.page-CMuItN_m.mjs} +3 -3
  53. package/fesm2022/{juice-js-observability-traces.page-DXSDdeTH.mjs.map → juice-js-observability-traces.page-CMuItN_m.mjs.map} +1 -1
  54. package/fesm2022/juice-js-observability.mjs +507 -110
  55. package/fesm2022/juice-js-observability.mjs.map +1 -1
  56. package/package.json +1 -1
  57. package/styles/_observability.scss +26 -3
  58. package/types/juice-js-observability.d.ts +623 -1
  59. package/fesm2022/juice-js-observability-alert.page-nEy5Gc6j.mjs.map +0 -1
  60. package/fesm2022/juice-js-observability-rules.page-Crb07uWm.mjs +0 -175
  61. package/fesm2022/juice-js-observability-rules.page-Crb07uWm.mjs.map +0 -1
  62. package/fesm2022/juice-js-observability-service.page-Dt8bN2Ry.mjs +0 -726
  63. package/fesm2022/juice-js-observability-service.page-Dt8bN2Ry.mjs.map +0 -1
  64. package/fesm2022/juice-js-observability-telemetry-BftWSOaQ.mjs.map +0 -1
  65. package/fesm2022/juice-js-observability-topology.page-aMWEXyMB.mjs.map +0 -1
  66. package/fesm2022/juice-js-observability-trace.page-DUCWnZL5.mjs.map +0 -1
@@ -14,9 +14,14 @@ export interface ObservabilityOptions {
14
14
  * `id => ['/audit/traces', id]`. A string is an external URL. Without it, no link.
15
15
  */
16
16
  auditLink?: ((traceId: string) => unknown[] | string | null) | null;
17
+ /** Show on the Approvals menu entry how many action requests wait for the signed-in user. On unless false. */
18
+ approvalCount?: boolean;
17
19
  }
18
20
  export declare const OBSERVABILITY_OPTIONS: InjectionToken<ObservabilityOptions>;
19
- /** Configures the pages: where the API is, where the host mounted the routes, and where a trace's audit records open. */
21
+ /**
22
+ * Configures the pages: where the API is, where the host mounted the routes, and where a trace's audit records open. Also shows the count
23
+ * of requests waiting for approval on the Approvals menu entry, unless `approvalCount: false`.
24
+ */
20
25
  export declare function provideJuiceObservability(options?: Partial<ObservabilityOptions>): EnvironmentProviders;
21
26
  /** `/observability/` → `/observability`; `` and `/` → `/`. */
22
27
  export declare function normalizeBasePath(basePath: string): string;
@@ -192,6 +197,274 @@ export interface Rule {
192
197
  enabled: boolean;
193
198
  definition: Record<string, unknown>;
194
199
  loadedAt: string;
200
+ managedBy: string;
201
+ etag: string;
202
+ }
203
+ export interface Channel {
204
+ id: string;
205
+ key: string;
206
+ kind: string;
207
+ destination: string;
208
+ events: string[];
209
+ ruleKeys: string[];
210
+ environments: string[];
211
+ recipients: string[] | null;
212
+ secretRef: string | null;
213
+ groupWindowSeconds: number;
214
+ minimumSeverity: string;
215
+ enabled: boolean;
216
+ managedBy: string;
217
+ loadedAt: string;
218
+ recentFailures: number;
219
+ waiting: number;
220
+ }
221
+ export interface DeliveryAttempt {
222
+ number: number;
223
+ at: string;
224
+ statusCode: number | null;
225
+ error: string | null;
226
+ durationMs: number;
227
+ }
228
+ /** A Juice Agent. `online` means it called in within the last 2 minutes; a revoked agent is never online. */
229
+ export interface Agent {
230
+ id: string;
231
+ hostname: string;
232
+ operatingSystem: string;
233
+ version: string;
234
+ status: string;
235
+ resourceId: string | null;
236
+ online: boolean;
237
+ lastSeenAt: string | null;
238
+ certificateNotAfter: string;
239
+ enrolledBy: string;
240
+ enrolledAt: string;
241
+ revokedAt: string | null;
242
+ revokedBy: string | null;
243
+ revokeReason: string | null;
244
+ }
245
+ /** The token is in this response only: the platform keeps its hash. */
246
+ export interface EnrollmentToken {
247
+ id: string;
248
+ token: string;
249
+ purpose: string | null;
250
+ expiresAt: string;
251
+ }
252
+ /** One parameter of an action, with its bounds (already narrowed to the host's where the agent reported them). */
253
+ export interface ActionParameter {
254
+ name: string;
255
+ type: 'string' | 'integer' | 'boolean';
256
+ required: boolean;
257
+ description: string | null;
258
+ minimum: number | null;
259
+ maximum: number | null;
260
+ maxLength: number | null;
261
+ pattern: string | null;
262
+ allowed: string[] | null;
263
+ default: string | null;
264
+ }
265
+ /** An action an agent can be asked for. `permitted` is null when the agent doesn't report what its host allows (an older agent). */
266
+ export interface AgentAction {
267
+ name: string;
268
+ description: string;
269
+ changing: boolean;
270
+ custom: boolean;
271
+ parameters: ActionParameter[];
272
+ permitted: boolean | null;
273
+ limits: string[];
274
+ /** Low, Medium or High. */
275
+ risk: string;
276
+ /** What the platform's policy needs before it runs: None, Admin or SecondPerson. */
277
+ approval: string;
278
+ }
279
+ /** A health subject an action should make healthy: Service or Application (with environmentId), Instance or Host. */
280
+ export interface ActionTarget {
281
+ type: string;
282
+ id: string;
283
+ environmentId?: string | null;
284
+ }
285
+ /** What a diagnostics.bundle command answered: where the platform keeps the zip, and what's in it. */
286
+ export interface BundleSummary {
287
+ bundleId: string;
288
+ sizeBytes: number;
289
+ sha256: string;
290
+ entries: {
291
+ name: string;
292
+ source: string | null;
293
+ bytes: number;
294
+ lines: number | null;
295
+ }[];
296
+ skipped: string[];
297
+ redacted: number;
298
+ }
299
+ /** Requests waiting for a decision: all of them, and those the signed-in user can decide. */
300
+ export interface ActionRequestsWaiting {
301
+ total: number;
302
+ forYou: number;
303
+ }
304
+ /** A request to run an action, under the approval policy for its risk. `state` is Pending, Issued, Rejected, Cancelled or Expired. */
305
+ export interface ActionRequest {
306
+ id: string;
307
+ agentId: string;
308
+ hostname: string;
309
+ action: string;
310
+ parameters: Record<string, unknown>;
311
+ risk: string;
312
+ policy: string;
313
+ reason: string;
314
+ requestedBy: string;
315
+ requestedAt: string;
316
+ expiresAt: string;
317
+ state: string;
318
+ decidedBy: string | null;
319
+ decidedAt: string | null;
320
+ comment: string | null;
321
+ /** The alert that prompted it, and what it should make healthy: checked before it runs, watched for recovery after. */
322
+ alertId?: string | null;
323
+ target?: ActionTarget | null;
324
+ /** None without a target; Verifying until health from telemetry newer than the action says Verified, or NotVerified. */
325
+ verification?: string;
326
+ verificationNote?: string | null;
327
+ verifiedAt?: string | null;
328
+ command: AgentCommand | null;
329
+ }
330
+ export interface AgentActions {
331
+ reportedAt: string | null;
332
+ items: AgentAction[];
333
+ }
334
+ export interface AgentPackage {
335
+ version: string;
336
+ sha256: string;
337
+ size: number;
338
+ signedBy: string;
339
+ addedAt: string;
340
+ }
341
+ export interface AgentCommand {
342
+ id: string;
343
+ agentId: string;
344
+ action: string;
345
+ parameters: Record<string, unknown>;
346
+ state: string;
347
+ issuedBy: string;
348
+ issuedAt: string;
349
+ expiresAt: string;
350
+ deliveredAt: string | null;
351
+ deliveryCount: number;
352
+ completedAt: string | null;
353
+ reason: string | null;
354
+ result: Record<string, unknown> | null;
355
+ durationMs: number | null;
356
+ }
357
+ export interface Delivery {
358
+ id: string;
359
+ alertId: string | null;
360
+ actionRequestId?: string | null;
361
+ event: string;
362
+ status: string;
363
+ attempts: number;
364
+ createdAt: string;
365
+ firstAttemptAt: string | null;
366
+ deliveredAt: string | null;
367
+ nextAttemptAt: string | null;
368
+ lastStatusCode: number | null;
369
+ lastError: string | null;
370
+ history: DeliveryAttempt[];
371
+ suppressedBy: string | null;
372
+ groupedInto: string | null;
373
+ escalationStep: number;
374
+ }
375
+ /** What a test send did; id is the webhook-id it carried. */
376
+ export interface ChannelTestResult {
377
+ id: string;
378
+ delivered: boolean;
379
+ statusCode: number | null;
380
+ error: string | null;
381
+ durationMs: number;
382
+ }
383
+ export interface AllowlistEntry {
384
+ destination: string;
385
+ ports: number[];
386
+ managedBy: string;
387
+ loadedAt: string;
388
+ }
389
+ export interface EscalationStep {
390
+ afterMinutes: number;
391
+ endpointKeys: string[];
392
+ }
393
+ export interface EscalationPolicy {
394
+ id: string;
395
+ key: string;
396
+ name: string;
397
+ enabled: boolean;
398
+ ruleKeys: string[];
399
+ environments: string[];
400
+ minimumSeverity: string;
401
+ stopOnAcknowledge: boolean;
402
+ steps: EscalationStep[];
403
+ updatedAt: string;
404
+ }
405
+ export interface Silence {
406
+ id: string;
407
+ kind: string;
408
+ comment: string;
409
+ ruleKeys: string[];
410
+ service: string | null;
411
+ environment: string | null;
412
+ host: string | null;
413
+ maximumSeverity: string | null;
414
+ allAlerts: boolean;
415
+ startsAt: string;
416
+ endsAt: string;
417
+ repeatWeekly: boolean;
418
+ active: boolean;
419
+ createdBy: string;
420
+ createdAt: string;
421
+ cancelledAt: string | null;
422
+ cancelledBy: string | null;
423
+ held: number;
424
+ }
425
+ export interface IncidentSummary {
426
+ id: string;
427
+ title: string;
428
+ severity: string;
429
+ state: string;
430
+ createdBy: string;
431
+ createdAt: string;
432
+ updatedAt: string;
433
+ resolvedAt: string | null;
434
+ }
435
+ export interface IncidentEvent {
436
+ at: string;
437
+ actor: string;
438
+ type: string;
439
+ from: string | null;
440
+ to: string | null;
441
+ text: string | null;
442
+ alertId: string | null;
443
+ }
444
+ export interface IncidentDetail {
445
+ incident: IncidentSummary;
446
+ alerts: Alert[];
447
+ events: IncidentEvent[];
448
+ openAlerts: number;
449
+ }
450
+ export interface AlertNotifications {
451
+ deliveries: {
452
+ endpointKey: string;
453
+ kind: string;
454
+ delivery: Delivery;
455
+ }[];
456
+ escalations: {
457
+ policy: string;
458
+ name: string;
459
+ state: string;
460
+ stepsSent: number;
461
+ steps: number;
462
+ nextAt: string | null;
463
+ stopReason: string | null;
464
+ endedAt: string | null;
465
+ }[];
466
+ silences: Silence[];
467
+ incidents: IncidentSummary[];
195
468
  }
196
469
  export interface TraceSummary {
197
470
  traceId: string;
@@ -299,6 +572,167 @@ export interface ServiceStats {
299
572
  stepSeconds: number;
300
573
  points: ServiceStatsPoint[];
301
574
  }
575
+ /** What a service was measured to need, per instance. A unit of work is a request or a message. */
576
+ export interface Capacity {
577
+ stepSeconds: number;
578
+ samples: number;
579
+ instances: number;
580
+ truncated: boolean;
581
+ requestSource: 'metrics' | 'spans' | 'none';
582
+ hosts: string[];
583
+ coresPerInstance: number | null;
584
+ peakPerSecond: number;
585
+ responseMs: number | null;
586
+ responseLowLoadMs: number | null;
587
+ responseHighLoadMs: number | null;
588
+ peakQueue: number | null;
589
+ /** `fitted` separates idle CPU from CPU per unit; `average` is CPU over work in the busiest samples, so it can read high. */
590
+ cpuModel: 'fitted' | 'average' | 'none';
591
+ cpuSecondsPerUnit: number | null;
592
+ idleCores: number | null;
593
+ peakCores: number | null;
594
+ /** `fitted` is idle plus growth per unit in flight; `peak` is only the highest seen. */
595
+ memoryModel: 'fitted' | 'peak' | 'none';
596
+ idleMemoryBytes: number | null;
597
+ memoryBytesPerInFlight: number | null;
598
+ peakMemoryBytes: number | null;
599
+ /** Near 1, a consumer was busy nearly all the time: if it handles one message at a time, it was at its limit whatever CPU says. */
600
+ peakMessagesPerSecond: number;
601
+ peakMessagesInFlight: number;
602
+ /** Null when the service created and delivered no outbox messages in the window. */
603
+ outbox: OutboxBacklog | null;
604
+ }
605
+ /** `undelivered` is created minus delivered in the window, so it includes rolled-back messages. The delay is the p95 from creating to delivering, in the newest minutes. */
606
+ export interface OutboxBacklog {
607
+ createdPerSecond: number;
608
+ deliveredPerSecond: number;
609
+ undelivered: number;
610
+ recentDelaySeconds: number | null;
611
+ fallingBehind: boolean;
612
+ }
613
+ export interface TimelineEntry {
614
+ at: string;
615
+ type: 'change' | 'health' | 'alert';
616
+ title: string;
617
+ detail: string | null;
618
+ state: string | null;
619
+ id: string | null;
620
+ serviceId: string | null;
621
+ environment: string | null;
622
+ }
623
+ export interface Timeline {
624
+ from: string;
625
+ to: string;
626
+ entries: TimelineEntry[];
627
+ truncated: boolean;
628
+ }
629
+ export interface CorrelationReason {
630
+ code: string;
631
+ text: string;
632
+ points: number;
633
+ }
634
+ export interface CorrelatedItem {
635
+ type: string;
636
+ id: string;
637
+ at: string;
638
+ title: string;
639
+ detail: string | null;
640
+ kind: string | null;
641
+ scope: string;
642
+ score: number;
643
+ reasons: CorrelationReason[];
644
+ }
645
+ /** What happened near an alert: correlation, never a proven cause. */
646
+ export interface Related {
647
+ relation: string;
648
+ note: string;
649
+ breachStartedAt: string;
650
+ items: CorrelatedItem[];
651
+ }
652
+ export interface CorrelationEvidence {
653
+ code: string;
654
+ text: string;
655
+ weight: number;
656
+ }
657
+ /** `incidentId`: the unresolved incident one of the pair is in; accepting adds the other to it, otherwise opens one. */
658
+ export interface Suggestion {
659
+ alert: Alert;
660
+ other: Alert;
661
+ score: number;
662
+ evidence: CorrelationEvidence[];
663
+ incidentId: string | null;
664
+ }
665
+ /** Alerts suggested together: correlation, never a proven cause, and nothing merges until someone accepts. */
666
+ export interface Suggestions {
667
+ relation: string;
668
+ note: string;
669
+ threshold: number;
670
+ items: Suggestion[];
671
+ }
672
+ export interface CorrelationDecision {
673
+ decision: string;
674
+ alertId: string;
675
+ otherAlertId: string;
676
+ score: number;
677
+ evidence: CorrelationEvidence[];
678
+ weightsVersion: string;
679
+ incidentId: string | null;
680
+ reason: string | null;
681
+ decidedBy: string;
682
+ decidedAt: string;
683
+ }
684
+ export interface LoadRun {
685
+ id: string;
686
+ name: string;
687
+ environment: string | null;
688
+ startedAt: string;
689
+ endedAt: string | null;
690
+ startedBy: string;
691
+ }
692
+ export interface LoadRunPoint {
693
+ at: string;
694
+ perSecond: number;
695
+ errorRate: number;
696
+ p95Ms: number | null;
697
+ queue: number | null;
698
+ consumerBusy: number;
699
+ created: number;
700
+ delivered: number;
701
+ backlog: number;
702
+ }
703
+ /** Where a service started to struggle. */
704
+ export interface LoadRunLimit {
705
+ reason: string;
706
+ at: string;
707
+ perSecond: number;
708
+ value: number;
709
+ baseline: number | null;
710
+ }
711
+ export interface LoadRunService {
712
+ serviceId: string | null;
713
+ name: string;
714
+ points: LoadRunPoint[];
715
+ peakPerSecond: number;
716
+ p95AtPeakMs: number | null;
717
+ errorRateAtPeak: number;
718
+ baselineP95Ms: number | null;
719
+ limit: LoadRunLimit | null;
720
+ }
721
+ export interface LoadRunResults {
722
+ run: LoadRun;
723
+ stepSeconds: number;
724
+ services: LoadRunService[];
725
+ truncated: boolean;
726
+ }
727
+ export interface DependencyStats {
728
+ dependencyId: string;
729
+ count: number;
730
+ errorRate: number;
731
+ }
732
+ export interface DependencyStatsPage {
733
+ items: DependencyStats[];
734
+ truncated: boolean;
735
+ }
302
736
  export interface DependencyEvidence {
303
737
  dependencyId: string;
304
738
  relation: string;
@@ -316,6 +750,98 @@ export interface SearchHit {
316
750
  title: string;
317
751
  traceId: string | null;
318
752
  }
753
+ /** One window of an SLO: its SLI events, attainment and burn rate, or why it has none (state InsufficientData or Unknown). */
754
+ export interface SloWindow {
755
+ name: string;
756
+ total: number;
757
+ good: number;
758
+ bad: number;
759
+ attainment: number | null;
760
+ burnRate: number | null;
761
+ coverage: number;
762
+ state: string;
763
+ }
764
+ /** An SLO as it stands now. State is Met, AtRisk, Exhausted, InsufficientData or Unknown; the last two have no budget figures. */
765
+ export interface SloSummary {
766
+ key: string;
767
+ name: string;
768
+ category: string;
769
+ sli: string;
770
+ service: string;
771
+ environment: string;
772
+ target: number;
773
+ thresholdMs: number | null;
774
+ version: number;
775
+ pendingVersion: number | null;
776
+ retired: boolean;
777
+ state: string;
778
+ attainment: number | null;
779
+ budgetUsed: number | null;
780
+ budgetRemaining: number | null;
781
+ total: number;
782
+ good: number;
783
+ bad: number;
784
+ budgetAllowed: number;
785
+ coverage: number;
786
+ burn: SloWindow[];
787
+ }
788
+ export interface SloDefinition {
789
+ name: string;
790
+ sli: string;
791
+ service: string;
792
+ environment: string;
793
+ target: number;
794
+ thresholdMs: number | null;
795
+ operations: string[];
796
+ excludeOperations: string[];
797
+ clientErrors: string;
798
+ cancellations: string;
799
+ }
800
+ export interface SloVersion {
801
+ version: number;
802
+ target: number;
803
+ effectiveFrom: string;
804
+ createdAt: string;
805
+ createdBy: string;
806
+ hash: string;
807
+ status: string;
808
+ definition: SloDefinition;
809
+ }
810
+ export interface SloDay {
811
+ day: string;
812
+ total: number;
813
+ good: number;
814
+ bad: number;
815
+ attainment: number | null;
816
+ excludedHealth: number;
817
+ excludedCancelled: number;
818
+ excludedClientErrors: number;
819
+ minutes: number;
820
+ expectedMinutes: number;
821
+ }
822
+ export interface SloAlert {
823
+ id: string;
824
+ rule: string;
825
+ state: string;
826
+ severity: string;
827
+ firedAt: string | null;
828
+ resolvedAt: string | null;
829
+ burnRate: number | null;
830
+ noData: boolean;
831
+ }
832
+ export interface SloDetail {
833
+ slo: SloSummary;
834
+ definition: SloDefinition;
835
+ versions: SloVersion[];
836
+ days: SloDay[];
837
+ countedThrough: string | null;
838
+ alerts: SloAlert[];
839
+ }
840
+ /**
841
+ * A random UUID v4 for `Idempotency-Key`. Not `crypto.randomUUID()`: browsers offer it only in a secure context (HTTPS or localhost), so it
842
+ * throws on a Console opened over plain HTTP at the machine's address, as the local stack is. `getRandomValues` works everywhere.
843
+ */
844
+ export declare function idempotencyKey(): string;
319
845
  export type Query = Record<string, string | number | boolean | string[] | null | undefined>;
320
846
  /**
321
847
  * The Console's only backend: the Juice API (Console requirements §3). One deployment serves one tenant, the one the
@@ -324,9 +850,14 @@ export type Query = Record<string, string | number | boolean | string[] | null |
324
850
  export declare class ApiService {
325
851
  private readonly http;
326
852
  private readonly base;
853
+ /** Set once a page has fetched the caller's tenant: the user is signed in, so background calls such as {@link ApprovalCount}'s may start. */
854
+ readonly tenantKnown: import("@angular/core").WritableSignal<boolean>;
327
855
  /** The caller's tenant, fetched once. */
328
856
  readonly tenant$: Observable<Tenant>;
329
857
  private get;
858
+ /** A change. `Idempotency-Key` on what can be retried, so a repeated click or a lost response doesn't do it twice. */
859
+ private send;
860
+ private once;
330
861
  /** Every page of a cursor-paged list (bounded: at most `maxPages` requests). */
331
862
  private all;
332
863
  environments(): Observable<Page<DeploymentEnvironment>>;
@@ -336,6 +867,55 @@ export declare class ApiService {
336
867
  health(query: Query): Observable<Page<Health>>;
337
868
  topology(environment?: string | null): Observable<Topology>;
338
869
  rules(): Observable<Page<Rule>>;
870
+ createRule(definition: unknown): Observable<Rule>;
871
+ /** With the rule's etag, so a change made since it was read isn't overwritten. */
872
+ updateRule(key: string, definition: unknown, etag: string): Observable<Rule>;
873
+ channels(): Observable<Page<Channel>>;
874
+ createChannel(body: unknown): Observable<Channel>;
875
+ updateChannel(id: string, body: unknown): Observable<Channel>;
876
+ deliveries(id: string, query?: Query): Observable<Page<Delivery>>;
877
+ testChannel(id: string): Observable<ChannelTestResult>;
878
+ retryDelivery(channelId: string, deliveryId: string): Observable<Delivery>;
879
+ allowlist(): Observable<Page<AllowlistEntry>>;
880
+ putAllowlist(destination: string, ports: number[]): Observable<AllowlistEntry>;
881
+ removeAllowlist(destination: string): Observable<void>;
882
+ escalationPolicies(): Observable<Page<EscalationPolicy>>;
883
+ createEscalationPolicy(body: unknown): Observable<EscalationPolicy>;
884
+ updateEscalationPolicy(key: string, body: unknown): Observable<EscalationPolicy>;
885
+ silences(query?: Query): Observable<Page<Silence>>;
886
+ createSilence(body: unknown): Observable<Silence>;
887
+ cancelSilence(id: string): Observable<void>;
888
+ incidents(query?: Query): Observable<Page<IncidentSummary>>;
889
+ incident(id: string): Observable<IncidentDetail>;
890
+ createIncident(body: unknown): Observable<IncidentSummary>;
891
+ moveIncident(id: string, to: string, comment: string): Observable<IncidentSummary>;
892
+ addIncidentNote(id: string, text: string): Observable<IncidentEvent>;
893
+ removeIncidentAlert(id: string, alertId: string): Observable<void>;
894
+ /** Active agents, or with `all` the revoked ones too (at most 500). */
895
+ agents(all?: boolean): Observable<Page<Agent>>;
896
+ agent(id: string): Observable<Agent>;
897
+ createEnrollmentToken(purpose: string, expiresInMinutes: number): Observable<EnrollmentToken>;
898
+ revokeAgent(id: string, reason: string): Observable<Agent>;
899
+ /** What the agent reported it can run, custom actions included, with what its host permits; the built-ins if it never reported. */
900
+ agentActions(id: string): Observable<AgentActions>;
901
+ agentPackages(): Observable<Page<AgentPackage>>;
902
+ /** Idempotent: a repeated click or a lost response signs one command, not two. */
903
+ issueCommand(id: string, action: string, parameters: Record<string, unknown>): Observable<AgentCommand>;
904
+ /** Asks for an action under its approval policy: issued at once when nobody else needs to approve, otherwise waiting. */
905
+ requestAction(agentId: string, action: string, parameters: Record<string, unknown>, reason: string, target?: ActionTarget | null): Observable<ActionRequest>;
906
+ actionRequests(query?: Query): Observable<Page<ActionRequest>>;
907
+ /** A diagnostic bundle's zip (operators and admins; audited). */
908
+ downloadBundle(agentId: string, bundleId: string): Observable<import("@angular/common/http").HttpResponse<Blob>>;
909
+ /** SLOs, technical or business apart (category), with their budgets and burn rates. */
910
+ slos(category?: string): Observable<Page<SloSummary>>;
911
+ slo(key: string): Observable<SloDetail>;
912
+ /** How many requests wait, and how many of them the signed-in user can decide. */
913
+ waitingRequests(): Observable<ActionRequestsWaiting>;
914
+ approveRequest(id: string, comment: string): Observable<ActionRequest>;
915
+ rejectRequest(id: string, comment: string): Observable<ActionRequest>;
916
+ cancelRequest(id: string): Observable<ActionRequest>;
917
+ agentCommands(id: string, cursor?: string | null): Observable<Page<AgentCommand>>;
918
+ alertNotifications(id: string): Observable<AlertNotifications>;
339
919
  /** One page of alerts, newest first; pass the previous page's `nextCursor` as `cursor` for the next. */
340
920
  alerts(query: Query): Observable<Page<Alert>>;
341
921
  /** Every alert matching the query (bounded, like the other complete lists). */
@@ -349,6 +929,16 @@ export declare class ApiService {
349
929
  metrics(query: Query): Observable<TelemetryPage<MetricInfo>>;
350
930
  series(query: Query): Observable<Series>;
351
931
  serviceStats(query: Query): Observable<ServiceStats>;
932
+ capacity(query: Query): Observable<Capacity>;
933
+ timeline(query: Query): Observable<Timeline>;
934
+ relatedToAlert(id: string): Observable<Related>;
935
+ alertSuggestions(id: string): Observable<Suggestions>;
936
+ incidentSuggestions(id: string): Observable<Suggestions>;
937
+ acceptSuggestion(alertId: string, otherId: string): Observable<CorrelationDecision>;
938
+ dismissSuggestion(alertId: string, otherId: string, reason: string): Observable<CorrelationDecision>;
939
+ loadRuns(query: Query): Observable<Page<LoadRun>>;
940
+ loadRunResults(id: string): Observable<LoadRunResults>;
941
+ dependencyStats(query: Query): Observable<DependencyStatsPage>;
352
942
  dependency(id: string, query: Query): Observable<DependencyEvidence>;
353
943
  search(q: string): Observable<TelemetryPage<SearchHit>>;
354
944
  static ɵfac: i0.ɵɵFactoryDeclaration<ApiService, never>;
@@ -391,6 +981,38 @@ export declare class ContextService {
391
981
  static ɵfac: i0.ɵɵFactoryDeclaration<ContextService, never>;
392
982
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
393
983
  }
984
+ /**
985
+ * How many action requests wait for the signed-in user to decide, refreshed every 30 seconds from whatever page is open, and at once
986
+ * when a page made or decided one ({@link refresh}). It starts only once a page has fetched the tenant: before that the user may still be
987
+ * signing in, and an early call would fail, along with the page's own call sharing it. It stops on an error (signed out, or no rights)
988
+ * until the next navigation, so a signed-out tab doesn't keep asking.
989
+ */
990
+ export declare class ApprovalCount {
991
+ static readonly Every = 30000;
992
+ private readonly api;
993
+ private polling;
994
+ /** Requests the signed-in user can approve or reject now. */
995
+ readonly forYou: import("@angular/core").WritableSignal<number>;
996
+ constructor();
997
+ /** Asks again now, for a page that just changed what waits. */
998
+ refresh(): void;
999
+ private start;
1000
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalCount, never>;
1001
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1002
+ }
1003
+ /**
1004
+ * Shows {@link ApprovalCount} on the Approvals entry of juice-layout's side menu, found by its icon. juice-layout's menu has no badge of its
1005
+ * own, so this adds one beside the label and puts it back whenever the menu is drawn again.
1006
+ */
1007
+ export declare class ApprovalMenuBadge {
1008
+ static readonly Icon = "approval";
1009
+ private readonly count;
1010
+ private observer;
1011
+ constructor();
1012
+ private apply;
1013
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalMenuBadge, never>;
1014
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1015
+ }
394
1016
  /**
395
1017
  * The pages, investigation first (Console requirements §4): services, traces, topology, logs and metrics; alerts and
396
1018
  * rules after. Detail pages are deep links (§17) and carry the environment and time range in their query parameters.
@@ -1 +0,0 @@
1
- {"version":3,"file":"juice-js-observability-alert.page-nEy5Gc6j.mjs","names":[],"sources":["../../../../projects/juice-js/observability/src/lib/pages/alert.page.ts"],"sourcesContent":["import { LinkPipe } from '../core/options';\nimport { ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { apiResource } from '../shared/resource';\nimport { DatePipe } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { RouterLink } from '@angular/router';\nimport { ApiService } from '../core/api.service';\nimport { ContextService } from '../core/context.service';\nimport { AgoPipe, ReasonPipe } from '../shared/format';\nimport { ContextBar, HealthBadge, KeyValueTable } from '../shared/ui';\nimport { problemText } from '../shared/telemetry';\n\n/**\n * One alert (Console requirements §14): evidence, lifecycle history, the subject's health and reasons, the way into\n * the investigation, and acknowledgement for operators.\n */\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [LinkPipe, RouterLink, DatePipe, FormsModule, MatButtonModule, MatFormFieldModule, MatInputModule, MatProgressBarModule,\n ContextBar, HealthBadge, KeyValueTable, AgoPipe, ReasonPipe],\n template: `\n <jc-context-bar>\n <a [routerLink]=\"['alerts'] | jcLink\" [queryParams]=\"ctx.keep()\" class=\"jc-crumb\">Alerts</a><span class=\"jc-crumb-sep\">›</span>\n <h1>{{ detail.value()?.alert?.rule ?? '…' }}</h1>\n </jc-context-bar>\n @if (detail.isLoading()) { <mat-progress-bar mode=\"indeterminate\" /> }\n @if (detail.error()) { <p class=\"jc-error\">{{ error() }}</p> }\n @if (detail.value(); as d) {\n <div class=\"jc-summary\">\n <span class=\"jc-badge\" [class.jc-health-unhealthy]=\"d.alert.severity === 'Critical'\" [class.jc-health-degraded]=\"d.alert.severity === 'Warning'\">{{ d.alert.severity }}</span>\n <strong>{{ d.alert.state }}</strong>\n <span>{{ d.alert.subjectKey }}</span>\n @if (d.alert.noData) { <span class=\"jc-muted\">no data at the last evaluation: state kept</span> }\n @if (d.alert.subjectType === 'service' && d.alert.subjectId) {\n <a mat-flat-button [routerLink]=\"['services', d.alert.subjectId] | jcLink\" [queryParams]=\"investigate(d.alert.environment)\">Investigate</a>\n <a mat-stroked-button [routerLink]=\"['services', d.alert.subjectId] | jcLink\" [queryParams]=\"investigate(d.alert.environment, { tab: 'traces', status: 'error' })\">Error traces</a>\n }\n @for (l of d.links; track l.url) { <a mat-button [href]=\"l.url\" target=\"_blank\" rel=\"noopener\">{{ l.title }} ↗</a> }\n </div>\n <div class=\"jc-grid-2\">\n <section class=\"jc-card\"><h2>Evidence</h2><jc-kv [values]=\"d.evidence\" /></section>\n <section class=\"jc-card\">\n <h2>Subject health</h2>\n @for (h of d.subjectHealth; track h.subjectId + h.environment) {\n <p><jc-health [state]=\"h.state\" [stale]=\"h.stale\" /> {{ h.environment }}</p>\n <ul class=\"jc-reasons\">@for (r of h.reasons; track r) { <li>{{ r | reason }}</li> }</ul>\n } @empty { <p class=\"jc-muted\">No health for this subject.</p> }\n </section>\n </div>\n <section class=\"jc-card\">\n <h2>History</h2>\n <table class=\"jc-table\"><tbody>\n @for (t of d.history; track t.at + t.to) {\n <tr><td>{{ t.at | date: 'MMM d, HH:mm:ss' }}</td><td>{{ t.from ?? '—' }} → <strong>{{ t.to }}</strong></td><td>{{ t.reason | reason }}</td><td>{{ t.value ?? '—' }}</td></tr>\n }\n </tbody></table>\n </section>\n <section class=\"jc-card\">\n <h2>Acknowledgement</h2>\n @if (d.alert.acknowledgedAt) {\n <p>By <strong>{{ d.alert.acknowledgedBy }}</strong> {{ d.alert.acknowledgedAt | ago }}@if (d.acknowledgeComment) {: “{{ d.acknowledgeComment }}”}</p>\n } @else if (d.alert.state !== 'Resolved') {\n <form (ngSubmit)=\"acknowledge()\" class=\"jc-filter-form\">\n <mat-form-field subscriptSizing=\"dynamic\" class=\"jc-field-wide\"><mat-label>Comment</mat-label><input matInput name=\"comment\" [(ngModel)]=\"comment\" maxlength=\"1000\"></mat-form-field>\n <button mat-flat-button type=\"submit\" [disabled]=\"sending()\">Acknowledge</button>\n </form>\n @if (ackError()) { <p class=\"jc-error\">{{ ackError() }}</p> }\n } @else { <p class=\"jc-muted\">Resolved without acknowledgement.</p> }\n </section>\n }`,\n})\nexport class AlertPage {\n protected readonly ctx = inject(ContextService);\n private readonly api = inject(ApiService);\n readonly id = input.required<string>();\n protected comment = '';\n protected readonly sending = signal(false);\n protected readonly ackError = signal('');\n\n protected readonly detail = apiResource({ params: () => this.id(), stream: ({ params }) => this.api.alert(params) });\n protected readonly error = computed(() => problemText(this.detail.error()));\n\n /** The service page over the alert's environment, from shortly before the breach. */\n investigate(environment: string | null, extra: Record<string, string> = {}) {\n const alert = this.detail.value()?.alert;\n const start = alert?.breachStartedAt ? new Date(alert.breachStartedAt).getTime() - 15 * 60_000 : null;\n const end = alert?.resolvedAt ? new Date(alert.resolvedAt).getTime() + 5 * 60_000 : Date.now();\n const window = start && end - start <= 24 * 3_600_000\n ? { from: new Date(start).toISOString(), to: new Date(end).toISOString(), range: null } : {};\n return this.ctx.keep({ env: environment, ...window, ...extra });\n }\n\n acknowledge() {\n this.sending.set(true);\n this.ackError.set('');\n this.api.acknowledge(this.id(), this.comment).subscribe({\n next: () => { this.sending.set(false); this.detail.reload(); },\n error: e => {\n this.sending.set(false);\n this.ackError.set((e as { status?: number }).status === 403 ? 'Acknowledging needs the operator or admin role.' : problemText(e));\n },\n });\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AA2EA,IAAa,YAAb,MAAa,UAAS;CACD,MAAM,OAAO,cAAc;CAC7B,MAAM,OAAO,UAAU;CAC/B,KAAK,MAAM,SAAkB,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CAC5B,UAAU;CACD,UAAU,OAAO,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CACvB,WAAW,OAAO,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAErB,SAAS,YAAY;EAAE,cAAc,KAAK,GAAE;EAAI,SAAS,EAAE,aAAa,KAAK,IAAI,MAAM,MAAM;CAAC,CAAE;CAChG,QAAQ,eAAe,YAAY,KAAK,OAAO,MAAK,CAAE,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAG3E,YAAY,aAA4B,QAAgC,CAAA,GAAE;EACxE,MAAM,QAAQ,KAAK,OAAO,MAAK,CAAE,EAAE;EACnC,MAAM,QAAQ,OAAO,kBAAkB,IAAI,KAAK,MAAM,eAAe,CAAC,CAAC,QAAO,IAAK,MAAc;EACjG,MAAM,MAAM,OAAO,aAAa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