메트릭 조회 오류
1 메트릭 쿼리 시 "query error: tenant: ; requestURI: /select/3/guance/api/v1/query; auth error: cannot parse accountID from "": strconv.ParseUint: parsing "": invalid syntax" 오류¶
launcher pod에서 mysql을 통해 데이터베이스에 연결하고 다음 SQL을 실행하세요.
use df_core;
update main_influx_instance set configJSON='{"write": {"host": "http://guancedb-cluster-guance-insert.middleware:8480"}, "read": {"host": "http://guancedb-cluster-guance-select.middleware:8481"}}' where id=1;
2 메트릭 관리에서 kodo 오류 "query error: db config pwd is null:ro" 발생¶
메트릭 관리에서 데이터가 끊겼습니다. F12를 통해 kodo 인터페이스의 Response가 'query error: db config pwd is null:ro'를 반환하는 것을 확인했습니다.
해결 방법: 다음 SQL을 통해 스토리지 엔진 인스턴스를 확인하세요. 만약 doris로 전환한 경우, datastore 필드의 metric 값이 guancedb여야 합니다.
해당 필드의 값이 guancedb가 아닌 경우, SQL을 통해 guancedb로 수정하세요.3 메트릭 쿼리 오류¶
문제 설명:메트릭 쿼리 시 query error: the query is too broad or the time range is too long, resulting in too many rows 오류 발생
문제 해결:
GuanceDB for metrics select 컴포넌트의 시작 매개변수 -search.maxQueryUniqueTimeseries를 추가하거나 수정하세요.
