mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[APM] Add note about synthtrace to APM docs (#121633)
This commit is contained in:
parent
c9055c7751
commit
d421ddcf61
1 changed files with 23 additions and 4 deletions
|
@ -4,18 +4,37 @@
|
|||
git clone git@github.com:elastic/kibana.git
|
||||
cd kibana/
|
||||
yarn kbn bootstrap
|
||||
yarn start --no-base-path
|
||||
yarn start
|
||||
```
|
||||
|
||||
# Elasticsearch, APM Server and data generators
|
||||
|
||||
To access an elasticsearch instance that has live data you have two options:
|
||||
To access an Elasticsearch instance that has live data you have three options:
|
||||
|
||||
## A. Cloud-based ES Cluster (internal devs only)
|
||||
## 1. Using Synthtrace
|
||||
|
||||
**Start Elasticsearch**
|
||||
```
|
||||
yarn es snapshot
|
||||
```
|
||||
|
||||
**Create APM mappings**
|
||||
```
|
||||
node ./scripts/es_archiver load "x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_mappings_only_8.0.0" --es-url=http://elastic:changeme@localhost:9200 --kibana-url=http://elastic:changeme@localhost:5601 --config=./test/functional/config.js
|
||||
```
|
||||
|
||||
**Run Synthtrace**
|
||||
```
|
||||
node packages/elastic-apm-synthtrace/src/scripts/run packages/elastic-apm-synthtrace/src/scripts/examples/01_simple_trace.ts --target=http://elastic:changeme@localhost:9200
|
||||
```
|
||||
|
||||
Documentation for [Synthtrace](https://github.com/elastic/kibana/blob/main/packages/elastic-apm-synthtrace/README.md)
|
||||
|
||||
## 2. Cloud-based ES Cluster (internal devs only)
|
||||
|
||||
Use the [oblt-cli](https://github.com/elastic/observability-test-environments/blob/master/tools/oblt_cli/README.md) to connect to a cloud-based ES cluster.
|
||||
|
||||
## B. Local ES Cluster
|
||||
## 3. Local ES Cluster
|
||||
|
||||
### Start Elasticsearch and APM data generators
|
||||
_Docker Compose is required_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue