Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instrumentation o11y #11

Merged
merged 1 commit into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ stop_dev_env:
cd terraform/localdev && docker-compose down

begin_dev:
source dev.env && cd server && RUST_BACKTRACE=full cargo lambda watch
source dev.env && cd server && cargo lambda watch

prod_workspace:
@cd terraform/prod && terraform workspace select miniaturs
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,3 @@ Use `Makefile` targets.
* `make plan_prod` to see changes
* `make provision_prod` to apply changes
* `TO_SIGN="200x-100/https://beachape.com/images/octopress_with_container.png" make signature_for_prod` to get a signed path

## To explore

* [Logs, tracing](https://github.com/tokio-rs/tracing?tab=readme-ov-file#in-applications)
4 changes: 3 additions & 1 deletion dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ export AWS_ACCESS_KEY_ID="mockaccesskeyid"
export AWS_ENDPOINT_URL="http://localhost:4566"
export REQUIRE_PATH_STYLE_S3=true
export PROCESSED_IMAGES_BUCKET=$(cd terraform/localdev && tflocal output --raw unprocessed_image_bucket_name)
export UNPROCESSED_IMAGES_BUCKET=$(cd terraform/localdev && tflocal output --raw processed_image_bucket_name)
export UNPROCESSED_IMAGES_BUCKET=$(cd terraform/localdev && tflocal output --raw processed_image_bucket_name)
export RUST_LOG=debug
export RUST_BACKTRACE=full
Loading