pinpoint plugin config

2024. 11. 24. 22:29·CloudNative/Observability & Analysis

pinpoint apm 사용하면 서비스간의 호출이 kiali처럼 시각화되어 보이는데,

플러그인을 활성화하면 rabbitmq와 같은 비동기호출에 대한 처리도 보여진다.

몇가지 정리해본다.

# ==========================================================
# Pinpoint Agent Configuration File
# ==========================================================

# General Settings
profiler.application.name=MyApp                      # 애플리케이션 이름 (필수)
profiler.agent.id=MyAppAgent                         # 에이전트 ID (필수, 고유해야 함)
profiler.log.dir=logs/pinpoint                       # 에이전트 로그 파일 경로
profiler.log.level=INFO                              # 로그 레벨 (DEBUG, INFO, WARN, ERROR)

# Collector Configuration
profiler.collector.ip=127.0.0.1                      # Pinpoint Collector 서버 IP
profiler.collector.span.port=9996                    # Span 데이터 수집 포트
profiler.collector.stat.port=9995                    # Stat 데이터 수집 포트
profiler.collector.tcp.port=9994                     # TCP 통신 포트

# Sampling Configuration
profiler.sampling.rate=10                            # 샘플링 비율: 10개의 트랜잭션 중 1개를 수집
profiler.trace.limit=1000                            # 동시에 추적 가능한 최대 트랜잭션 수
profiler.sampling.new.throughput=20                  # 새로운 트랜잭션 샘플링 속도

# JVM Monitoring
profiler.jvm.collect.interval=5000                   # JVM 메트릭 수집 간격 (밀리초)
profiler.jvm.metric.enable=true                      # JVM 메트릭 수집 활성화

# RabbitMQ Plugin Configuration
profiler.rabbitmq.client.enable=true                 # RabbitMQ 클라이언트 플러그인 활성화
profiler.rabbitmq.client.message.properties.enable=true # 메시지 속성 로깅 활성화
profiler.rabbitmq.client.message.size.limit=1024     # 메시지 크기 로깅 제한 (바이트)

# Kafka Plugin Configuration
profiler.kafka.enable=true                           # Kafka 플러그인 활성화
profiler.kafka.record.key=true                       # Kafka 메시지 키 로깅 활성화
profiler.kafka.record.value=false                    # Kafka 메시지 값 로깅 비활성화
profiler.kafka.message.size.limit=1024               # Kafka 메시지 크기 제한 (바이트)

# Spring Async Configuration
profiler.spring.async.enable=true                    # Spring Async 플러그인 활성화 (필수)

# Redis Plugin Configuration
profiler.redis.enable=true                           # Redis 플러그인 활성화
profiler.redis.pipeline.enable=true                  # Redis 파이프라인 명령어 로깅 활성화
profiler.redis.command.max.length=256                # Redis 명령어 최대 길이

# MySQL Plugin Configuration
profiler.mysql=true                                  # MySQL 플러그인 활성화
profiler.mysql.tracesqlbindvalue=true                # SQL 바인드 값 로깅 활성화
profiler.jdbc.sqlcachesize=1024                      # SQL 캐시 크기
profiler.jdbc.sql.length=2048                        # SQL 쿼리 최대 길이

# HTTP Client Configuration
profiler.apache.httpclient3=true                     # Apache HttpClient3 플러그인 활성화
profiler.apache.httpclient4=true                     # Apache HttpClient4 플러그인 활성화
profiler.okhttp.enable=true                          # OKHttp 클라이언트 플러그인 활성화

# Spring Plugin Configuration
profiler.springmvc=true                              # Spring MVC 플러그인 활성화
profiler.springboot.enable=true                      # Spring Boot 플러그인 활성화

# gRPC Plugin Configuration
profiler.grpc.enable=true                            # gRPC 플러그인 활성화

# MongoDB Plugin Configuration
profiler.mongodb.enable=true                         # MongoDB 플러그인 활성화

# Elasticsearch Plugin Configuration
profiler.elasticsearch.enable=true                   # Elasticsearch 플러그인 활성화

# Tomcat and Jetty Configuration
profiler.tomcat.enable=true                          # Tomcat 플러그인 활성화
profiler.jetty.enable=true                           # Jetty 플러그인 활성화

# Error Handling
profiler.ignore.exceptions=NullPointerException,IllegalArgumentException # 무시할 예외 목록
profiler.record.error=true                           # 에러 기록 활성화

# Common Plugin Settings
profiler.plugin.exclude=                             # 비활성화할 플러그인 목록 (쉼표로 구분)

# Advanced Debugging
profiler.debug=false                                 # 디버그 모드 비활성화
profiler.interceptor.registry.size=1024              # 인터셉터 레지스트리 크기

 

728x90

'CloudNative > Observability & Analysis' 카테고리의 다른 글

scouter  (0) 2025.01.10
vector logging  (2) 2025.01.07
otel  (0) 2024.11.22
kubecost  (2) 2024.11.11
springboot log pipeline: EFK 로그 전처리와 opensearch  (0) 2024.11.07
'CloudNative/Observability & Analysis' 카테고리의 다른 글
  • scouter
  • vector logging
  • otel
  • kubecost
yunapapa
yunapapa
working on the cloud
    250x250
  • yunapapa
    supermoon
    yunapapa
  • 전체
    오늘
    어제
    • 분류 전체보기 (94)
      • 개발 (20)
        • java (17)
        • web (2)
        • MSX (1)
        • Go (0)
      • CloudNative (50)
        • App Definition & Developeme.. (17)
        • Orchestration & Management (4)
        • Runtime (3)
        • Provisioning (7)
        • Observability & Analysis (14)
        • event review (5)
      • AWS (7)
      • 환경관련 (17)
      • 취미생활 (0)
        • 맛집 (0)
        • 게임 (0)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

    • CNCF Past Events
    • Kubernetes Korea Group
  • 공지사항

  • 인기 글

  • 태그

    APM
    devops
    dop-c02
    istio
    helm
    티스토리챌린지
    gitlab
    오블완
    Java
    kubernetes
    Pinpoint
    OpenShift
    springboot
    k8s
    AWS
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
yunapapa
pinpoint plugin config
상단으로

티스토리툴바