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
- Host: GitHub
- URL: https://github.com/adamatti/express-actuator-alt
- Owner: adamatti
- Created: 2017-09-28T02:26:33.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-11-11T18:12:04.000Z (over 4 years ago)
- Last Synced: 2025-10-19T17:13:06.415Z (8 months ago)
- Topics: expressjs, javascript, nodejs, npm, spring
- Language: JavaScript
- Homepage:
- Size: 96.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- Changelog: CHANGELOG.md
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)