본문 바로가기
카테고리 없음

[WAS모니터링] 무료 시스템, WAS 모니터링 APM(PINPOINT)

by 너머스고(numusgo) 2024. 2. 7.

핀포인트(PINPOINT) 소개

JAVA/PHP로 작성된 대규모 분산 시스템을 위한 APM(Application Performace Managerment) 도구이다.

 

시스템 전체 구조를 분석하고 분산 애플리케이션 트랜잭션을 추적하여 시스템에 상호 연결되는 방식을 분석하는데 도움이 된다.  그리고 기존에 많이 사용하는 스카우터를 사용하는데 이것은 WAS 모니터링 전용이어서 세밀한 분석을 할 수가 없다.

 

그러나 핀포인트는 무료소스이고 서비스 흐름을 한눈에 볼 수 있어 좋다. 

네이버에서 개발하여 우리가 이름만 말하면 아는 업체에서 많이 구축하여 사용하고 있다.

 

핀포인트(PINPOINT) 화면 : 출처 https://pinpoint-apm.gitbook.io/pinpoint/

 

 

 

 

버전별로 호환 표

 

해당 버전을  선택하면  호환표가 보여진다.  반드시 확인 이후 설치를 해야 한다.

http://pinpoint-apm.github.io/pinpoint/2.2.2/main.html

 

Pinpoint 2.2.2 | Leading Open-Source APM

What’s New in 2.2.2 v2.2.2 is a bug fix release of v2.2.1 There is a bug in the Reactor-netty plugin (v2.0.0 ~ v2.2.1) which inserts incorrect endPoint value. It only occurs in certain circumstances relating the high overload in Pinpoint-Collector To pre

pinpoint-apm.github.io

 

hat’s New in 2.2.2

v2.2.2 is a bug fix release of v2.2.1

There is a bug in the Reactor-netty plugin (v2.0.0 ~ v2.2.1) which inserts incorrect endPoint value. It only occurs in certain circumstances relating the high overload in Pinpoint-Collector To prevent this, it is recommended to upgrade to version v2.2.2 or higher when using the Reactor-netty plugin.

Upgrade consideration

HBase compatibility table:

Pinpoint VersionHBase 0.98.xHBase 1.0.xHBase 1.2.xHBase 2.0.x

1.5.x not tested yes not tested no
1.6.x not tested not tested yes no
1.7.x not tested not tested yes no
1.8.x not tested not tested yes no
2.0.x not tested not tested yes optional

Agent compatibility to Collector table:

Agent VersionCollector 1.5.xCollector 1.6.xCollector 1.7.xCollector 1.8.xCollector 2.0.x

1.5.x yes yes yes yes yes
1.6.x not tested yes yes yes yes
1.7.x no no yes yes yes
1.8.x no no no yes yes
2.0.x no no no no yes

Additionally, the required Java version to run each Pinpoint component is given below:

Pinpoint VersionAgentCollectorWeb

1.5.x 6-8 7-8 7-8
1.6.x 6-8 7-8 7-8
1.7.x 6-8 8 8
1.8.0 6-10 8 8
1.8.1+ 6-11 8 8
2.0.x 6-11 8 8

Supported Modules

  • JDK 6+
  • Supported versions of the * indicated library may differ from the actual version.

TitleInstrumented LibraryMinMaxComment 

Tomcat   6.x 9.x    
Jetty   8.x 9.x    
JBoss   6.x 7.x    
Resin   4.x 4.x    
Websphere   6.x 8.x    
Vertx   3.3 3.5    
Weblogic   10.x 12.x    
Undertow          
Undertow Servlet          
Jasper          
           
Java Async Thread          
           
OpenWhisk whisk.core        
           
SpringMVC Framework spring-webmvc 3.0.7 5.3.3    
Spring Web spring-web 4.1.2 4.3.30    
Spring RabbitMQ spring-rabbit 1.3.3 2.2.14    
Spring IBatis spring-ibatis 2.0.7 2.0.8    
Spring MyBatis mybatis-spring 1.1.0 1.3.3    
*Spring Boot spring-boot-autoconfigure        
*Spring Webflux spring-webflux        
           
MyBatis mybatis 3.0.3 3.3.1    
Hystrix hystrix-core 1.4.0 1.5.18    
           
JDKHTTP          
Httpclient3 commons-httpclient 3.0 3.1    
Httpclient4 httpclient 4.0 4.5.4    
Thrift libthrift 0.9.1 0.13.0    
Google HTTP Client google-http-client 1.19.0 1.38.1    
AsyncHttpClient async-http-client 1.7.24 1.8.17    
OkHttp okhttp 2.0.0 3.3.1    
Apache HttpAsyncClient httpasyncclient 4.0 4.1.3    
*Akka HTTP akka-http_2.12 10.1.0 10.1.x    
*Kafka kafka-clients 0.11.0.1      
GRPC grpc-stub 1.8.0 1.35.0    
*Reactor reactor-core 3.3.0 3.3.1    
*Reactor Netty reactor-netty 0.8.0 0.9.2    
           
Log4j log4j 1.2.16 1.2.17    
Logback logback-classic 1.0.13 1.2.3    
Log4j2 log4j-core 2.0 2.12.1    
           
*Arcus arcus-java-client 1.7.0 1.11.4    
*MsSQL (jTDS) jtds 1.2.8      
*MsSQL mssql-jdbc        
HikariCP HikariCP-java6 2.3.0 2.3.13    
Jackson-mapper-asl jackson-mapper-asl 1.0.1 1.8.11    
Jackson Databind jackson-databind 2.0.6 2.12.1    
MariaDB Connector/J mariadb-java-client 1.3.0 2.7.1    
MongoDB Java Driver mongodb-driver 3.0.0 3.12.7    
Elasticsearch bboss-elasticsearch-rest-jdbc 5.6.9 5.8.2    
Elasticsearch elasticsearch-rest-high-level-client 6.0.0 7.10.2    
Datastax Java Driver cassandra-driver-core 2.0.10 3.10.2    
Druid druid 1.0.0 1.2.4    
*Cubrid cubrid-jdbc-driver 8.4.1 10.0.0    
*Commons DBCP commons-dbcp 1.0 1.4    
*Commons DBCP2 commons-dbcp2 2.0 2.5.0    
*HBase hbase-client 1.2.6.1 1.2.6.1    
*MySQL mysql-connector-java 5.0 8.x    
*Oracle JDBC Driver ojdbc        
*PostgreSQL JDBC Driver postgresql        
*Redis jedis 2.4.2      
*Redis lettuce-core 5.0.0 5.1.2    
*Redis redisson 3.10.0 3.10.4    
           
Apache CXF cxf-rt-rs-client 3.0.0 3.4.2    
Netty netty-all 4.1.0 4.1.58    
ActiveMQ activemq-all 5.1.0 5.16.0    
RxJAVA rxjava 1.0.0 1.3.8    
RabbitMQ amqp-client 2.7.0 5.10.0    
Paho MQTT org.eclipse.paho.client.mqttv3 1.0.2 1.2.5    
Paho MQTT org.eclipse.paho.mqttv5.client 1.2.5 1.2.5    
           
Gson gson 1.1 2.8.3    
Json json-lib 1.0 2.2.2    
FastJson fastjson 1.2.10 1.2.75    
Dubbo dubbo 2.5.1 2.6.9    
kafka-clients kafka-clients 0.11.0.0 2.6.1    
postgresql postgresql 9.4.1208 42.2.18    

 

 

pinpoint 공식 문서  

https://pinpoint-apm.gitbook.io/pinpoint/getting-started/installation

 

Installation guide - Pinpoint

Starting from 1.5.0, Pinpoint can send requests from the Web to Agents directly via the Collector (and vice-versa). To make this possible, we use Zookeeper to co-ordinate the communication channels established between Agents and Collectors, and those betwe

pinpoint-apm.gitbook.io

 

 

파일 다운로드

https://github.com/pinpoint-apm/pinpoint/releases/tag/v2.3.3

 

Release v2.3.3 · pinpoint-apm/pinpoint

Security Patch Release Fix Log4j2 Security Vulnerabilities CVE-2021-45105, CVE-2021-45046 Agent : log4j 2.12.3 Server module : log4j 2.17.0 Release Notes [#8510] Backport: Bump Log4j 2.17.0 b...

github.com

 

 

설치 방법

( 공식 싸이드 매뉴얼을 보고 해도 좋지만 해당 블로그를 참고하여 설치하였다)

https://hays99.tistory.com/224

 

[Pinpoint] 핀포인트 v2.3.3 설치

# Pinpoint 다운로드 url https://github.com/pinpoint-apm/pinpoint/releases/tag/v2.3.3 # point server쪽 jdk 설치 $ sudo apt-get update $ sudo apt-get install openjdk-8-jdk $ java -version $ which java /usr/bin/java $ readlink -f /usr/bin/java /usr/lib

hays99.tistory.com