diff options
author | mricher <maximilien.richer@gmail.com> | 2021-09-28 08:57:20 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-03-14 10:51:12 +0100 |
commit | e349af13a7268d567c1bacc819af5b89c2d4231f (patch) | |
tree | b50fc78efac150bbf3c005c33d39a874c5e37b41 /Cargo.lock | |
parent | 9d44127245990cc55dbdff5a4bd0a1524348f110 (diff) | |
download | garage-e349af13a7268d567c1bacc819af5b89c2d4231f.tar.gz garage-e349af13a7268d567c1bacc819af5b89c2d4231f.zip |
Update dependencies and add admin module with metrics
- Global dependencies updated in Cargo.lock
- New module created in src/admin to host:
- the (future) admin REST API
- the metric collection
- add configuration block
No metrics implemented yet
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 81 |
1 files changed, 81 insertions, 0 deletions
@@ -404,6 +404,16 @@ dependencies = [ ] [[package]] +name = "crossbeam-channel" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e54ea8bc3fb1ee042f5aace6e3c6e025d3874866da222930f70ce62aceba0bfa" +dependencies = [ + "cfg-if", + "crossbeam-utils", +] + +[[package]] name = "crossbeam-epoch" version = "0.9.7" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -766,6 +776,7 @@ dependencies = [ "bytes 1.1.0", "futures", "futures-util", + "garage_admin", "garage_api", "garage_model 0.6.0", "garage_rpc 0.6.0", @@ -792,6 +803,23 @@ dependencies = [ ] [[package]] +name = "garage_admin" +version = "0.6.0" +dependencies = [ + "futures", + "futures-util", + "garage_model 0.6.0", + "garage_util 0.6.0", + "http", + "hyper", + "lazy_static", + "log", + "opentelemetry", + "opentelemetry-prometheus", + "prometheus", +] + +[[package]] name = "garage_api" version = "0.6.0" dependencies = [ @@ -1825,6 +1853,38 @@ dependencies = [ ] [[package]] +name = "opentelemetry" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6105e89802af13fdf48c49d7646d3b533a70e536d818aae7e78ba0433d01acb8" +dependencies = [ + "async-trait", + "crossbeam-channel", + "dashmap", + "fnv", + "futures-channel", + "futures-executor", + "futures-util", + "js-sys", + "lazy_static", + "percent-encoding", + "pin-project 1.0.10", + "rand", + "thiserror", +] + +[[package]] +name = "opentelemetry-prometheus" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9328977e479cebe12ce0d3fcecdaea4721d234895a9440c5b5dfd113f0594ac6" +dependencies = [ + "opentelemetry", + "prometheus", + "protobuf", +] + +[[package]] name = "ordered-float" version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2077,6 +2137,27 @@ dependencies = [ ] [[package]] +name = "prometheus" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f64969ffd5dd8f39bd57a68ac53c163a095ed9d0fb707146da1b27025a3504" +dependencies = [ + "cfg-if", + "fnv", + "lazy_static", + "memchr", + "parking_lot", + "protobuf", + "thiserror", +] + +[[package]] +name = "protobuf" +version = "2.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf7e6d18738ecd0902d30d1ad232c9125985a3422929b16c65517b38adc14f96" + +[[package]] name = "quick-error" version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" |