featurebase/server
Seebs 5ee87bbf7c add server stats to /info endpoint
report the approximate hardware specs (CPU speed, cores, memory)
of the server in the /info endpoint. This may be useful when
benchmarking.

We do some workarounds because gopsutil's core count output is
confusingly different between Linux and Darwin, and the MHz output
is usually wrong on Linux. Intel's app notes say to just parse
the model string. Whyyyyyyy.
2019-03-26 09:14:51 -05:00
..
cluster_test.go fix failing tests due to staticcheck fixes 2019-01-21 14:38:58 -06:00
config.go fix missing quote in toml tag. unclear how test could pass without it 2019-03-25 12:16:24 -05:00
config_internal_test.go Advertise address and listen on 0.0.0.0 2019-01-21 22:36:55 -06:00
config_test.go Fix linter issues: staticcheck (covered by megacheck, along with gosimple and unused) 2018-07-20 11:19:24 -05:00
default.go Unexport server.DefaultDiagnosticsInterval 2018-07-05 23:11:56 -05:00
enterprise.go Add missing license headers. 2018-05-15 12:26:33 -05:00
handler_test.go add server stats to /info endpoint 2019-03-26 09:14:51 -05:00
release.go Unexport server.DefaultDiagnosticsInterval (in release tag) 2018-07-05 23:11:57 -05:00
server.go implement config options for block profile rate and mutex fraction 2019-03-25 11:38:01 -05:00
server_test.go Advertise address and listen on 0.0.0.0 2019-01-21 22:36:55 -06:00
setup_logger.go Use syscall.Dup3 on ARM64 as Dup2 is unsupported 2018-11-27 11:03:59 -06:00
setup_logger_arm64.go Use syscall.Dup3 on ARM64 as Dup2 is unsupported 2018-11-27 11:03:59 -06:00