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

58 Commits

Author SHA1 Message Date
Luca Palmieri
0838f1758f
Update to latest actix-web + improve README clarity around identifiers (#58)
* Update documentation to clarify what identifier should be used for what.

* Update to latest actix-web beta.
2021-11-24 11:02:05 +00:00
LukeMathWalker
ecc4d95dfc (cargo-release) version 0.5.0-beta.2 2021-11-18 20:02:32 +00:00
LukeMathWalker
b5abadfd2b Fix version in toml 2021-11-18 20:02:23 +00:00
Guarabot
6cef211e3e
Update required actix-web beta & examples (#54)
* Update required actix-web beta & examples

* deps relax
2021-11-18 19:59:40 +00:00
LukeMathWalker
2e97074768 (cargo-release) start next development iteration 0.5.1-alpha.0 2021-10-27 09:52:24 +01:00
LukeMathWalker
b811e065cb Breaking release. 2021-10-27 09:51:36 +01:00
Riley
352c274c8d
Update tracing subscriber (#49)
* Update tracing subscriber

* Fix tests

* Update existing opentelemetry_0_16 feature with new subscriber

* Fix compile issue
2021-10-27 09:47:12 +01:00
LukeMathWalker
205c63aa4d (cargo-release) version 0.4.0-beta.16 2021-10-27 09:36:19 +01:00
LukeMathWalker
c08c3c3c9b (cargo-release) version 0.4.0-beta.15 2021-10-21 09:49:50 +01:00
LukeMathWalker
8d0ab6fcef Prepare release 2021-10-21 09:49:42 +01:00
Riley
032b7cd48f
Bump actix-web (#47) 2021-10-21 09:47:27 +01:00
LukeMathWalker
56022d577a (cargo-release) version 0.4.0-beta.14 2021-10-10 13:25:35 +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
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
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
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
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
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
c2264e7d0d (cargo-release) version 0.4.0-beta.3 2021-04-28 21:24:01 +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
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
Luca Palmieri
7da6ea91ac
Adopt OpenTelemetry's semantic convention (#15)
* Add http.route.

* Align all fields with OpenTelemetry's semantic conventions.

* Add span kind.

* Emit event for errors.
Add OTEL status code.

* Create otel.status_code field as empty.

* Fix errors.

* Add (feature-gated) support for OpenTelemetry span propagation.

* Capture the trace id as an attribute on the span.

* Change message.

* Log the newly-generated trace id if there is no parent context.

* Define a root_span macro as a stepping stone to allow crate users to add their own fields to the root span.

* Add comments.

* mut is no longer necessary.

* Allow users to customise generation of the root span. Split recording fields on span end from emission of log record. Make log record on error optional via feature flag.

* Provide constructor + default implementation.

* Explode into multiple modules.
Fix various paths/private imports in root_span.

* Rename module to root_span_macro.

* Add a new extractor to retrieve the root span.

* Document crate.

* Docs!

* Add section on OTEL.

* Mention actix-web-opentelemetry.

* Add OpenTelemetry example.

* Improve readme.

* Add custom root span example.

Co-authored-by: LukeMathWalker <contact@palmieri.com>
2021-04-25 12:19:27 +01:00
LukeMathWalker
1025372493 Update to latest actix-web 2021-04-21 08:57:34 +01:00
LukeMathWalker
902f7d75d3 (cargo-release) version 0.3.0-beta.3 2021-03-21 15:16:25 +00:00
LukeMathWalker
444ce4ab7c (cargo-release) version 0.3.0-beta.2 2021-03-21 15:15:20 +00:00
LukeMathWalker
05f73bd4c2 Update to latest actix-web beta 2021-03-21 15:14:49 +00:00
Luca Palmieri
466b8a65d2
Update to the latest actix-web beta. (#8)
Co-authored-by: LukeMathWalker <contact@palmieri.com>
2021-02-11 08:57:08 +00:00
LukeMathWalker
401faaf01d (cargo-release) version 0.3.0-beta.1 2021-01-24 15:46:23 +00:00
LukeMathWalker
8792975f3e Bump minor version for beta release based on newer actix-web beta release 2021-01-24 15:46:06 +00:00
P G Nithin Reddy
a66fecf020
Update actix_web to 4.0 (#7) 2021-01-24 15:42:33 +00:00