簡體   English   中英

安裝 ops agent 后,我在日志中收到大量錯誤

[英]After installing ops agent, I am getting floods of error in logs

我最近將監控代理升級為 OPS 代理,日志中充斥着以下錯誤:

08T11:31:25.681Z#011error#011exporterhelper/queued_retry.go:361#011Exporting failed. Try enabling retry_on_failure config option to retry on retryable errors#011{"error": "failed to export time series to GCM: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Points must be written in order. One or more of the points specified had an older start time than the most recent point.: gce_instance{zone:us-central1-c,instance_id:<>} timeSeries[0-199]: agent.googleapis.com/cpu/load_15m{}\nerror details: name = Unknown desc = total_point_count:200 success_point_count:148 errors:{status:{code:3} point_count:52}; failed to export time series to GCM: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Points must be written in order. One or more of the points specified had an older start time than the most recent point.: gce_instance{zone:us-central1-c,instance_id:<>} timeSeries[0-199]: agent.googleapis.com/processes/cpu_time{command_line:apache2 -DFOREGROUND,pid:3045127,owner:www-data,process:all,command:apache2,user_or_syst:syst}\nerror details: name = Unknown desc = total_point_count:200 success_point_count:132 errors:{status:{code:3} point_count:68}; failed to export time series to GCM: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Points must be written in order. One or more of the points specified had an older start time than the most recent point.: gce_instance{zone:us-central1-c,instance_id:<>} timeSeries[0-199]: agent.googleapis.com/disk/bytes_used{state:used,device:/dev/loop3}\nerror details: name = Unknown desc = total_point_count:200 success_point_count:117 errors:{status:{code:3} point_count:83}; failed to export time series to GCM: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Points must be written in order. One or more of the points specified had an older start time than the most recent point.: gce_instance{instance_id:<>,zone:us-central1-c} timeSeries[0-136]: agent.googleapis.com/disk/operation_count{device:loop9,direction:write}\nerror details: name = Unknown desc = total_point_count:137 success_point_count:31 errors:{status:{code:3} point_count:106}", "errorCauses": [{"error": "failed to export time series to GCM: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Points must be written in order. One or more of the points specified had an older start time than the most recent point.: gce_instance{zone:us-central1-c,instance_id:<>} timeSeries[0-199]: agent.googleapis.com/cpu/load_15m{}\nerror details: name = Unknown desc = total_point_count:200 success_point_count:148 errors:{status:{code:3} point_count:52}"}, {"error": "failed to export time series to GCM: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Points must be written in order. One or more of the points specified had an older start time than the most recent point.: gce_instance{zone:us-central1-c,instance_id:<>} timeSeries[0-199]: agent.googleapis.com/processes/cpu_time{command_line:apache2 -DFOREGROUND,pid:3045127,owner:www-data,process:all,command:apache2,user_or_syst:syst}\nerror details: name = Unknown desc = total_point_count:200 success_point_count:132 errors:{status:{code:3} point_count:68}"}, {"error": "failed to export time series to GCM: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Points must be written in order. One or more of the points specified had an older start time than the most recent point.: gce_instance{zone:us-central1-c,instance_id:<>} timeSeries[0-199]: agent.googleapis.com/disk/bytes_used{state:used,device:/dev/loop3}\nerror details: name = Unknown desc = total_point_count:200 success_point_count:117 errors:{status:{code:3} point_count:83}"}, {"error": "failed to export time series to GCM: rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Points must be written in order. One or more of the points specified had an older start time than the most recent point.: gce_instance{instance_id:<>,zone:us-central1-c} timeSeries[0-136]: agent.googleapis.com/disk/operation_count{device:loop9,direction:write}\nerror details: name = Unknown desc = total_point_count:137 success_point_count:31 errors:{status:{code:3} point_count:106}"}]}

注意:我已將實例 ID 上方的日志片段替換為 <>。

在一次又一次地在日志中獲取以下 2 jsonPayload 之后:

消息:“12 月 8 日 11:37:25 helpcenter otelopscol[3059431]: go.opentelemetry.io/collector/exporter/exporterhelper/internal.(*boundedMemoryQueue).StartConsumers.func1”

消息:“12 月 8 日 11:37:25 helpcenter otelopscol[3059431]: #011/root/go/pkg/mod/go.opentelemetry.io/collector@v0.61.0/exporter/exporterhelper/internal/bounded_memory_queue.go:61 “

在此處輸入圖像描述

我已按照此刪除並重新安裝 OPS 代理,我還檢查了鏈接中未提及的錯誤: https://cloud.google.com/logging/docs/agent/ops-agent/troubleshooting

請建議需要做什么來解決這個問題。

我已經復制了您的問題,作為解決方法,您應該重新啟動 VM 實例。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM