Skip to content

Commit

Permalink
ci: macrobenchmark use a better endpoint for iast worst case scenario…
Browse files Browse the repository at this point in the history
…s [backport 2.10] (#9580)

Backport 3de23a1 from #9569 to 2.10.

## Checklist

- [x] Change(s) are motivated and described in the PR description
- [x] Testing strategy is described if automated tests are not included
in the PR
- [x] Risks are described (performance impact, potential for breakage,
maintainability)
- [x] Change is maintainable (easy to change, telemetry, documentation)
- [x] [Library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
are followed or label `changelog/no-changelog` is set
- [x] Documentation is included (in-code, generated user docs, [public
corp docs](https://github.com/DataDog/documentation/))
- [x] Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))
- [x] If this PR changes the public interface, I've notified
`@DataDog/apm-tees`.

## Reviewer Checklist

- [x] Title is accurate
- [x] All changes are related to the pull request's stated goal
- [x] Description motivates each change
- [x] Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- [x] Testing strategy adequately addresses listed risks
- [x] Change is maintainable (easy to change, telemetry, documentation)
- [x] Release note makes sense to a user of the library
- [x] Author has acknowledged and discussed the performance implications
of this PR as reported in the benchmarks PR comment
- [x] Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)

Co-authored-by: Federico Mon <federico.mon@datadoghq.com>
  • Loading branch information
github-actions[bot] and gnufede committed Jun 19, 2024
1 parent c903c54 commit 70b27a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab/macrobenchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ appsec-disabled-iast-worst-ep-disabled:
variables:
DD_BENCHMARKS_CONFIGURATION: only-tracing
BP_PYTHON_SCENARIO_DIR: flask-realworld
BP_ENDPOINT: http://0.0.0.0:8000/iast/propagation?string1=Hi&password=root1234
BP_ENDPOINT: http://0.0.0.0:8000/iast/articles?string1=Hi&password=root1234
DDTRACE_INSTALL_VERSION: "git+https://github.com/Datadog/dd-trace-py@${CI_COMMIT_SHA}"
DD_APPSEC_ENABLED: "false"
DD_IAST_ENABLED: "true"
Expand All @@ -163,7 +163,7 @@ appsec-enabled-iast-worst-ep-disabled:
extends: .macrobenchmarks
variables:
DD_BENCHMARKS_CONFIGURATION: only-tracing
BP_ENDPOINT: http://0.0.0.0:8000/iast/propagation?string1=Hi&password=root1234
BP_ENDPOINT: http://0.0.0.0:8000/iast/articles?string1=Hi&password=root1234
BP_PYTHON_SCENARIO_DIR: flask-realworld
DDTRACE_INSTALL_VERSION: "git+https://github.com/Datadog/dd-trace-py@${CI_COMMIT_SHA}"
DD_APPSEC_ENABLED: "true"
Expand Down Expand Up @@ -199,7 +199,7 @@ appsec-worst-iast-worst-ep-enabled:
extends: .macrobenchmarks
variables:
DD_BENCHMARKS_CONFIGURATION: only-tracing
BP_ENDPOINT: http://0.0.0.0:8000/iast/propagation?string1=Hi&password=select%20pg_sleep
BP_ENDPOINT: http://0.0.0.0:8000/iast/articles?string1=Hi&password=select%20pg_sleep
BP_PYTHON_SCENARIO_DIR: flask-realworld
DDTRACE_INSTALL_VERSION: "git+https://github.com/Datadog/dd-trace-py@${CI_COMMIT_SHA}"
DD_APPSEC_ENABLED: "true"
Expand Down

0 comments on commit 70b27a2

Please sign in to comment.