Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
EricGhildyal committed Dec 2, 2024
1 parent 7603784 commit 6e6cca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guides/quickstart/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Start MultiTool Canary to upload your new lambda version and start monitoring tr
In order to see MultiTool Canary in action, we'll need to simulate some traffic to our API endpoint. We can do that autoamtically with a tool like [Bombardier](https://github.com/codesenberg/bombardier) or manually with an API Client like [Bruno](https://www.usebruno.com/) or [Postman](https://www.postman.com/)

```bash
$ canary deploy --aws-apig-name ${MY_APIGATEWAY_NAME} --aws-apig-stage ${MY_APIGATEWAY_STAGE} --aws-lambda ${MY_LAMBDA_NAME} --aws-resource-name ${MY_RESOURCE_NAME} --aws-resource-method ${MY_RESOURCE_METHOD} out.zip
$ canary deploy --aws-apig-name ${MY_APIGATEWAY_NAME} --aws-apig-stage ${MY_APIGATEWAY_STAGE} --aws-lambda ${MY_LAMBDA_NAME} --aws-resource-path ${MY_RESOURCE_NAME} --aws-resource-method ${MY_RESOURCE_METHOD} out.zip

$ watch -n 30 bombardier -c 5 -n 50 ${MY_URL} | grep "HTTP codes:" -A 1 | tail -n +2
```
2 changes: 1 addition & 1 deletion src/config/deploy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ pub struct DeploySubcommand {
pub aws_resource_path: String,
/// The HTTP method of the AWS API Gateway Resource
#[arg(long, env = "MULTI_AWS_RESOURCE_METHOD")]
pub aws_resource_method: String,
pub aws_resource_method: String, //TODO: make this an Enum since the values are fixed
}

0 comments on commit 6e6cca2

Please sign in to comment.