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

26 Commits

Author SHA1 Message Date
Omid Rad
2bc3ab3ea8
Support otel 0.25 (#130) 2024-09-26 17:46:17 +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
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
Riley
20a85b2a08
Update to opentelemetry 0.19 (#105) 2023-05-24 08:56:29 +01:00
Harish Rajagopal
e888999e94
Fixed example for custom root span builder (#94) 2022-12-23 11:13:45 +01:00
Luca P
b6394ad9fd Update to actix-web v4 2022-02-25 23:01:16 +00:00
Riley
4881377c9e
Support actix-web rc.3 (#76) 2022-02-11 08:59:42 +00:00
Riley
b3f3792c2d
Add support for opentelemetry 0.17, actix-web rc.2 (#74)
* Add support for opentelemetry 0.17, actix-web rc.2

* Enable actix-web macros for tests

* Link to newest opentelemetry in readme

* Add opentelemetry_0_17 to workflows
2022-02-04 09:18:54 +00:00
Riley
ed35dc6996
Actix Web rc.1 (#73) 2022-02-01 09:30:09 +00:00
Riley
d0f10192cc
update actix web to beta 21 (#71)
* Bump actix web

* Bump crate version

* Update version numbers in readme, lib.rs
2022-01-23 22:14:20 +00:00
Santiago
56aa211dd9
fix: update actix-web to beta.20 (#69) 2022-01-18 09:54:08 +00:00
LukeMathWalker
06f07f30ca Update actix-web, prepare new release 2022-01-05 18:05:28 +00:00
Rob Ede
7c2f67fc90
Updated actix-web dependency to 4.0.0-beta.18 (#66) 2021-12-30 09:22:36 +01:00
Riley
062b9c4b18
Update actix web (#64) 2021-12-28 10:56:42 +01:00
ondra05
f0882677fe
Updated actix-web dependency to 4.0.0-beta.15 (#63) 2021-12-18 13:11:52 +00:00
Riley
14147286ba
Update to actix-web beta.14 (#61)
* Update to actix-web beta.14

* Fix HeaderMap import
2021-12-13 15:45:34 +00:00
DW
d726662f80
Update to latest actix-web (#59) 2021-12-01 09:48:51 +00:00
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
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
Riley
032b7cd48f
Bump actix-web (#47) 2021-10-21 09:47:27 +01:00
Thales
0d7f7f6231
Update actix deps to beta.8 (#25) 2021-07-03 18:34:45 +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
e5b3ffca7c Downgrade actix-web to beta5 2021-04-28 20:59:41 +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