繁体   English   中英

在哪里查看 VESPA 提要错误详细日志?

[英]Where to see VESPA feed error detail log?

当我提供文件时,有时“feeder.error.count”不会为零,如下所示

{ "feeder.seconds": 140.016, "feeder.ok.count": 273229, "feeder.ok.rate": 1951.416, "feeder.error.count": 4, "feeder.inflight.count": 85, "http.request.count": 273364, "http.request.bytes": 580306750, "http.exception.count": 6, "http.response.count": 273273, "http.response.bytes": 24604630, "http.response.error.count": 44, "http.response.latency.millis.min": 2.000, "http.response.latency.millis.avg": 76.000, "http.response.latency.millis.max": 758.000, "http.response.code.counts": { "502": 44, "200": 273229 } }

我在哪里可以看到详细信息? 检查哪些数据导致添加了错误计数

如果喂食文件太小,屏幕上没有任何日志显示,是否有任何日志文件可以检查喂食结果?

使用客户端支持的--show-errors标志https://docs.vespa.ai/en/vespa-feed-client.html

 ./vespa-feed-client-cli/vespa-feed-client --help usage: vespa-feed-client <options> Vespa feed client --benchmark Print statistics to stdout when done --ca-certificates <arg> Path to file containing CA X.509 certificates encoded as PEM --certificate <arg> Path to PEM encoded X.509 certificate file --connections <arg> Number of concurrent HTTP/2 connections --disable-ssl-hostname-verification Disable SSL hostname verification --dryrun Enable dryrun mode where each operation succeeds after 1ms --endpoint <arg> URI to feed endpoint --file <arg> Path to feed file in JSON format --header <arg> HTTP header on the form 'Name: value' --help --max-failure-seconds <arg> Exit if specified number of seconds ever pass without any successful operations. Disabled by default --max-streams-per-connection <arg> Maximum number of concurrent streams per HTTP/2 connection --private-key <arg> Path to PEM/PKCS#8 encoded private key file --proxy <arg> URI to proxy endpoint --route <arg> Target Vespa route for feed operations --show-all Print the result of every feed operation --show-errors Print every feed operation failure --silent Disable periodic status printing to stderr --stdin Read JSON input from standard input --timeout <arg> Feed operation timeout (in seconds) --trace <arg> The trace level of network traffic. Disabled by default (=0) --verbose Print stack traces on errors --version

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM