Crate prom_remote_api
source ·Expand description
Prometheus remote storage API
This crate provides:
- Rust-binding to prometheus remote storage protocol buffer definitions, and
- Various web framework utils to serve the remote wire protocols, which are controlled by corresponding feature-gates. Available features:
warp
- more web framework will be added
Any third-party storage can integrate with Prometheus by implementing RemoteStorage trait.
See simple.rs to learn how to build a remote storage with warp web framework.
In future, more web framework will be supported.
Modules
This module provides Rust-binding to prometheus remote storage protocol buffer definitions.
This module provides various middlewares/handlers for popular web framework to
help implementing write/read procotols of remote storage.