草庐IT

healthtop

全部标签

戈朗 : healthd and healthtop of the library "gocraft/health"

我使用gocraft/health来检查我的服务的健康状况并获得每个端点的指标。我使用JSON轮询接收器来获取指标。sink:=health.NewJsonPollingSink(time.Minute*5,time.Minute*5)stream.AddSink(sink)我想在这里使用healthtop和healthdLink他们解释如何。我修复了环境变量:exportHEALTHD_MONITORED_HOSTPORTS=:5001HEALTHD_SERVER_HOSTPORT=:5002healthd正如他们所说的在他们说“现在您可以运行它”之后。怎么,他们没有给任何命令去做。

戈朗 : healthd and healthtop of the library "gocraft/health"

我使用gocraft/health来检查我的服务的健康状况并获得每个端点的指标。我使用JSON轮询接收器来获取指标。sink:=health.NewJsonPollingSink(time.Minute*5,time.Minute*5)stream.AddSink(sink)我想在这里使用healthtop和healthdLink他们解释如何。我修复了环境变量:exportHEALTHD_MONITORED_HOSTPORTS=:5001HEALTHD_SERVER_HOSTPORT=:5002healthd正如他们所说的在他们说“现在您可以运行它”之后。怎么,他们没有给任何命令去做。