본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)17k · #10792

wiztelemetry-tracing

하는 일

이 스킬은 AI 에이전트가 KubeSphere에서 분산 추적을 설정하도록 돕습니다. 여러 서비스에 걸친 요청을 따라가 느리거나 실패한 단계를 찾고 싶은 개발자와 운영자를 위한 스킬입니다.

사용하는 경우

  • ✓여러 서비스에 걸친 요청을 따라갈 수 있도록 추적을 설치하고 싶을 때.
  • ✓애플리케이션에 OpenTelemetry 자동 계측을 추가하고 싶은 경우.
  • ✓느린 요청의 트레이스, 스팬, 서비스 그래프를 조회해야 할 때.

스킬 링크

https://github.com/kubesphere/kubesphere/blob/master/skills/wiztelemetry-tracing/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kubesphere/kubesphere/blob/master/skills/wiztelemetry-tracing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“추적 확장 기능을 설치하고, 오늘 checkout 서비스의 가장 느린 트레이스를 보여 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 플랫폼 서비스와 OpenSearch를 확인한 뒤, 수집기나 생성기처럼 필요한 추적 구성 요소를 설치합니다. 그다음 추적 조회 API로 트레이스와 스팬을 조회합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

WizTelemetry Tracing

Overview

WizTelemetry Tracing is an extension component in the KubeSphere Observability Platform that provides distributed tracing functionality based on the OpenTelemetry standard.

When to Use

  • Installing or configuring the WizTelemetry Tracing extension
  • Understanding tracing architecture (Generator + Operator + Collector + Agent)
  • Using the tracing query API to query traces, spans, service graphs
  • Configuring OpenTelemetry auto-instrumentation for applications

Components

Component Description Default Enabled
generator WizTelemetry Tracing Generator: generates service graphs from tracing data (StatefulSet) true
operator OpenTelemetry Operator: manages OpenTelemetry Collector and auto-instrumentation true
collector OpenTelemetry Collector for WizTelemetry: receives traces, exports to Vector and OpenSearch true
agent WizTelemetry Tracing Agent: collects tracing data from local log files (DaemonSet) false
demo OpenTelemetry Demo: generates sample tracing data for demonstration false

Dependencies

  • WizTelemetry Platform Service (whizard-telemetry): Required
  • OpenSearch (opensearch): Required

Installation

Prerequisites

REQUIRED: Complete all steps in order before generating InstallPlan.

Step 1: Get Available Clusters and Confirm Target

CRITICAL: DO NOT proceed until target clusters are determined.

Step 1.1: Get available clusters

kubectl get clusters -o jsonpath='{.items[*].metadata.name}'

Step 1.2: Determine target clusters

  • If user explicitly specified target clusters in the request -> Use those clusters directly, proceed to Step 2
  • If user did NOT specify target clusters -> Ask user to confirm which clusters to deploy to, then proceed to Step 2

Ask user (if not specified):

Available clusters: host, dev
Which clusters do you want to deploy WizTelemetry Tracing to?

Step 2: Get Latest Version (if not provided by user)

MUST do this to get the latest version:

kubectl get extensionversions -n kubesphere-system -l kubesphere.io/extension-ref=wiztelemetry-tracing -o jsonpath='{range .items[*]}{.spec.version}{"\n"}{end}' | sort -V | tail -1

This outputs the latest version (e.g., 1.0.6). Note this down - you'll use it in the InstallPlan.

Step 3: Get Generator Endpoint

Get a node IP from the target cluster:

kubectl get nodes -o jsonpath='{.items[0].status.addresses[?(@.type=="ExternalIP")].address}' 2>/dev/null || \
kubectl get nodes -o jsonpath='{.items[0].status.addresses[?(@.type=="InternalIP")].address}'

This outputs a node IP (e.g., 192.168.1.100). Use this as the generator endpoint.

If multiple shards (e.g., generator.shardCount: 3), generate all endpoints:

NODE_IP="<NODE_IP>"
for i in 0 1 2; do
  PORT=$((32318 + i))
  echo "  - http://${NODE_IP}:${PORT}"
done

Replace <NODE_IP> with the actual node IP from the previous command.

Step 4: Confirm Configuration with User

Before creating the InstallPlan, confirm the following with the user:

I'll install WizTelemetry Tracing with the following configuration:
- Version: <VERSION>
- Target clusters: <TARGET_CLUSTERS>
- Generator endpoint: http://<NODE_IP>:32318
- OpenSearch endpoint: <OPENSEARCH_ENDPOINT>

Do you want to proceed? (yes/no)

If user confirms, proceed to create the InstallPlan. If not, adjust the configuration based on user feedback.

Step 5: Create InstallPlan

CRITICAL: InstallPlan metadata.name MUST be wiztelemetry-tracing. DO NOT use any other name.

CRITICAL: config field is YAML format. You MUST:

  • Use the config structure exactly as shown in the template
  • DO NOT add configuration fields that are not shown in the template
  • DO NOT modify the structure or hierarchy

CRITICAL: All placeholders MUST be replaced with actual values. DO NOT leave them as placeholders.

Based on your selections:

  • Target clusters: User-confirmed cluster names
  • OpenSearch endpoint: User-provided (default: https://opensearch-cluster-data.kubesphere-logging-system.svc:9200)
  • OpenSearch credentials: User-provided (default user: admin)

Template

apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
  name: wiztelemetry-tracing
  namespace: kubesphere-sys
자주 묻는 질문

추적은 무엇에 의존하나요?

WizTelemetry Platform Service와 OpenSearch에 의존합니다.

어떤 구성 요소를 설치하나요?

생성기, 오퍼레이터, 수집기, 에이전트 구성 요소, 선택 사항인 데모를 설치할 수 있습니다.

앱을 수정해야 하나요?

스킬은 OpenTelemetry 자동 계측을 다루며, 이는 앱에 추적을 추가하는 한 가지 방법입니다.

상세 정보

작성자의 원본 설명

Use when working with WizTelemetry Tracing extension for KubeSphere, including installation, configuration, and tracing query API

repo: kubesphere/kubesphere

인기도

GitHub 스타
17k
순위
#10792
라이선스
—
업데이트
2026. 7. 14.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬