-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Monitoring] Convert Kibana-related server files that read from _sour…
…ce to typescript (#86364) * Identifying kibana source fields * Fix types * Fix types, take 2 * Should really fix it now Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information
1 parent
42c1414
commit ecb4522
Showing
8 changed files
with
443 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
export interface ElasticsearchSourceKibanaStats { | ||
timestamp?: string; | ||
kibana?: { | ||
name?: string; | ||
status?: string; | ||
uuid?: string; | ||
response_times?: { | ||
max?: number; | ||
}; | ||
}; | ||
os?: { | ||
memory?: { | ||
free_in_bytes?: number; | ||
}; | ||
}; | ||
process?: { | ||
uptime_in_millis?: number; | ||
}; | ||
} | ||
|
||
export interface ElasticsearchSource { | ||
timestamp: string; | ||
kibana_stats?: ElasticsearchSourceKibanaStats; | ||
beats_stats?: { | ||
timestamp?: string; | ||
beat?: { | ||
uuid?: string; | ||
name?: string; | ||
type?: string; | ||
version?: string; | ||
host?: string; | ||
}; | ||
metrics?: { | ||
beat?: { | ||
memstats?: { | ||
memory_alloc?: number; | ||
}; | ||
info?: { | ||
uptime?: { | ||
ms?: number; | ||
}; | ||
}; | ||
handles?: { | ||
limit?: { | ||
hard?: number; | ||
soft?: number; | ||
}; | ||
}; | ||
}; | ||
libbeat?: { | ||
config?: { | ||
reloads?: number; | ||
}; | ||
output?: { | ||
type?: string; | ||
write?: { | ||
bytes?: number; | ||
errors?: number; | ||
}; | ||
read?: { | ||
errors?: number; | ||
}; | ||
}; | ||
pipeline?: { | ||
events?: { | ||
total?: number; | ||
published?: number; | ||
dropped?: number; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
294 changes: 0 additions & 294 deletions
294
x-pack/plugins/monitoring/public/components/kibana/instances/instances.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.