diff --git a/Cargo.lock b/Cargo.lock index a43bef3..49393c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -264,9 +264,9 @@ dependencies = [ [[package]] name = "amq-protocol" -version = "7.2.0" +version = "7.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051d4d77904272e9be7e292607378dc9900d15b8d314bfd3ed4b82fdd84f125" +checksum = "0f0234884b3641db74d22ccc20fc2594db5f23d7d41ade5c93d7ee33d200960c" dependencies = [ "amq-protocol-tcp", "amq-protocol-types", @@ -278,9 +278,9 @@ dependencies = [ [[package]] name = "amq-protocol-tcp" -version = "7.2.0" +version = "7.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e3d51dd36e67d757c9ba80a7b2a2a2a69254c1dbe4d8c631824ec7f5b69f60e" +checksum = "265dca43d9dbb3d5bbb0b3ef1b0cd9044ce3aa5d697d5b66cde974d1f6063f09" dependencies = [ "amq-protocol-uri", "tcp-stream", @@ -289,9 +289,9 @@ dependencies = [ [[package]] name = "amq-protocol-types" -version = "7.2.0" +version = "7.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0acdd47054ced8b9bc89ee0dbb42ccc8028de48d8658b24de4c255a226c9bfec" +checksum = "c7412353b58923fa012feb9a64ccc0c811747babee2e5a2fd63eb102dc8054c3" dependencies = [ "cookie-factory", "nom", @@ -301,9 +301,9 @@ dependencies = [ [[package]] name = "amq-protocol-uri" -version = "7.2.0" +version = "7.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f17881b7575dab3e71403f28a3e50b71f0d1bd026829abca3c48664522ce0df0" +checksum = "2be91352c805d5704784e079117d5291fd5bf2569add53c914ebce6d1a795d33" dependencies = [ "amq-protocol-types", "percent-encoding", @@ -548,9 +548,9 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.80" +version = "0.1.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" +checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" dependencies = [ "proc-macro2", "quote", @@ -573,7 +573,7 @@ dependencies = [ "jsonwebtoken", "moka", "openssl", - "opentelemetry", + "opentelemetry 0.24.0", "reqwest", "serde", "serde_json", @@ -590,9 +590,9 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "aws-config" -version = "1.5.3" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2368fb843e9eec932f7789d64d0e05850f4a79067188c657e572f1f5a7589df0" +checksum = "caf6cfe2881cb1fcbba9ae946fb9a6480d3b7a714ca84c74925014a89ef3387a" dependencies = [ "aws-credential-types", "aws-runtime", @@ -660,9 +660,9 @@ dependencies = [ [[package]] name = "aws-runtime" -version = "1.3.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a4a5e448145999d7de17bf44a886900ecb834953408dae8aaf90465ce91c1dd" +checksum = "87c5f920ffd1e0526ec9e70e50bf444db50b204395a0fa7016bbf9e31ea1698f" dependencies = [ "aws-credential-types", "aws-sigv4", @@ -678,14 +678,14 @@ dependencies = [ "percent-encoding", "pin-project-lite", "tracing", - "uuid 1.8.0", + "uuid 1.10.0", ] [[package]] name = "aws-sdk-secretsmanager" -version = "1.37.0" +version = "1.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93a081cd200c6bfe2245c75f0d6707c8773a0fac81fc028f6f9ab2f2d749142f" +checksum = "05f75dcfba7109d60080fcc7cae4276ba653efecea6f2909fdb97a4a36c568d5" dependencies = [ "aws-credential-types", "aws-runtime", @@ -706,9 +706,9 @@ dependencies = [ [[package]] name = "aws-sdk-sso" -version = "1.33.0" +version = "1.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8aee358b755b2738b3ffb8a5b54ee991b28c8a07483a0ff7d49a58305cc2609" +checksum = "fc3ef4ee9cdd19ec6e8b10d963b79637844bbf41c31177b77a188eaa941e69f7" dependencies = [ "aws-credential-types", "aws-runtime", @@ -728,9 +728,9 @@ dependencies = [ [[package]] name = "aws-sdk-ssooidc" -version = "1.34.0" +version = "1.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d5ce026f0ae73e06b20be5932150dd0e9b063417fd7c3acf5ca97018b9cbd64" +checksum = "527f3da450ea1f09f95155dba6153bd0d83fe0923344a12e1944dfa5d0b32064" dependencies = [ "aws-credential-types", "aws-runtime", @@ -750,9 +750,9 @@ dependencies = [ [[package]] name = "aws-sdk-sts" -version = "1.33.0" +version = "1.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c820248cb02e4ea83630ad2e43d0721cdbccedba5ac902cd0b6fb84d7271f205" +checksum = "94316606a4aa2cb7a302388411b8776b3fbd254e8506e2dc43918286d8212e9b" dependencies = [ "aws-credential-types", "aws-runtime", @@ -773,9 +773,9 @@ dependencies = [ [[package]] name = "aws-sigv4" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31eed8d45759b2c5fe7fd304dd70739060e9e0de509209036eabea14d0720cce" +checksum = "5df1b0fa6be58efe9d4ccc257df0a53b89cd8909e86591a13ca54817c87517be" dependencies = [ "aws-credential-types", "aws-smithy-http", @@ -807,9 +807,9 @@ dependencies = [ [[package]] name = "aws-smithy-http" -version = "0.60.8" +version = "0.60.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a7de001a1b9a25601016d8057ea16e31a45fdca3751304c8edf4ad72e706c08" +checksum = "d9cd0ae3d97daa0a2bf377a4d8e8e1362cae590c4a1aad0d40058ebca18eb91e" dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", @@ -846,9 +846,9 @@ dependencies = [ [[package]] name = "aws-smithy-runtime" -version = "1.6.0" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db83b08939838d18e33b5dbaf1a0f048f28c10bd28071ab7ce6f245451855414" +checksum = "ce87155eba55e11768b8c1afa607f3e864ae82f03caf63258b37455b0ad02537" dependencies = [ "aws-smithy-async", "aws-smithy-http", @@ -873,9 +873,9 @@ dependencies = [ [[package]] name = "aws-smithy-runtime-api" -version = "1.7.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b570ea39eb95bd32543f6e4032bce172cb6209b9bc8c83c770d08169e875afc" +checksum = "30819352ed0a04ecf6a2f3477e344d2d1ba33d43e0f09ad9047c12e0d923616f" dependencies = [ "aws-smithy-async", "aws-smithy-types", @@ -925,9 +925,9 @@ dependencies = [ [[package]] name = "aws-types" -version = "1.3.2" +version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2009a9733865d0ebf428a314440bbe357cc10d0c16d86a8e15d32e9b47c1e80e" +checksum = "5221b91b3e441e6675310829fd8984801b772cb1546ef6c0e54dec9f1ac13fef" dependencies = [ "aws-credential-types", "aws-smithy-async", @@ -939,18 +939,17 @@ dependencies = [ [[package]] name = "axum" -version = "0.6.20" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" +checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" dependencies = [ "async-trait", "axum-core", - "bitflags 1.3.2", "bytes", "futures-util", - "http 0.2.12", - "http-body 0.4.6", - "hyper 0.14.29", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", "itoa", "matchit", "memchr", @@ -959,7 +958,7 @@ dependencies = [ "pin-project-lite", "rustversion", "serde", - "sync_wrapper", + "sync_wrapper 1.0.1", "tower", "tower-layer", "tower-service", @@ -967,17 +966,20 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.3.4" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" +checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" dependencies = [ "async-trait", "bytes", "futures-util", - "http 0.2.12", - "http-body 0.4.6", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", "mime", + "pin-project-lite", "rustversion", + "sync_wrapper 0.1.2", "tower-layer", "tower-service", ] @@ -1126,9 +1128,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.6.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" +checksum = "a12916984aab3fa6e39d655a33e09c0071eb36d6ab3aea5c2d78551f1df6d952" dependencies = [ "serde", ] @@ -1992,7 +1994,7 @@ dependencies = [ "configs", "health-readiness", "http-components", - "opentelemetry", + "opentelemetry 0.24.0", "prometheus", "thiserror", "tracing", @@ -2109,7 +2111,7 @@ dependencies = [ "futures", "futures-util", "health-readiness", - "opentelemetry", + "opentelemetry 0.24.0", "opentelemetry-prometheus", "opentelemetry-semantic-conventions", "otel", @@ -2130,7 +2132,7 @@ dependencies = [ "configs", "health-readiness", "http-components", - "opentelemetry", + "opentelemetry 0.24.0", "serde", "serde_json", "thiserror", @@ -2188,6 +2190,7 @@ dependencies = [ "http 1.1.0", "http-body 1.0.0", "httparse", + "httpdate", "itoa", "pin-project-lite", "smallvec", @@ -2230,14 +2233,15 @@ dependencies = [ [[package]] name = "hyper-timeout" -version = "0.4.1" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" +checksum = "3203a961e5c83b6f5498933e78b6b263e208c197b63e9c6c53cc82ffd3f63793" dependencies = [ - "hyper 0.14.29", + "hyper 1.3.1", + "hyper-util", "pin-project-lite", "tokio", - "tokio-io-timeout", + "tower-service", ] [[package]] @@ -2427,7 +2431,7 @@ dependencies = [ "async-trait", "configs", "messaging", - "opentelemetry", + "opentelemetry 0.24.0", "rdkafka", "tokio", "tracing", @@ -2441,9 +2445,9 @@ checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388" [[package]] name = "lapin" -version = "2.3.4" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fae02c316a8a5922ce7518afa6b6c00e9a099f8e59587567e3331efdd11b8ceb" +checksum = "09373d2aa72b8026c24606543d395ba0b688152beb42537d8c10eca92e8c9925" dependencies = [ "amq-protocol", "async-global-executor-trait", @@ -2596,7 +2600,7 @@ version = "0.1.0" dependencies = [ "async-trait", "mockall", - "opentelemetry", + "opentelemetry 0.24.0", "thiserror", ] @@ -2605,11 +2609,11 @@ name = "metrics" version = "0.1.0" dependencies = [ "configs", - "opentelemetry", + "opentelemetry 0.24.0", "opentelemetry-otlp", "opentelemetry-prometheus", "opentelemetry-stdout", - "opentelemetry_sdk", + "opentelemetry_sdk 0.24.1", "prometheus", "thiserror", "tokio", @@ -2727,7 +2731,7 @@ dependencies = [ "tagptr", "thiserror", "triomphe", - "uuid 1.8.0", + "uuid 1.10.0", ] [[package]] @@ -2740,7 +2744,7 @@ dependencies = [ "futures-util", "messaging", "mockall", - "opentelemetry", + "opentelemetry 0.24.0", "paho-mqtt", "serde", "serde_json", @@ -2955,18 +2959,32 @@ dependencies = [ "thiserror", ] +[[package]] +name = "opentelemetry" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c365a63eec4f55b7efeceb724f1336f26a9cf3427b70e59e2cd2a5b947fba96" +dependencies = [ + "futures-core", + "futures-sink", + "js-sys", + "once_cell", + "pin-project-lite", + "thiserror", +] + [[package]] name = "opentelemetry-otlp" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a94c69209c05319cdf7460c6d4c055ed102be242a0a6245835d7bc42c6ec7f54" +checksum = "6b925a602ffb916fb7421276b86756027b37ee708f9dce2dbdcc51739f07e727" dependencies = [ "async-trait", "futures-core", - "http 0.2.12", - "opentelemetry", + "http 1.1.0", + "opentelemetry 0.24.0", "opentelemetry-proto", - "opentelemetry_sdk", + "opentelemetry_sdk 0.24.1", "prost", "thiserror", "tokio", @@ -2980,41 +2998,41 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e1a24eafe47b693cb938f8505f240dc26c71db60df9aca376b4f857e9653ec7" dependencies = [ "once_cell", - "opentelemetry", - "opentelemetry_sdk", + "opentelemetry 0.23.0", + "opentelemetry_sdk 0.23.0", "prometheus", "protobuf", ] [[package]] name = "opentelemetry-proto" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "984806e6cf27f2b49282e2a05e288f30594f3dbc74eb7a6e99422bc48ed78162" +checksum = "30ee9f20bff9c984511a02f082dc8ede839e4a9bf15cc2487c8d6fea5ad850d9" dependencies = [ - "opentelemetry", - "opentelemetry_sdk", + "opentelemetry 0.24.0", + "opentelemetry_sdk 0.24.1", "prost", "tonic", ] [[package]] name = "opentelemetry-semantic-conventions" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1869fb4bb9b35c5ba8a1e40c9b128a7b4c010d07091e864a29da19e4fe2ca4d7" +checksum = "1cefe0543875379e47eb5f1e68ff83f45cc41366a92dfd0d073d513bf68e9a05" [[package]] name = "opentelemetry-stdout" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6d080bf06af02b738feb2e6830cf72c30b76ca18b40f555cdf1b53e7b491bfe" +checksum = "d408d4345b8be6129a77c46c3bfc75f0d3476f3091909c7dd99c1f3d78582287" dependencies = [ "async-trait", "chrono", "futures-util", - "opentelemetry", - "opentelemetry_sdk", + "opentelemetry 0.24.0", + "opentelemetry_sdk 0.24.1", "ordered-float", "serde", "serde_json", @@ -3034,8 +3052,24 @@ dependencies = [ "glob", "lazy_static", "once_cell", - "opentelemetry", + "opentelemetry 0.23.0", "ordered-float", + "thiserror", +] + +[[package]] +name = "opentelemetry_sdk" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692eac490ec80f24a17828d49b40b60f5aeaccdfe6a503f939713afd22bc28df" +dependencies = [ + "async-trait", + "futures-channel", + "futures-executor", + "futures-util", + "glob", + "once_cell", + "opentelemetry 0.24.0", "percent-encoding", "rand", "serde_json", @@ -3057,7 +3091,7 @@ dependencies = [ name = "otel" version = "0.1.0" dependencies = [ - "opentelemetry", + "opentelemetry 0.24.0", ] [[package]] @@ -3478,9 +3512,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.6" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +checksum = "e13db3d3fde688c61e2446b4d843bc27a7e8af269a69440c0308021dc92333cc" dependencies = [ "bytes", "prost-derive", @@ -3488,9 +3522,9 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.6" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +checksum = "18bec9b0adc4eba778b33684b7ba3e7137789434769ee3ce3930463ef904cfca" dependencies = [ "anyhow", "itertools", @@ -3539,14 +3573,14 @@ dependencies = [ "lapin", "messaging", "mockall", - "opentelemetry", + "opentelemetry 0.24.0", "serde", "serde_json", "thiserror", "tokio", "traces", "tracing", - "uuid 1.8.0", + "uuid 1.10.0", ] [[package]] @@ -3725,7 +3759,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 0.1.2", "system-configuration", "tokio", "tokio-native-tls", @@ -3894,6 +3928,7 @@ dependencies = [ "aws-lc-rs", "log", "once_cell", + "ring", "rustls-pki-types", "rustls-webpki 0.102.4", "subtle", @@ -4096,18 +4131,18 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.203" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" +checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.203" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" +checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" dependencies = [ "proc-macro2", "quote", @@ -4116,9 +4151,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" dependencies = [ "itoa", "ryu", @@ -4318,6 +4353,12 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +[[package]] +name = "sync_wrapper" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" + [[package]] name = "synstructure" version = "0.13.1" @@ -4388,18 +4429,18 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.61" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.61" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", @@ -4464,9 +4505,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.38.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +checksum = "eb2caba9f80616f438e09748d5acda951967e1ea58508ef53d9c6402485a46df" dependencies = [ "backtrace", "bytes", @@ -4481,16 +4522,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "tokio-io-timeout" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" -dependencies = [ - "pin-project-lite", - "tokio", -] - [[package]] name = "tokio-macros" version = "2.3.0" @@ -4559,6 +4590,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" +dependencies = [ + "rustls 0.23.9", + "rustls-pki-types", + "tokio", +] + [[package]] name = "tokio-stream" version = "0.1.15" @@ -4613,29 +4655,31 @@ dependencies = [ [[package]] name = "tonic" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76c4eb7a4e9ef9d4763600161f12f5070b92a578e1b634db88a6887844c91a13" +checksum = "38659f4a91aba8598d27821589f5db7dddd94601e7a01b1e485a50e5484c7401" dependencies = [ "async-stream", "async-trait", "axum", - "base64 0.21.7", + "base64 0.22.1", "bytes", "flate2", - "h2 0.3.26", - "http 0.2.12", - "http-body 0.4.6", - "hyper 0.14.29", + "h2 0.4.5", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "hyper 1.3.1", "hyper-timeout", + "hyper-util", "percent-encoding", "pin-project", "prost", "rustls-native-certs 0.7.0", "rustls-pemfile 2.1.2", - "rustls-pki-types", + "socket2 0.5.7", "tokio", - "tokio-rustls 0.25.0", + "tokio-rustls 0.26.0", "tokio-stream", "tower", "tower-layer", @@ -4680,10 +4724,10 @@ name = "traces" version = "0.1.0" dependencies = [ "configs", - "opentelemetry", + "opentelemetry 0.24.0", "opentelemetry-otlp", "opentelemetry-stdout", - "opentelemetry_sdk", + "opentelemetry_sdk 0.24.1", "serde", "thiserror", "tokio", @@ -4906,9 +4950,9 @@ checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" [[package]] name = "uuid" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" +checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" dependencies = [ "getrandom", ] diff --git a/Cargo.toml b/Cargo.toml index a527412..43f1563 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,12 +28,12 @@ members = [ ] [workspace.dependencies] -thiserror = { version = "1.0.61" } -serde = { version = "1.0.203" } -serde_json = { version = "1.0.117" } -tokio = { version = "1.38.0" } -async-trait = { version = "0.1.80" } +thiserror = { version = "1.0.63" } +serde = { version = "1.0.204" } +serde_json = { version = "1.0.120" } +tokio = { version = "1.38.1" } +async-trait = { version = "0.1.81" } tracing = { version = "0.1.40" } -tonic = { version = "0.11" } -opentelemetry = { version = "0.23.0" } -opentelemetry_sdk = { version = "0.23.0" } +tonic = { version = "0.12" } +opentelemetry = { version = "0.24.0" } +opentelemetry_sdk = { version = "0.24.0" } diff --git a/health_readiness/Cargo.toml b/health_readiness/Cargo.toml index d3c464a..f35f204 100644 --- a/health_readiness/Cargo.toml +++ b/health_readiness/Cargo.toml @@ -17,7 +17,7 @@ thiserror = { workspace = true } paho-mqtt = { version = "0.12.5", optional = true } # rabbitmq -lapin = { version = "2.3.4", optional = true } +lapin = { version = "2.4.0", optional = true } # postgres deadpool-postgres = { version = "0.14.0", optional = true } diff --git a/http_components/Cargo.toml b/http_components/Cargo.toml index 46c05af..1b007c9 100644 --- a/http_components/Cargo.toml +++ b/http_components/Cargo.toml @@ -38,7 +38,7 @@ auth = { path = "../auth", optional = true } otel = { path = "../otel", optional = true } # metrics -opentelemetry-semantic-conventions = { version = "0.15", optional = true } +opentelemetry-semantic-conventions = { version = "0.16", optional = true } opentelemetry-prometheus = { version = "0.16", optional = true } prometheus = { version = "0.13.4", optional = true } diff --git a/http_components/src/middlewares/otel/http_metrics.rs b/http_components/src/middlewares/otel/http_metrics.rs index f6f35c5..325fc45 100644 --- a/http_components/src/middlewares/otel/http_metrics.rs +++ b/http_components/src/middlewares/otel/http_metrics.rs @@ -3,7 +3,7 @@ use super::attributes::metrics_attributes_from_request; use actix_web::dev; use futures_util::future::{self, FutureExt as _, LocalBoxFuture}; -use opentelemetry::metrics::{Counter, Histogram, Meter, Unit, UpDownCounter}; +use opentelemetry::metrics::{Counter, Histogram, Meter, UpDownCounter}; use opentelemetry::{global, Key, KeyValue, Value}; use std::{sync::Arc, time::SystemTime}; @@ -31,7 +31,7 @@ impl Metrics { let http_server_duration = meter .f64_histogram(HTTP_SERVER_DURATION) .with_description("HTTP inbound request duration per route") - .with_unit(Unit::new("ms")) + .with_unit("ms") .init(); let http_requests = meter diff --git a/metrics/Cargo.toml b/metrics/Cargo.toml index b4cb88c..b22aa9d 100644 --- a/metrics/Cargo.toml +++ b/metrics/Cargo.toml @@ -19,11 +19,11 @@ thiserror = { workspace = true } # OTLP Featue tonic = { workspace = true, features = ["tls"], optional = true } tokio = { workspace = true, features = ["default"], optional = true } -opentelemetry-otlp = { version = "0.16", features = ["metrics", "prost", "grpc-tonic", "gzip-tonic","tls", "tls-roots"], optional = true } +opentelemetry-otlp = { version = "0.17", features = ["metrics", "prost", "grpc-tonic", "gzip-tonic","tls", "tls-roots"], optional = true } # Prometheus Feature prometheus = { version = "0.13.4" } opentelemetry-prometheus = { version = "0.16", optional = true } # Stdout -opentelemetry-stdout = { version = "0.4", features = ["metrics"], optional = true } \ No newline at end of file +opentelemetry-stdout = { version = "0.5", features = ["metrics"], optional = true } \ No newline at end of file diff --git a/mqtt/Cargo.toml b/mqtt/Cargo.toml index 3a24f66..4b07a98 100644 --- a/mqtt/Cargo.toml +++ b/mqtt/Cargo.toml @@ -14,7 +14,7 @@ messaging = { path = "../messaging" } opentelemetry = { workspace = true } tracing = { workspace = true } async-trait = { workspace = true } -bytes = { version = "1.6.0", features = ["serde"] } +bytes = { version = "1.6.1", features = ["serde"] } paho-mqtt = { version = "0.12.5" } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } @@ -22,10 +22,10 @@ futures-util = { version = "0.3.30" } thiserror = { workspace = true } # Used only with feature mock -mockall = { version = "0.12.1", optional = true } +mockall = { version = "0.12", optional = true } [dev-dependencies] messaging = { path = "../messaging", features = ["mocks"] } -mockall = { version = "0.12.1" } +mockall = { version = "0.12" } tokio = { workspace = true } \ No newline at end of file diff --git a/rabbitmq/Cargo.toml b/rabbitmq/Cargo.toml index 6fafcb9..1cfa0be 100644 --- a/rabbitmq/Cargo.toml +++ b/rabbitmq/Cargo.toml @@ -8,9 +8,9 @@ configs = { path = "../configs" } messaging = { path = "../messaging" } traces = { path = "../traces" } -lapin = { version = "2.3.4" } +lapin = { version = "2.4.0" } opentelemetry = { workspace = true } -uuid = { version = "1.8.0", features = ["v4"] } +uuid = { version = "1.10.0", features = ["v4"] } async-trait = { workspace = true } tracing = { workspace = true } serde_json = { workspace = true } @@ -20,4 +20,4 @@ futures-util = { version = "0.3.30"} thiserror = { workspace = true } [dev-dependencies] -mockall = { version = "0.12.1" } +mockall = { version = "0.12" } diff --git a/rabbitmq/src/publisher.rs b/rabbitmq/src/publisher.rs index e103e25..49803d0 100644 --- a/rabbitmq/src/publisher.rs +++ b/rabbitmq/src/publisher.rs @@ -56,7 +56,7 @@ impl Publisher for RabbitMQPublisher { &infos.data, BasicProperties::default() .with_content_type(ShortString::from(JSON_CONTENT_TYPE)) - .with_kind(ShortString::from(infos.msg_type.clone())) + .with_type(ShortString::from(infos.msg_type.clone())) .with_message_id(ShortString::from(Uuid::new_v4().to_string())) .with_headers(FieldTable::from(btree)), ) diff --git a/secrets_manager/Cargo.toml b/secrets_manager/Cargo.toml index 0439a13..35b59b7 100644 --- a/secrets_manager/Cargo.toml +++ b/secrets_manager/Cargo.toml @@ -9,8 +9,8 @@ mocks = ["dep:mockall"] [dependencies] async-trait = { workspace = true } tracing = { workspace = true } -aws-config = { version = "1.5.3" } -aws-sdk-secretsmanager = { version = "1.37.0" } +aws-config = { version = "1.5.4" } +aws-sdk-secretsmanager = { version = "1.39.0" } serde_json = { workspace = true } thiserror = { workspace = true } diff --git a/traces/Cargo.toml b/traces/Cargo.toml index 58c10c7..9f4201e 100644 --- a/traces/Cargo.toml +++ b/traces/Cargo.toml @@ -18,6 +18,6 @@ serde = { workspace = true, features = ["derive"] } tonic = { workspace = true, features = ["tls"] } tokio = { workspace = true, features = ["default"] } -opentelemetry-otlp = { version = "0.16", features = ["tonic", "tls", "tls-roots"], optional = true } +opentelemetry-otlp = { version = "0.17", features = ["tonic", "tls", "tls-roots"], optional = true } -opentelemetry-stdout = { version = "0.4", features = ["trace"], optional = true } \ No newline at end of file +opentelemetry-stdout = { version = "0.5", features = ["trace"], optional = true } \ No newline at end of file diff --git a/traces/src/provider.rs b/traces/src/provider.rs index c3e130c..bfae903 100644 --- a/traces/src/provider.rs +++ b/traces/src/provider.rs @@ -2,7 +2,7 @@ use crate::{errors::TracesError, get_sampler}; use configs::{Configs, DynamicConfigs, TraceExporterKind}; use opentelemetry::KeyValue; use opentelemetry_sdk::{ - trace::{self, RandomIdGenerator}, + trace::{Config, RandomIdGenerator}, Resource, }; use std::vec; @@ -22,7 +22,7 @@ where debug!("traces::init creating the tracer..."); - let _trace_configs = trace::config() + let _trace_configs = Config::default() .with_sampler(get_sampler(cfg)) .with_id_generator(RandomIdGenerator::default()) .with_max_events_per_span(64)