RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Tsak.Core.Monitoring Show all

redb.Tsak.Core.Monitoring

Classes

C ContextMetricsCollector Collects per-context metrics from the context manager.
C ContextMetricsSnapshot A snapshot of a single route context's runtime state,
C ControlPlaneHealth Shared flag recording whether the _system control-plane context (REST/management API) started
C CpuMetrics
C DeployAdvisor Says whether a new package can be hot swapped into this node or the node needs a cold deploy (stop, ...
C GcMetrics
C HealthCheckService Evaluates overall system health based on context state and pluggable checks.
C HealthEvaluation Result of a health check evaluation (internal mutable model).
C LifecycleAuditService Ring-buffer audit trail for route lifecycle events.
C LogRingBuffer In-memory circular buffer for recent log entries.
C MemoryMetrics
C MemoryUsageEnricher Serilog enricher that adds current GC memory usage (KB) to every log event.
C MetricsCollectionService Background service that periodically collects process metrics
C MetricsOptions Configuration for the metrics collection subsystem.
C MetricsPoint A single snapshot of process and system metrics at a point in time.
C MetricsService In-memory metrics store with a circular buffer.
C NodeStartTime When this node started: the start time of its process, read once. GET /api/system/info (start time a...
C RingBufferSink Serilog sink that feeds structured log events into .
C RouteWatchdogService Background service that periodically scans all route contexts for
C ThreadingMetrics
C TsakMetricsSnapshotProps Props class of the per-node metrics snapshots stored in redb.
C WatchdogOptions Configuration for the Route Watchdog background service.

Interfaces

I IClusterDeployAdvisor The deploy advice of every alive node of the cluster (Pro). Without it the cluster form answers for ...
I IDeployAdviceContributor Adds the reasons for a cold deploy that only a plugin knows: Pro's cluster says whether this node is...

redb.Tsak.Core.Monitoring.Alerts

Classes

C AlertChannelResult Per-channel outcome of a test delivery.
C AlertDispatcher Fans watchdog / lifecycle alerts out to every enabled .
C AlertNotification A single alert to deliver. Produced from a WatchdogAlert (a newly detected hung /
C EmailAlertChannel Email delivery over SMTP using the BCL — no extra package. Adequate
C EmailChannelOptions Email via SMTP (BCL SmtpClient — no extra package).
C EndpointAlertChannel Generic route-endpoint channel: sends the alert JSON to any redb.Route producer URI
C EndpointChannelOptions Generic route endpoint — sends the alert to any redb.Route URI (kafka:topic,
C TelegramAlertChannel Telegram delivery via the Bot API — a formatted HTTPS POST to
C TelegramChannelOptions Telegram Bot API — a formatted HTTPS POST, no connector needed.
C WatchdogAlertOptions Alert delivery configuration, bound from Tsak:Watchdog:Alerts.
C WebhookAlertChannel Generic webhook: POSTs the alert JSON to a configured URL. Covers Slack / Teams / Mattermost /
C WebhookChannelOptions Generic outgoing webhook — POSTs the alert JSON to a URL (Slack/Teams/PagerDuty/…).

Interfaces

I IAlertChannel A single alert delivery destination (webhook, Telegram, email, broker endpoint).