InfoGrab Docs

문제 해결

Teleport 프로세스의 메트릭 수집 및 문제 해결

이 가이드에서는 Teleport 클러스터에서 발생하는 문제 또는 예상치 못한 동작을 해결하는 방법을 설명합니다. 이 단계들을 사용하여 teleport 프로세스에 대한 더 많은 가시성을 확보하고 Auth Service, Proxy Service, Application Service 및 Database Service와 같은 Teleport 에이전트 서비스를 문제 해결할 수 있습니다. 작동 방식 # Teleport 프로세스는 내부 작업에 대한 데이터를 수집하는 데 사용할 수 있는 여러 방법을 노출합니다: Debug Service: Teleport 프로세스 내에서 실행되며 사용자가 인스턴스를 재시작하지 않고도 Teleport 인스턴스의 로그 수준을 변경할 수 있게 하는 서비스. 상세 로깅: 구성 파일을 사용하여 Teleport 프로세스의 로그 수준을 변경할 수 있습니다. 디버그 덤프: Teleport는 Go 프로그램입니다. Go 런타임은 goroutine이라는 추상화를 사용하여 CPU 스레드 내에서 작업을 스케줄링하며, 실행 중인 각 goroutine에 대한 정보가 담긴 파일을 생성할 수 있습니다. 추가 정보는 Teleport 팀이나 커뮤니티에 도움을 요청 할 수 있습니다. 사전 요구사항 # A running Teleport cluster. If you want to get started with Teleport, sign up for a free trial or set up a demo environment . The tctl and tsh clients. Installing `tctl` and `tsh` clients Determine the version of your Teleport cluster. The tctl and tsh clients must be at most one major version behind your Teleport cluster version. Send a GET request to the Proxy Service at /v1/webapi/find and use a JSON query tool to obtain your cluster version. Replace with the web address of your Teleport Proxy Service: $ TELEPORT_DOMAIN= $ TELEPORT_VERSION="$(curl -s https://$TELEPORT_DOMAIN/v1/webapi/find | jq -r '.server_version')" Follow the instructions for your platform to install tctl and tsh clients: To check that you can connect to your Teleport cluster, sign in with tsh login , then verify that you can run tctl commands using your current credentials. For example, run the foll