[status/api] send the kibana version and build info (#9213)

Backports PR #9195

**Commit 1:**
[status/api] send the kibana version and build info

* Original sha: 129abafab7
* Authored by spalger <email@spalger.com> on 2016-11-23T01:54:11Z
This commit is contained in:
jasper 2016-11-23 18:00:39 -05:00 committed by Spencer
parent 2b0b320c83
commit 76897e1eb6

View file

@ -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