Skip to content

Commit

Permalink
[loadgenerator] fix recommendations url (#913)
Browse files Browse the repository at this point in the history
* fix recommendations url

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

* fix recommendations url

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

---------

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
  • Loading branch information
puckpuck authored Jun 2, 2023
1 parent bb5152c commit 708388d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ release.
([#904](https://github.com/open-telemetry/opentelemetry-demo/pull/904))
* [featureflagservice] Bump OTP version to 26.0
([#903](https://github.com/open-telemetry/opentelemetry-demo/pull/903))
* [loadgenerator] fix redirect on recommendations load
([#913](https://github.com/open-telemetry/opentelemetry-demo/pull/913))

## 1.4.0

Expand Down
2 changes: 1 addition & 1 deletion src/loadgenerator/locustfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_recommendations(self):
params = {
"productIds": [random.choice(products)],
}
self.client.get("/api/recommendations/", params=params)
self.client.get("/api/recommendations", params=params)

@task(3)
def get_ads(self):
Expand Down

0 comments on commit 708388d

Please sign in to comment.