Pintpoint APM
github: https://pinpoint-apm.gitbook.io/pinpoint/
pinpoint ๋ณด์์ค์
production์ ์ ์ฉํ ๋๋ ๋ณด์์ ์ํด ๋ช๊ฐ์ง ๊บผ์ค์ผ ํ๋ ์ค์ ์ด ์๋ค
-
๋ถํ์ํ ์๋ํฌ์ธํธ ์ ์ธ
oAuth ์๋ฒ์ ๊ฒฝ์ฐ /oauth/token
๋ ์ ์ธ์ํฌ ๊ฒ
profiler.tomcat.excludeurl=/actuator/health,/actuator/prometheus
-
๋ฏผ๊ฐํ url ํ๋ผ๋ฏธํฐ ์จ๊ธฐ๊ธฐ
profiler.tomcat.tracerequestparam=false
-
DB ์ฟผ๋ฆฌ ์ค ๋ฏผ๊ฐ์ ๋ณด ์จ๊ธฐ๊ธฐ
profiler.jdbc.mysql.tracesqlbindvalue=false
profiler.jdbc.mariadb.tracesqlbindvalue=false
๊ธฐํ ์ธํ
-
์ํ๋ง ๋ ์ดํธ: ํธ๋ํฝ์ด ๋ง์ ๊ฒฝ์ฐ ์กฐ์ ํ์
= Allow sampling.
profiler.sampling.enable=true
= 1 out of n transactions will be sampled where n is the rate. (1: 100%, 20: 5%)
profiler.sampling.rate=
-
ํ๋ฌ๊ทธ์ธ์ด ์ง์ํ์ง ์๋ ๋ณ๋์ ์ํธ๋ฆฌํฌ์ธํธ๋ฅผ ์ถ๊ฐ
= https://github.com/naver/pinpoint/blob/2cc86076ff58f2a2bb9273fb99c4fd3410e1e60e/plugins/user/src/main/java/com/navercorp/pinpoint/plugin/user/UserPluginConfig.java
= Needs to be a comma separated list of fully qualified method names. Wild card not supported.
profiler.entrypoint=
= Ex: foo.bar.MyClass.myMethod, foo.bar.MyClass.anotherMethod
-
์ถ์ ๋์ง ์๋ async executor ๊ฐ ์์ ๋
= https://github.com/naver/pinpoint/blob/master/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/async/SpringAsyncConfig.java
profiler.spring.async.executor.class.names=