Skip to content

Commit

Permalink
chore: update README, and revert docker compose setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
mythrnr committed Oct 18, 2023
1 parent c52bbee commit c3568b8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 30 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,22 @@ async fn main() {
}
```

## Support `tokio-rs/tracing`

`raiden` supports making span for Tracing ( span name is `dynamodb::action` with table name and api name in field ).
To activate this feature, you need to specify `tracing` feature in your `Cargo.toml`. And your crate needs `tracing` .

```toml
# Example
[dependencies]
raiden = {
tag = "0.0.76",
git = "https://github.com/raiden-rs/raiden-dynamo.git",
features = [ "tracing"]
}
tracing = "0.1"
```

## Development

### Requirements
Expand Down
28 changes: 0 additions & 28 deletions compose.yaml

This file was deleted.

5 changes: 3 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.PHONY: dynamo
dynamo:
- docker compose down --volumes
- docker compose up -d --wait
- docker rm -f dynamodb
- docker stop dynamodb
docker run --rm -d --name dynamodb -p 8000:8000 amazon/dynamodb-local:latest
deno run --allow-net=localhost:8000 --allow-env --no-check ./setup/setup.ts

.PHONY: test
Expand Down

0 comments on commit c3568b8

Please sign in to comment.