An open API service indexing awesome lists of open source software.

https://github.com/adamatti/express-actuator-alt

Plugin based on express-actuator to work with spring-boot-admin
https://github.com/adamatti/express-actuator-alt

expressjs javascript nodejs npm spring

Last synced: 3 months ago
JSON representation

Plugin based on express-actuator to work with spring-boot-admin

Awesome Lists containing this project

README

          

Plugin based on https://www.npmjs.com/package/express-actuator[express-actuator] to work with https://github.com/codecentric/spring-boot-admin[spring-boot-admin]

### Sample

[source,javascript]
----
const actuator = require("express-actuator-alt")({
appName: "Sample Node App",
baseUrl: `http://localhost:${port}`,
managementUrl: "/management",
adminUrl: "http://localhost:8080",
adminPollingInterval: 1000
})

app.use("/management",actuator)
----

### Options

|===
| *Variable* | *Description* | *Default Value*
| appName | The application name to be published to admin | Unknown
| adminPollingInterval | Interval to register on admin in milliseconds | 10000
| adminUrl | Admin url |
| baseUrl | The app url. Need to be a valid url to be called by admin (external url) |
managementUrl | Metrics subpath. E.g. `/management` | `/`
|===

### Next steps
* Implement more features (e.g. trace?)
* Get some varibles by default (e.g. baseUrl)