Skip to content

Commit

Permalink
[status/api] send the kibana version and build info (#9213)
Browse files Browse the repository at this point in the history
Backports PR #9195

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

* Original sha: 129abaf
* Authored by spalger <[email protected]> on 2016-11-23T01:54:11Z
  • Loading branch information
elastic-jasper authored and spalger committed Nov 23, 2016
1 parent 2b0b320 commit 76897e1
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 76897e1

Please sign in to comment.