기본 트랜잭션 헤더 쿼리 구문은 다음과 같습니다.
select * from trace_headers where timestamp between {starttime} and {endtime} and query={lucene query string} [limit {rows}]
여기서 lucene query string은 Workstation의 기록 쿼리에 있는 것처럼 유효한 Lucene 쿼리 문자열입니다. 자세한 내용은 CA APM Workstation 사용자 안내서를 참조하십시오.
선택적 플래그인 limit는 쿼리에서 반환되는 행 수를 제한합니다. 지정된 제한이 없으면 서버에 정의된 기본 트랜잭션 제한이 사용됩니다.
추적 본문에 대한 쿼리는 동일하지만, 다음과 같이 다른 뷰를 참조합니다.
select * from traces where timestamp between {starttime} and {endtime} and query={lucene query string} [limit {rows}]
select * from trace_headers where timestamp between '01/01/01 00:00:00' and '01/01/07 00:00:00' and query='s*' select * from trace_headers where timestamp between '01/01/01 00:00:00' and '01/01/07 00:00:00' and query='host:blinky' select * from traces where timestamp between '01/01/01 00:00:00' and '01/01/07 00:00:00' and query='host:blinky' limit 100
추적 쿼리에서 반환된 데이터 행에는 도메인, 호스트, 프로세스 및 에이전트 이름 등의 에이전트 정보와 트랜잭션 추적에 대한 XML 표현이 포함됩니다.
|
Copyright © 2013 CA.
All rights reserved.
|
|