How to disable metrics collection for the BE TEA Agent
book
Article ID: KB0072619
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
6.0 and later
Description
I would like to disable the metrics collection for the BE TEA agent. How can this be accomplished? I would also like to enable debug logging for the BE TEA Agent to troubleshoot an issue I'm having. However, when I set the root log level to DEBUG in $BE_HOME/teagent/config/log4j2.properties, the resulting log gets cluttered with messages relating to metrics collection. Some examples..
2022 Jan 10 14:37:26.811 GMT-05:00 DEBUG Snapshot-Liveness-Thread [be.services.query] - Checking for Snapshot Query Liveness
2022 Jan 10 14:37:26.811 GMT-05:00 INFO main [be.services.metric] - Starting metric service..
How can I suppress the above messages while still getting debug-level output from other loggers in my BE application?
Issue/Introduction
Describes how to disable BE metrics collection when using the BE TEA Agent for temporary troubleshooting purposes.
Environment
All Supported Platforms
Resolution
To disable metrics collection (and suppress the BE metrics-related messages) by adding the following property to your be-teagent.props file under $BE_HOME/teagent/config/
be.tea.agent.metrics.collection.enable=false
Then restart the BE TEA Agent to enable this change.