Paul Butler
89033602e2
Fix docs.rs links ( #41 )
...
* fix docs.rs links in readme
* fix accidentally removed link
2021-10-10 13:24:06 +01:00
Brian Rogers
331ab70224
Change http.status_code to i32 ( #43 )
...
Fixes #42
2021-10-10 13:23:06 +01:00
Riley
e6c90a1729
Hold root span across polls in streamed body ( #40 )
...
* Hold root span across polls in streamed body
* Satisfy clippy
* Remove Unpin bound
* Add documentation about Compat middlware
* Don't use fully qualified MessageBody
* Satisfy clippy
2021-10-10 13:20:24 +01:00
LukeMathWalker
dd57aa7157
(cargo-release) version 0.4.0-beta.13
2021-09-21 10:34:30 +02:00
LukeMathWalker
a2f2d0d1d6
Merge branch 'main' of github.com:LukeMathWalker/tracing-actix-web into main
2021-09-21 10:34:17 +02:00
LukeMathWalker
5517c39118
Bump version in docs
2021-09-21 10:34:11 +02:00
Riley
e1b272ec4c
Tracing error workaround ( #38 )
...
* Allow root_span to wrap the full middlware chain, not just the output future
* Build error string outside of span.record
This is a workaround for https://github.com/tokio-rs/tracing/issues/1565
* Reference issue being worked-around as comment
2021-09-21 10:33:32 +02:00
Riley
f6ccc73151
Allow root_span to wrap the full middlware chain, not just the output future ( #37 )
2021-09-21 10:32:52 +02:00
Riley
42ede27123
Don't pull in unneeded dependency on futures ( #35 )
2021-09-14 09:12:20 +02:00
LukeMathWalker
85ca23f7d2
(cargo-release) version 0.4.0-beta.12
2021-09-10 11:18:41 +02:00
LukeMathWalker
0093e509af
Merge branch 'main' of github.com:LukeMathWalker/tracing-actix-web into main
2021-09-10 11:18:10 +02:00
LukeMathWalker
7b510a7f32
Prepare release
2021-09-10 11:18:00 +02:00
Ilmari Vacklin
92e5f46586
Update actix-web ( #34 )
...
* Update actix-web
* Update actix-web in example as well
2021-09-10 11:17:10 +02:00
LukeMathWalker
8b3d748690
(cargo-release) version 0.4.0-beta.11
2021-08-30 13:37:14 +02:00
Luca Palmieri
050bfe058d
Otel 16 ( #33 )
...
* Use matrix to test all versions.
* Add support for OTEL 0.16
* Typo.
* Fail on warnings.
* Inject headers when using OTEL 0.16.
* Fix.
2021-08-30 13:36:15 +02:00
LukeMathWalker
1f3ecfe182
(cargo-release) version 0.4.0-beta.10
2021-08-13 11:12:17 +01:00
LukeMathWalker
a10427b59c
Change version in documentation.
2021-08-13 11:11:58 +01:00
LukeMathWalker
530872a4c5
Fix command invocations.
2021-08-13 11:08:03 +01:00
LukeMathWalker
a83919a719
Fix linter errors.
2021-08-13 11:02:32 +01:00
LukeMathWalker
d7ffa0aac8
Run rustfmt on the whole project
2021-08-13 10:59:46 +01:00
LukeMathWalker
06ba655461
Add CI
2021-08-13 10:59:33 +01:00
LukeMathWalker
159ffcde94
Ensure compilation fails if multiple incompatible OTEL flags are specified.
2021-08-13 10:56:35 +01:00
Nick
431788e4d7
use import alias for otel versions ( #29 )
2021-08-13 10:48:23 +01:00
Thomas de Zeeuw
2bea16dd27
Implement Debug for RequestId ( #31 )
2021-08-13 09:57:21 +01:00
LukeMathWalker
be133d9cd5
(cargo-release) version 0.4.0-beta.9
2021-07-13 09:34:33 +01:00
LukeMathWalker
cd11f358cd
Do not enable opentelemetry by default until they release 1.0.
2021-07-13 09:33:59 +01:00
Kirill Mironov
3068b1213e
feat(otel): add support for opentelemetry @0.15 ( #26 )
...
* feat(otel): add support for opentelemetry @0.15
* add otel_15 to macro
* Add missing docs and readme entry for OTEL 0.15
2021-07-13 09:30:40 +01:00
Rob Ede
72aa916fe7
reduce imports ( #27 )
2021-07-13 07:19:41 +01:00
LukeMathWalker
fd2b13f040
(cargo-release) version 0.4.0-beta.8
2021-07-03 18:47:28 +02:00
LukeMathWalker
d5bb73125b
Enabled OTEL 0.14 by default.
2021-07-03 18:44:49 +02:00
Thales
0d7f7f6231
Update actix deps to beta.8 ( #25 )
2021-07-03 18:34:45 +02:00
Brian Rogers
2367e71ff4
Support updated OT 0.14 / tracing-OT 0.13 crate versions ( #23 )
...
* Support updated OT 0.14 / tracing-OT 0.12 crate versions
Add support for opentelemetry 0.14 and tracing-opentelemetry 0.13.
Make corresponding changes to the features, docs, and examples.
Due to the use of two different versions of the same packages, some
reorganization had to be done for the internal modules.
Addresses issue #22 .
* Re-export versioned set_otel_parent `fn`s for use in macro
2021-07-03 18:33:59 +02:00
LukeMathWalker
6a11157de7
(cargo-release) version 0.4.0-beta.7
2021-06-20 20:18:03 +02:00
LukeMathWalker
a3d4182ce0
Guess who made a bit of a mess releasing the new version... I did!
2021-06-20 20:17:45 +02:00
LukeMathWalker
475c3dbdaa
(cargo-release) version 0.4.0-beta.6
2021-06-20 20:14:43 +02:00
LukeMathWalker
4cab92aa05
Update Cargo.toml
2021-06-20 20:14:34 +02:00
LukeMathWalker
32529f6dd3
Update README with the right versions.
2021-06-20 20:13:58 +02:00
Luca Palmieri
0034e3bda8
Update to actix-web 4.0.0-beta.7. ( #24 )
...
Add two new error types implementing ResponseError, as required, for our extractors.
Add public docs for new errors.
Co-authored-by: LukeMathWalker <rust@lpalmieri.com>
2021-06-20 20:03:48 +02:00
Dmitriy
077bb85088
Update actix dependencies ( #20 )
2021-06-20 18:08:03 +01:00
Luca Palmieri
1f266e30d7
(cargo-release) version 0.4.0-beta.4
2021-04-28 22:19:41 +01:00
Luca Palmieri
737a718467
Properly extract errors coming from handlers.
2021-04-28 22:19:32 +01:00
Luca Palmieri
c2264e7d0d
(cargo-release) version 0.4.0-beta.3
2021-04-28 21:24:01 +01:00
Luca Palmieri
e110e6cf8d
Add error details.
2021-04-28 21:23:53 +01:00
Luca Palmieri
f6586edb85
(cargo-release) version 0.4.0-beta.2
2021-04-28 21:00:02 +01:00
Luca Palmieri
e5b3ffca7c
Downgrade actix-web to beta5
2021-04-28 20:59:41 +01:00
LukeMathWalker
034ef8d0c9
Fix docs.
2021-04-25 12:44:22 +01:00
LukeMathWalker
8c1eacdc19
(cargo-release) version 0.4.0-beta.1
2021-04-25 12:38:32 +01:00
LukeMathWalker
83aecf4a5d
Rollback
2021-04-25 12:38:22 +01:00
LukeMathWalker
c9f3c42ee6
(cargo-release) version 4.0.0-beta.1
2021-04-25 12:34:02 +01:00
Luca Palmieri
1e8949fa0d
Release 0.4.0 beta.1 ( #16 )
...
* Add examples links.
* Bump minor version.
* Add note on version.
* Update README.
* Add badges.
* Add license blurb.
2021-04-25 12:32:59 +01:00