mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-23 06:30:05 +00:00
@@ -1066,7 +1066,7 @@ impl HttpServer {
|
|||||||
/// Route Prometheus [HTTP API].
|
/// Route Prometheus [HTTP API].
|
||||||
///
|
///
|
||||||
/// [HTTP API]: https://prometheus.io/docs/prometheus/latest/querying/api/
|
/// [HTTP API]: https://prometheus.io/docs/prometheus/latest/querying/api/
|
||||||
fn route_prometheus<S>(prometheus_handler: PrometheusHandlerRef) -> Router<S> {
|
pub fn route_prometheus<S>(prometheus_handler: PrometheusHandlerRef) -> Router<S> {
|
||||||
Router::new()
|
Router::new()
|
||||||
.route(
|
.route(
|
||||||
"/format_query",
|
"/format_query",
|
||||||
|
|||||||
Reference in New Issue
Block a user