mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com> Co-authored-by: Denis Badurina <denis@denelop.com>
27 lines
557 B
Markdown
27 lines
557 B
Markdown
# OTEL Trace Stress Test
|
|
|
|
The purpose of this script is to see how our infrastructure responds to high loads and cardinality.
|
|
|
|
The affected components are:
|
|
|
|
- otel trace collector
|
|
- clickhouse (cloud)
|
|
|
|
## Running the script
|
|
|
|
The following environment variabels are required
|
|
|
|
```
|
|
OTEL_ENDPOINT
|
|
HIVE_ORGANIZATION_ACCESS_TOKEN
|
|
HIVE_TARGET_REF
|
|
```
|
|
|
|
**Example:**
|
|
|
|
```sh
|
|
OTEL_ENDPOINT=https://api.hiveready.dev/otel/v1/traces \
|
|
HIVE_ORGANIZATION_ACCESS_TOKEN="<REPLACE ME>" \
|
|
HIVE_TARGET_REF="the-guild/hive/dev" \
|
|
k6 run load-tests/otel-traces/test.ts
|
|
```
|