Skip to content

Commit

Permalink
feat: implement prom remote storage api (#578)
Browse files Browse the repository at this point in the history
* feat: implement prom remote storage api

* translate req to sql

* remote read pass

* remote write pass

* add more docs

* sort labels before write

* add testcase for remote prom handler
  • Loading branch information
jiacai2050 authored Jan 30, 2023
1 parent 2306aac commit 43a70fb
Show file tree
Hide file tree
Showing 11 changed files with 911 additions and 178 deletions.
117 changes: 67 additions & 50 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ meta_client = { workspace = true }
opensrv-mysql = "0.1.0"
paste = { workspace = true }
profile = { workspace = true }
prom-remote-api = { version = "0.2.1", features = ["warp"] }
prometheus = { workspace = true }
prometheus-static-metric = { workspace = true }
prost = { workspace = true }
Expand Down
Loading

0 comments on commit 43a70fb

Please sign in to comment.