[Code] update enable config in doc and screenshots to reflect new UI change (#39034) (#39035)

This commit is contained in:
chongzhe 2019-06-14 15:32:30 -07:00 committed by GitHub
parent 73c07a7fcf
commit c4b225bbf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 18 deletions

View file

@ -9,6 +9,14 @@ You must have a {kib} instance up and running.
If you are in an environment where you have multiple {kib} instances in a cluster, see the <<code-multiple-kibana-instances-config, config instructions for multiple Kibana instances>>.
[float]
==== Enable Code app
In beta, Code needs to be turned on by adding the following line to `kibana.yaml`
[source,yaml]
----
xpack.code.ui.enabled: true
----
[float]
==== Import your first repository
. Navigate to the Code app.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 267 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 KiB

After

Width:  |  Height:  |  Size: 328 KiB

Before After
Before After

View file

@ -7,17 +7,6 @@
Unless you are running multiple Kibana instances as a cluster, you do not need to change any settings to use *Code* by default. If youd like to change any of the default values, copy and paste the relevant settings below into your `kibana.yml` configuration file.
`xpack.code.queueIndex`::
Internal worker queue index name. Defaults to `.code_internal-worker-queue`.
`xpack.code.queueTimeoutMs`::
Internal worker queue task timeout. Default to `3600000`.
`xpack.code.updateFrequencyMs`::
Update scheduler execution frequency in milliseconds. Defaults to `300000`.
`xpack.code.indexFrequencyMs`::
Index scheduler execution frequency in milliseconds. Defaults to `86400000`.
`xpack.code.updateRepoFrequencyMs`::
Repo update frequency in milliseconds. Defaults to `300000`.
@ -25,12 +14,6 @@ Repo update frequency in milliseconds. Defaults to `300000`.
`xpack.code.indexRepoFrequencyMs`::
Repo index frequency in milliseconds. Defaults to `86400000`.
`xpack.code.lsp.requestTimeoutMs`::
Timeout time for a request to language servers in milliseconds. Defaults to `10000`.
`xpack.code.lsp.detach`::
Whether language servers will run in detach mode. Defaults to `false`.
`xpack.code.lsp.verbose`::
Whether to show more verbose log for language servers. Defaults to `false`.
@ -50,7 +33,7 @@ Whitelist of hostnames for git clone address. Defaults to `[ 'github.com', 'gitl
Whitelist of protocols for git clone address. Defaults to `[ 'https', 'git', 'ssh' ]`.
`xpack.code.security.enableGitCertCheck`::
Whether to enable Code to load git key pairs. Defaults to `true`.
Whether enable HTTPS certificate check when clone from HTTPS URL.
`xpack.code.maxWorkspace`::
Maximal number of workspaces each language server allows to span. Defaults to `5`.