weixin_39785400 2020-11-21 23:50
浏览 0

PAYARA-3821 Add asadmin command to reset AMX metrics

The feature has been requested by Rakuten to turn all monitoring items to OFF once, and then set it back to the previous value on the modules the user is watching to perform a 'reset'

The new command


restart-monitoring

Parameters


--target 
--verbose or -v

The target parameter specifies which config to reset the monitoring levels for.

该提问来源于开源项目:payara/Payara

  • 写回答

5条回答 默认 最新

  • weixin_39785400 2020-11-21 23:50
    关注

    Looks good. Just some code style comments.

    I see you made it work changing the configuration directly. Maybe you can provide some insight (e.g. in the class javadoc) why this is enough or how the reset becomes effective.

    I'm going to have to find out more about it; my knowledge on how changing the config directly works is limited

    评论

报告相同问题?