Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
[status/api] send the kibana version and build info (elastic#9195)
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger authored Nov 23, 2016
1 parent 9527a8f commit 8d003a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/status/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export default function (kbnServer, server, config) {
handler: function (request, reply) {
return reply({
name: config.get('server.name'),
version: config.get('pkg.version'),
buildNum: config.get('pkg.buildNum'),
buildSha: config.get('pkg.buildSha'),
uuid: config.get('server.uuid'),
status: kbnServer.status.toJSON(),
metrics: kbnServer.metrics
Expand Down

0 comments on commit 8d003a1

Please sign in to comment.