Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add prometheus, simplify server logging #74

Merged
merged 14 commits into from
Jan 29, 2024
Prev Previous commit
Next Next commit
compat with newer, log-enabled, tiny_httpd
  • Loading branch information
c-cube committed Jan 24, 2024
commit 80de0797a548ef91cb07334b0afb39166cb19154
4 changes: 0 additions & 4 deletions src/server/benchpress_server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1735,10 +1735,6 @@ module Cmd = struct
in
(* thread to execute tasks *)
let _th_r = Thread.create Task_queue.loop self.task_q in
(* trick: see if debug level is active *)
Log.debug (fun k ->
H._enable_debug true;
k "enable http debug");
(* maybe serve the API *)
Printf.printf "listen on http://localhost:%d/\n%!" (H.port server);
handle_root self;
Expand Down
Loading