本文介紹 ARMS 所提供的Tempo相容介面的常見問題和錯誤排查方法。
錯誤資訊:Unable to connect with Tempo. Please check the server logs for more details.
錯誤說明
URL 填寫錯誤,請檢查存取點格式是否正確,以及該地區是否支援 Tempo API。
處理方法
參考ARMS與Grafana Tempo的相容性文檔,查看支援的地區以及存取點格式。
錯誤資訊:Unable to connect with Tempo ([Authentication Failed] The userId in HTTP header does not match the credentials (username/password). TraceId=xxxx). Please check the server logs for more details.
錯誤說明
AccessKeyID 與 AccessKeySecret 不匹配或者缺少許可權。
處理方法
檢查 Header 中 username 或 password 欄位是否正確填寫。
如填寫正確,請檢查此 AccessKeyID 是否具有正確的許可權。請參考ARMS與Grafana Tempo的相容性文檔查看許可權配置。
錯誤資訊:Unable to connect with Tempo ([Trace Logstore Not Found] Please verify the UserId and RegionId in HTTP headers are correct, and ensure the trace logstore exists. TraceId=xxxxx). Please check the server logs for more details.
錯誤說明
Header 中 userId 欄位填寫有誤。
處理方法
檢查阿里雲主帳號 ID 是否正確。