You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Node-Boot Actuator Starter** provides production-ready monitoring, health checks, and application insights for Node-Boot applications, following Spring Boot Actuator patterns for the Node.js ecosystem.
6
+
> **Node-Boot Actuator Starter** provides production-ready monitoring, health checks, and application insights for
7
+
> Node-Boot applications, following Spring Boot Actuator patterns for the Node.js ecosystem.
7
8
8
9
## Overview
9
10
10
-
The Node-Boot Actuator Starter brings comprehensive application monitoring and observability to your Node.js applications. It automatically exposes operational endpoints for health checks, metrics collection, application information, and more. This starter is the Node.js equivalent of Spring Boot Actuator, providing the same level of production-ready monitoring capabilities.
11
+
The Node-Boot Actuator Starter brings comprehensive application monitoring and observability to your Node.js
12
+
applications. It automatically exposes an `/actuator` family of operational endpoints for health checks, Prometheus
13
+
metrics, build/git information, memory diagnostics, and introspection of your application's controllers,
14
+
interceptors and middlewares — with zero manual route wiring.
11
15
12
16
### Key Features
13
17
14
-
✅ **Auto-Configuration** – Zero-configuration setup with sensible defaults
15
-
✅ **Health Checks** – Built-in health endpoints with custom health indicators
16
-
✅ **Prometheus Metrics** – Automatic metrics collection and exposure
17
-
✅ **Application Info** – Git information, build details, and environment data
18
-
✅ **Multi-Framework Support** – Works with Express, Fastify, Koa, and native HTTP
19
-
✅ **Production-Ready** – Battle-tested monitoring patterns from Spring Boot
18
+
✅ **Auto-Configuration** – Zero-configuration setup, endpoints are bound automatically at bootstrap
19
+
✅ **Health Checks** – Liveness/readiness endpoints that reflect real application lifecycle state
20
+
✅ **Prometheus Metrics** – Default Node.js process metrics plus HTTP request count/duration histograms
21
+
✅ **Application Info** – Runtime info (host, Node version, uptime, active profiles) and build metadata from
22
+
`package.json`
23
+
✅ **Git Info** – Optional endpoint exposing commit/branch metadata from a `git.properties` file
24
+
✅ **Introspection Endpoints** – Inspect registered controllers, interceptors, and middlewares at runtime
25
+
✅ **Multi-Framework Support** – Works with Express, Fastify, Koa, and native `http` servers
26
+
✅ **Production-Ready** – Battle-tested monitoring patterns from Spring Boot Actuator
20
27
21
28
---
22
29
@@ -25,8 +32,9 @@ The Node-Boot Actuator Starter brings comprehensive application monitoring and o
25
32
### Prerequisites
26
33
27
34
- Node.js 18+
28
-
- Node-Boot 2.0+
29
-
- One of the supported servers: Express, Fastify, Koa, or native HTTP
35
+
- A Node-Boot application using one of the supported servers: Express, Fastify, Koa, or native HTTP
36
+
-`@EnableDI(Container)` on your application class — the actuator resolves core services (`ConfigService`,
37
+
`CoreInfoService`, `HealthService`, `Logger`) from the DI container and **throws at bootstrap** if it's missing
console.log(`Processing order ${envelop.message.orderId} (messageId=${envelop.messageId})`);
328
+
}
329
+
```
330
+
302
331
#### SQS Message Handling
303
332
304
333
- The queue is polled continuously for messages using [long polling](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html).
0 commit comments