LoginSignup
1
1

More than 5 years have passed since last update.

NewrelicでSpring AOP計測を行うには

Posted at

軽くはまったので、次困らないようにメモを残します。

なんでAOP計測できないか

newrelic.ymlの設定がデフォルトでdisableになっているってだけです。

デフォルトの設定ファイル

newrelic.yml
    com.newrelic.instrumentation.spring-aop-2:
      enabled: false

書き換え後の設定ファイル

newrelic.yml
    com.newrelic.instrumentation.spring-aop-2:
      enabled: true

デフォルトがdisableになった時のリリースノート

おわりに

この設定を入れることでTransactionsで処理時間を見ることが出来るようになります。
これが見たかったんだ。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1