Nginx statsd模块:错误行错误:-1,msg中的msg

时间:2018-07-17 18:27:03

标签: nginx nginx-reverse-proxy statsd

我有一个nginx http-lb并使用nginx statsd模块发送统计信息 Hers是nginx statsd的配置:

  statsd_count "{{statsd_prefix}}.status_$status" 1;
  statsd_timing "{{statsd_prefix}}.response_time" "$upstream_response_time";

我在日志中看到这些错误:

@400000005977dace2ebef504 17 Jul 13:56:52 - DEBUG: Bad line: -1,ms in msg "test.draft.http_lb.http.response_time:-1|ms"

有人可以帮助我了解“ $ upstream_response_time”如何为-1吗?

0 个答案:

没有答案