Skip to content

Commit

Permalink
fix: loadgen references (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericywl authored Feb 20, 2025
1 parent 73ada0d commit 8e62e22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ WORKDIR /opt/apm-perf

# Copy files for apmsoak
COPY --from=builder /opt/apm-perf/dist/apmsoak /usr/bin/apmsoak
COPY ./internal/loadgen/events ./events
COPY ./loadgen/events ./events
COPY ./cmd/apmsoak/scenarios.yml /opt/apm-perf/scenarios.yml

# Copy files for apmbench
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ All the flags are optional, but it's expected to provide a scenario flag to star
./apmsoak run --scenario=steady
```

The configs in `scenarios.yml` file inherits [loadgen](./internal/loadgen/config/config.go) configs, with extra fields such as project_id and api_key that can be used for the managed APM service.
The configs in `scenarios.yml` file inherits [loadgen](./loadgen/config/config.go) configs, with extra fields such as project_id and api_key that can be used for the managed APM service.

Note that the managed service will use API key based auth and one soaktest can target multiple projects, so we provide key-value pairs(projectID and api key respectively). the api key can also be provided as an [ENV variable](https://github.com/elastic/apm-perf/blob/main/cmd/apmsoak/run.go#L20).

Expand Down

0 comments on commit 8e62e22

Please sign in to comment.