mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[APM] Improving overflow buckets documentation (#162774)
This commit is contained in:
parent
41af3d6c4d
commit
d74d33f757
1 changed files with 12 additions and 2 deletions
|
@ -154,7 +154,11 @@ For more detailed instructions you can check [apm-server dev documentation](http
|
|||
|
||||
- Copy paste the below script in a file called `tx_max_group.go`
|
||||
This file is responsible for generating 3 transactions per service.
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>tx_max_group.go</summary>
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
|
@ -185,9 +189,14 @@ For more detailed instructions you can check [apm-server dev documentation](http
|
|||
span.End()
|
||||
}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
- Now create a Bash Script file, name it anything - e.g., `service_max_group.sh`
|
||||
This file will generate services and then transactions for each service using the go script above.
|
||||
|
||||
<details>
|
||||
<summary>tx_max_group.go</summary>
|
||||
|
||||
```sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
@ -203,6 +212,7 @@ For more detailed instructions you can check [apm-server dev documentation](http
|
|||
|
||||
echo "Ending script"
|
||||
```
|
||||
</details>
|
||||
|
||||
- Run `sh service_max_group` to generate the data
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue