0.50.0 • Published 8 years ago

turing-status v0.50.0

Weekly downloads
7
License
Apache-2.0
Repository
github
Last release
8 years ago

turing-status

version license

Aggregation of sub-statuses and express routes for an html and json status report.

API

HTTP GET with Accept header application/json will yield to a json response. HTTP GET with Accept header text/html will yield to an html response.

Simply require turing-status and add the router to your turing-server.

const TuringStatus = require('turing-status');

app.use(new TuringStatus());

To add a sub-status call addStatusDetail(name, status, message) on you turing-server.

server.addStatusDetail('my-status-detail', 'OK', 'Everything is fine.');

Config

  • turing:server:routes:internal - The base-url of internal endpoints like health or status. (default: "/internal")
  • turing:status:route - The relative url of the status endpoint behind the internal route. (default: "/status")

Status Information Config

You can set additional status information by using the following configurations

Inside package.json
  • name - The name of the application.
  • description - A short description of the application's purpose.
  • version - The version of the application.
  • commit - The current commit hash of the application.
  • repository.url - The repository url of the application
  • dependencies - A list of the application's dependencies.
Inside Config
  • turing:status:application:group - The group of services, this application is part of.
  • turing:server:port - The server port.
  • turing:status:team:name - The name of the team.
  • turing:status:team:contact:technical - The technical contact.
  • turing:status:team:contact:business - The business contact.

Contributors

  • Benedikt Stemmildt
  • Jonathan Meyer

License

Apache-2.0

0.50.0

8 years ago

0.46.2

8 years ago

0.46.1

8 years ago

0.45.4

8 years ago

0.45.3

8 years ago

0.45.2

8 years ago

0.45.1

8 years ago

0.44.3

8 years ago

0.44.2

8 years ago

0.44.1

8 years ago

0.44.0

8 years ago

0.43.0

8 years ago

0.40.2

8 years ago

0.40.1

8 years ago

0.40.0

8 years ago

0.39.2

8 years ago

0.39.1

8 years ago

0.39.0

8 years ago

0.38.3

8 years ago

0.38.2

8 years ago

0.38.1

8 years ago

0.38.0

8 years ago

0.37.0

9 years ago

0.36.0

9 years ago

0.35.6

9 years ago

0.35.2

9 years ago

0.35.1

9 years ago

0.35.0

9 years ago

0.34.0

9 years ago

0.33.8

9 years ago

0.33.7

9 years ago

0.33.6

9 years ago

0.33.4

9 years ago

0.33.3

9 years ago

0.33.2

9 years ago

0.33.1

9 years ago

0.33.0

9 years ago

0.32.0

9 years ago

0.31.0

9 years ago

0.30.0

9 years ago

0.29.0

9 years ago

0.28.0

9 years ago

0.27.0

9 years ago

0.26.2

9 years ago

0.26.1

9 years ago

0.26.0

9 years ago

0.25.0

9 years ago

0.24.0

9 years ago

0.23.0

9 years ago

0.22.0

9 years ago

0.21.0

9 years ago

0.20.0

9 years ago

0.19.1

9 years ago

0.19.0

9 years ago

0.18.1

9 years ago

0.17.0

9 years ago

0.16.0

9 years ago

0.15.0

9 years ago

0.14.1

9 years ago

0.13.0

9 years ago

0.12.0

9 years ago

0.11.0

9 years ago

0.10.2

9 years ago

0.10.1

9 years ago

0.10.0

9 years ago

0.9.8

9 years ago

0.9.7

9 years ago

0.9.6

9 years ago

0.9.5

9 years ago

0.9.4

9 years ago

0.9.3

9 years ago

0.9.2

9 years ago

0.9.1

9 years ago

0.9.0

9 years ago

0.8.3

9 years ago

0.8.2

9 years ago

0.8.1

10 years ago

0.8.0

10 years ago

0.7.10

10 years ago

0.7.9

10 years ago

0.7.8

10 years ago

0.7.7

10 years ago

0.7.6

10 years ago

0.7.5

10 years ago

0.7.4

10 years ago

0.7.3

10 years ago

0.7.2

10 years ago

0.7.1

10 years ago

0.7.0

10 years ago

0.6.0

10 years ago