Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mc-observability monitoring & logging API usage scenarios #57

Open
kyuengmanKim opened this issue Sep 24, 2024 · 0 comments
Open

mc-observability monitoring & logging API usage scenarios #57

kyuengmanKim opened this issue Sep 24, 2024 · 0 comments

Comments

@kyuengmanKim
Copy link
Contributor

kyuengmanKim commented Sep 24, 2024

mc-observability monitoring & logging API usage scenarios

API Swagger: mc-observability-swagger

mc-observability monitoring

모니터링 관련 시나리오는 다음과 같습니다.

  1. cb-tb를 통해 조회된 vm에 mc-agent 설치 요청 (add new monitoring target)
  2. 모니터링 환경 설정에 필요한 작업들
    1. 모니터링 매트릭 정의(add target monitoring item)
      1. 모니터링 플러그인 조회(get monitoring plug-in list)
      2. 매트릭별 수집 대상 정의(pluginSeq 입력)
      3. 매트릭별 수집 주기 설정
    2. 모니터링 저장소 정의(add target monitoring storage)
  3. vm에 대해 일정 기간 수집된 내역 확인
    1. 매트릭 저장소 조회(get all influxdb list)
    2. 저장된 매트릭과 매트릭별 field, tag 조회(get collected measurement & field list)
    3. 일정 기간 수집된 데이터 조회(get collected metric)
  4. 설치된 mc-agent 삭제 요청(delete monitoring agent & management target)

mc-observability logging

로깅 관련 시나리오는 다음과 같습니다.

  1. cb-tb를 통해 조회된 vm에 mc-agent 설치 요청(모니터링과 동일) (add new monitoring target)
  2. 로깅 환경 설정에 필요한 작업들
    1. 로깅 플러그인 조회(get monitoring plug-in list)
      1. 로깅은 'tail', 'opensearch' 플러그인을 사용합니다.
    2. 로깅 대상 정의(add target monitoring item)
      1. (1) 로그 수집 대상 'tail' 플러그인 추가
      2. (2) 수집 로그 저장소 'opensearch' 플러그인 추가
  3. 로그 저장소 조회
    1. (get all opensearch list)
  4. 일정 기간 수집된 로그 조회(get collected log)

상세 진행 과정은 다음 링크를 참고해주세요. (MCMP-Agent Use)

@kyuengmanKim kyuengmanKim changed the title mc-observability & monitoring API usage scenarios mc-observability monitoring & logging API usage scenarios Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant