outtherelabs/actix-web-opentelemetry

Actix Web OpenTelemetry

OpenTelemetry integration for actix-web uses

Actix Web OpenTelemetry

OpenTelemetry integration for Actix Web.

Exporter configuration

actix-web uses tokio as the underlying executor, so exporters should be configured to be non-blocking:

Execute client and server example

Features

  • metrics -- enable support for opentelemetry metrics (only traces are enabled by default)
  • sync-middleware -- enable tracing on actix-web middlewares that do synchronous work before returning a future. Adds a small amount of overhead to every request.
Versions

Find the latest versions by id

v0.11.0-beta.5 - Sep 07, 2021

Changed

  • Update to opentelemetry v0.16.x #77

v0.11.0-beta.4 - Jul 10, 2021

Changed

  • Update to opentelemetry v0.15.x and actix-web 4.0.0-beta.8 #76

v0.11.0-beta.3 - Mar 24, 2021

Changed

  • Update to opentelemetry v0.13.x #64

v0.11.0-beta.2 - Mar 13, 2021

Changed

  • Update to actix-web 4.0.0-beta.4 and awc 3.0.0-beta.3 (#57)

v0.11.0-beta.1 - Feb 20, 2021

Changed

  • Update to tokio 1.0 and actix-web 4.0.0-beta.3 (#51)

v0.10.0 - Jan 25, 2021

Changed

Note: optentelemetry v0.12.x uses tokio 1.0. See the updated examples for compatible setup until actix-web supports tokio 1.0.

  • Update to OpenTelemetry v0.12.x #48

v0.9.0 - Jan 25, 2021

Changed

  • Update to OpenTelemetry v0.11.x #41

v0.8.0 - Nov 15, 2020

Be sure to set a trace propagator via global::set_text_map_propagator as the default is now a no-op.

Changed

  • Update to OpenTelemetry v0.10.x #38

v0.7.0 - Oct 19, 2020

Changed

  • Remove default features from actix-web #30
  • Update to OpenTelemetry v0.9.x #30
  • Move metrics behind a feature flag #30
  • Change default route name from unmatched to default #30

Removed

  • Remove deprecated with_tracing function. #30

v0.6.0 - Sep 21, 2020

Changed

  • Upgrade actix-web to version 3 #24
  • RequestMetrics constructor longer accept a route_formatter. Can be added via with_route_formatter #24

Removed

  • Remove obsolute UuidWildcardFormatter as actix 3 supports match patterns #24

Fixed

  • Client will now properly inject context using the globally configured propagator. #21

v0.5.0 - Aug 14, 2020

Added

  • Trace actix client requests with ClientExt::trace_request or ClientExt::trace_request_with_context. #17

Changed

  • Update to OpenTelemetry v0.8.0 #18
  • Deprecated with_tracing fn. Use ClientExt instead. #17

v0.4.0 - Aug 04, 2020

Changed

  • Update to OpenTelemetry v0.7.0 #11

v0.3.0 - Jun 25, 2020

v0.2.0 - Feb 11, 2020

Update to OpenTelemetry v0.2.0

v0.1.2 - Dec 02, 2019

Pull requests merged:

#3 Make client span name match otel spec

v0.1.1 - Nov 26, 2019

Pull requests merged: #1 Add option for route formatter #2 Add metrics middleware

v0.1.0 - Nov 20, 2019

Information - Updated Nov 12, 2021

Stars: 41
Forks: 13
Issues: 2
Actix

14.1K

Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust

Rust's premier framework for working with HTTP/1.x HTTP/2 requests. Includes core features like websockets, keep-alives and slow requests handling

Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust

actix-web-async-graphql-rbatis

Clean boilerplate for graphql services using actix-web, rhai, async-graphql, surf, rbatis, graphql-client, handlebars-rust, jsonwebtoken, and mysql / postgresql

actix-web-async-graphql-rbatis

actix-web-async-graphql-rbatis

Clean boilerplate for graphql services using actix-web, rhai, async-graphql, surf, rbatis, graphql-client, handlebars-rust, jsonwebtoken, and mysql / postgresql

actix-web-async-graphql-rbatis

actix-web-grants

To check user access to specific services, you can use built-in proc-macro, PermissionGuard or manual

actix-web-grants

actix-web-middleware-keycloak-auth

Actix Web that handles authentication with a JWT emitted by paperclip using the paperclip_compat feature

actix-web-middleware-keycloak-auth

actix-web-validator

This crate is a Rust library for providing validation mechanism to actix-web with Validator crate

actix-web-validator

actix-web-flash-messages

Flash messages for actix-web

actix-web-flash-messages

Actix-web REST API with JWT

env and update the database connection string in DATABASE_URL key

Actix-web REST API with JWT

actix-web static files as resources support

Use-case #1: Static resources folder

actix-web static files as resources support

actix-web( )

juniper-from-schema( )

actix-web( )
Facebook Instagram Twitter GitHub Dribbble
Privacy