1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-02-23 02:43:16 +01:00

168 Commits

Author SHA1 Message Date
Luca Palmieri
3cc8dbc7db chore: Release 2024-09-26 17:47:28 +02:00
Omid Rad
2bc3ab3ea8
Support otel 0.25 (#130) 2024-09-26 17:46:17 +02:00
Luca Palmieri
8b56df5d69 chore: Release 2024-09-02 12:51:24 +02:00
OlivierManns
2b1ef85cac
fix: follow latest OTEL semantic conventions for the span name (#129)
see: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/http-spans.md#name
2024-09-02 11:24:23 +02:00
Luca Palmieri
e81e3c4b4c Fix clippy lints 2024-09-02 11:22:06 +02:00
Luca Palmieri
f9c81facb2 Remove once_cell dependency 2024-09-02 11:21:47 +02:00
Omid Rad
9f180d6eb9
Support otel 0.24 (#127)
* Support otel 0.24

* fix the otel example

* Fix examples and last bits

* Update examples/custom-root-span/src/main.rs

* Update examples/opentelemetry/src/main.rs

---------

Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
2024-09-02 11:17:49 +02:00
Luca Palmieri
516e90cea7 chore: Release 2024-06-05 09:18:51 +02:00
Omid Rad
d3b81c453a
Support otel 0.23 (#124) 2024-06-05 09:17:48 +02:00
Luca Palmieri
e097e5644b chore: Release 2024-03-10 18:00:59 +01:00
Luca Palmieri
6f3baa836d Require uuid 1.6 2024-03-10 18:00:25 +01:00
Sanchith Hegde
89363c538d
Remove --cfg uuid_unstable requirement for uuid_v7 feature (#123) 2024-03-10 17:59:48 +01:00
Omid Rad
c173c386de
Support otel 0.22 (#122)
* Support otel 0.22

* Update Cargo.toml

* Fix examples

* revert needed spaces at EOLs
2024-03-10 17:57:16 +01:00
Luca Palmieri
58f8c58708 (cargo-release) version 0.7.9 2023-11-10 15:16:52 +01:00
Jan Srzednicki
fe9d543dfb
Add support for OpenTelemetry 0.21 (#118)
* `#[cfg(any)] awesomely accepts trailing commas

* use const assert instead of feature matrix

* Update Cargo.toml

* add Opentelemetry 0.21 support

* use the `mutually_exclusive_features` crate macro

* update README.md
2023-11-10 15:16:31 +01:00
Luca Palmieri
1fb02d406b (cargo-release) version 0.7.8 2023-10-20 09:02:02 +02:00
Nishant Joshi
410852f9b0
add support for UUID v7 in RequestId (#116)
* feat(request_id): add support for UUID v7 in `RequestId`

feature flag `uuid_v7` is introduced which inturn enables `v7` feature flag in the `uuid` dependency
Support documentation is added in `README.md`, `src/lib.rs` and `src/request_id.rs`

This feature only works if this crate or any crate dependent on this crate has enabled the compile time configuration flag provided to the rust compiler. `RUSTFLAGS="--cfg uuid_unstable"`.

* chore: add github action to test UUID v7 feature flag

* chore: add the uuid_unstable cfg in the request id impl

* chore: add compiler_error for undesired state in configuration flags

* chore: move the compiler error in request_id module

* chore: fix formatting

* fix(action): fix github action for uuid_v7 with RUSTDOCFLAGS
2023-10-20 09:01:11 +02:00
LukeMathWalker
1a856f8318 chore: Release 2023-09-29 07:40:11 +02:00
Riley
b44e8a5833
Update tracing-opentelemetry (#114) 2023-09-28 23:45:58 +02:00
Riley
7933926b0b
Add opentelemetry 0.20 (#111)
* Add opentelemetry 0.20

* Update github workflow

* clippy nit
2023-08-05 17:59:20 +08:00
f8b7ca2a5a
Add request-id header example (#108)
* Add request-id header example

* Apply cargo fmt
2023-06-16 17:06:53 +02:00
Riley
20a85b2a08
Update to opentelemetry 0.19 (#105) 2023-05-24 08:56:29 +01:00
Luca Palmieri
3729bec62a (cargo-release) version 0.7.4 2023-04-13 08:47:44 +01:00
Luca Palmieri
33741a9a7f
Update lib.rs 2023-04-13 08:47:08 +01:00
Luca Palmieri
a5300fff36
Update README.md 2023-04-13 08:46:37 +01:00
Luca Palmieri
4527065248 (cargo-release) version 0.7.3 2023-03-19 11:22:27 +00:00
John Vandenberg
0fdbd40595
Expose StreamSpan (#99) 2023-03-19 11:21:45 +00:00
Joel
610465c5c8
fix minor typo in README.md (three -> these) (#100)
I'm not sure if this is correct but is what it is intended to say but I believe you've listed more than 3 feature flags. I'm still a bit of a rust noob so maybe there's another way to count these and there actually are three.
2023-03-07 15:08:55 +00:00
Luca Palmieri
b3d8d43c60 (cargo-release) version 0.7.2 2023-01-06 09:38:18 +01:00
Luca Palmieri
b07f68c328 Require tracing 0.1.36 or above to prevent a compilation error 2023-01-06 09:37:55 +01:00
Luca Palmieri
ed1e608e4b (cargo-release) version 0.7.1 2022-12-23 12:03:35 +01:00
Harish Rajagopal
4007669c7a
Fixed version number in lib.rs (#96) 2022-12-23 12:02:21 +01:00
Luca Palmieri
125b40f909
Fix version 2022-12-23 11:29:12 +01:00
Harish Rajagopal
3692cba538
Fixed custom root span builder code in README (#95) 2022-12-23 11:28:46 +01:00
Harish Rajagopal
e888999e94
Fixed example for custom root span builder (#94) 2022-12-23 11:13:45 +01:00
Luca Palmieri
302aef6285 (cargo-release) version 0.7.0 2022-12-19 10:56:35 +01:00
Luca Palmieri
d23e48b4ee Clippy lints 2022-12-19 10:56:18 +01:00
Harish Rajagopal
8e5b09b379
Bound type-param of RootSpanBuilder::on_request_end (#93) 2022-12-19 10:54:32 +01:00
Luca Palmieri
c95a781204 (cargo-release) version 0.6.2 2022-10-29 15:09:55 +02:00
Luca Palmieri
0eb13e9794
Allow level customisation (#91)
* Add the possibility to specify the span level for the root span.

* Improve docs.
2022-10-29 15:09:20 +02:00
Luca Palmieri
601210678f (cargo-release) version 0.6.1 2022-09-20 10:40:48 +02:00
Luca Palmieri
01c054148a
Update lib.rs 2022-09-20 10:37:57 +02:00
Luca Palmieri
598a4a71e9
Update README.md 2022-09-20 10:37:29 +02:00
Riley
2ffc110e2f
Support opentelemetry 0.18 (#89)
* Support opentelemetry 0.18

* Update github workflow
2022-09-20 10:36:55 +02:00
Luca Palmieri
973d9b0389 (cargo-release) version 0.6.0 2022-06-28 20:35:33 +01:00
Luca Palmieri
0726f5b49a Update version in READMEs 2022-06-28 20:34:40 +01:00
Kai Ren
3031e03408
Update uuid to v1 (#82) 2022-06-28 20:33:30 +01:00
Luca Palmieri
12321ed855 (cargo-release) version 0.5.1 2022-02-28 17:21:39 +00:00
Florian Thelliez
8762fea124
Add the otel.name field to the root span with the HTTP {method} {path} format (#78) 2022-02-28 17:20:16 +00:00
Luca P
d2e50af5a4 Fix actix-web dev dependency' 2022-02-25 23:02:37 +00:00