express-actuator-alt

A express-actuator alternative


Keywords
node, actuator, spring, springboot, metrics
License
MIT
Install
npm install express-actuator-alt@0.0.1

Documentation

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

Sample

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

Next steps

  • Implement more features (e.g. trace?)

  • Get some varibles by default (e.g. baseUrl)