mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[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:
parent
2b0b320c83
commit
76897e1eb6
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue