mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Update internal tracing docs (#162372)
## Summary The documentation for the instrumentation of Kibana listed a lot of settings to apply. Most of them are not needed since we have good defaults for the agents. Additional information like `labels.deploymentId` are automatically appended in case of usage with ECE. ### Checklist Delete any items that are not applicable to this PR. - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials ### Risk Matrix Delete this section if it is not applicable to this PR. Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release. When forming the risk matrix, consider some of the following examples and how they may potentially impact the change: | Risk | Probability | Severity | Mitigation/Notes | |---------------------------|-------------|----------|-------------------------| | Multiple Spaces—unexpected behavior in non-default Kibana Space. | Low | High | Integration tests will verify that all features are still supported in non-default Kibana Space and when user switches between spaces. | | Multiple nodes—Elasticsearch polling might have race conditions when multiple Kibana nodes are polling for the same tasks. | High | Low | Tasks are idempotent, so executing them multiple times will not result in logical error, but will degrade performance. To test for this case we add plenty of unit tests around this logic and document manual testing procedure. | | Code should gracefully handle cases when feature X or plugin Y are disabled. | Medium | High | Unit tests will verify that any feature flag or plugin combination still results in our service operational. | | [See more potential risk examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) | ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
This commit is contained in:
parent
0d5a1b0bb1
commit
6c2071eb0e
1 changed files with 1 additions and 7 deletions
|
@ -23,7 +23,7 @@ For example:
|
|||
|
||||
```json
|
||||
{
|
||||
"user_settings_override_yaml": "elastic.apm.active: true\nelastic.apm.serverUrl: https://<my_apm_endpoint>\nelastic.apm.secretToken: <my_APM_token>\nelastic.apm.globalLabels.deploymentId: <my_deployment_ID>\nelastic.apm.centralConfig: false\nelastic.apm.breakdownMetrics: false\nelastic.apm.transactionSampleRate: 0.1\nelastic.apm.metricsInterval: 120s\nelastic.apm.captureSpanStackTraces: false"
|
||||
"user_settings_override_yaml": "elastic.apm.active: true\nelastic.apm.serverUrl: https://<my_apm_endpoint>\nelastic.apm.secretToken: <my_APM_token>"
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -37,12 +37,6 @@ For on-premise deployments or developers outside Elastic, you can configure an A
|
|||
elastic.apm.active: true
|
||||
elastic.apm.serverUrl: https://<my_apm_endpoint>
|
||||
elastic.apm.secretToken: <my_APM_token>
|
||||
elastic.apm.globalLabels.deploymentId: <my_deployment_ID>
|
||||
elastic.apm.centralConfig: false
|
||||
elastic.apm.breakdownMetrics: false
|
||||
elastic.apm.transactionSampleRate: 0.1
|
||||
elastic.apm.metricsInterval: 120s
|
||||
elastic.apm.captureSpanStackTraces: false
|
||||
```
|
||||
|
||||
When running in ECE you can update `kibana.yml` settings via the ECE web UI under "Edit user setting" for the kibana nodes in the deployment.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue