Skip to end of banner
Go to start of banner

Self-monitoring of the CMR with inspectIT Agent

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Descripton

After ticket 

Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.
 is integrated there will be possibility to monitor the CMR with our own inspectIT Agent.

For this purpose the CMR with Agent run configuration will be available and should be used when self-monitoring is needed.

The only prerequisite for self-monitoring is to start another CMR instance that will collect data from the monitoring one. This instance should redefine ports, so that RMI ports are 9080 and 9081. The HTTP port must also be redefined, for example to 8183. Note that the user interface can then connect to both CMRs, but the one having the monitoring data will be the one bounded to the 8183 port. 

Configuration

Currently this configuration is defined:

## repository <IP> <port> <Agent Name>
#############################################
repository localhost 9080 Development/CMR
## method-sensor-type <name> <fully-qualified-name> <priority> [<additional options>]
#####################################################################################
# method-sensor-type average-timer info.novatec.inspectit.agent.sensor.method.averagetimer.AverageTimerSensor HIGH stringLength=100
method-sensor-type timer info.novatec.inspectit.agent.sensor.method.timer.TimerSensor MAX stringLength=100
method-sensor-type isequence info.novatec.inspectit.agent.sensor.method.invocationsequence.InvocationSequenceSensor INVOC stringLength=100
method-sensor-type jdbc-connection info.novatec.inspectit.agent.sensor.method.jdbc.ConnectionSensor MIN
method-sensor-type jdbc-prepared-statement info.novatec.inspectit.agent.sensor.method.jdbc.PreparedStatementSensor MIN
method-sensor-type jdbc-prepared-statement-parameter info.novatec.inspectit.agent.sensor.method.jdbc.PreparedStatementParameterSensor MIN
method-sensor-type jdbc-statement info.novatec.inspectit.agent.sensor.method.jdbc.StatementSensor MIN 
## exception-sensor-type <fully-qualified-name> [<additional options>]
######################################################################
exception-sensor-type info.novatec.inspectit.agent.sensor.exception.ExceptionSensor mode=simple
## platform-sensor-type <fully-qualified-name> [<additional options>]
#####################################################################
platform-sensor-type info.novatec.inspectit.agent.sensor.platform.ClassLoadingInformation
platform-sensor-type info.novatec.inspectit.agent.sensor.platform.CompilationInformation
platform-sensor-type info.novatec.inspectit.agent.sensor.platform.MemoryInformation
platform-sensor-type info.novatec.inspectit.agent.sensor.platform.CpuInformation
platform-sensor-type info.novatec.inspectit.agent.sensor.platform.RuntimeInformation
platform-sensor-type info.novatec.inspectit.agent.sensor.platform.SystemInformation
platform-sensor-type info.novatec.inspectit.agent.sensor.platform.ThreadInformation
## send-strategy <fully-qualified-name>
#######################################
send-strategy info.novatec.inspectit.agent.sending.impl.TimeStrategy time=5000
# send-strategy info.novatec.inspectit.agent.sending.impl.ListSizeStrategy size=10
## buffer-strategy <fully-qualified-name>
#########################################
buffer-strategy info.novatec.inspectit.agent.buffer.impl.SimpleBufferStrategy
#buffer-strategy info.novatec.inspectit.agent.buffer.impl.SizeBufferStrategy size=12
## Ignore classes settings
#########################################
$include common/exclude-classes.cfg
## SQL tracing
##############
$include common/sql.cfg
## Uncomment configuration file under to enable parameter binding for SQL queries. This feature allows to have
## prepared Statements filled with the concrete parameter value that it was executed with, instead of just "?" values.
## Bear in mind that activating this feature will affect performance in a negative way as more methods need to be instrumented.
$include common/sql-parameters.cfg
# All services are proxies
sensor isequence info.novatec.inspectit.cmr.service* * modifiers=pub interface=true
sensor timer info.novatec.inspectit.cmr.service* * modifiers=pub interface=true
sensor timer info.novatec.inspectit* * modifiers=pub,prot @org.springframework.stereotype.Service
sensor timer info.novatec.inspectit* * modifiers=pub,prot @org.springframework.stereotype.Component
sensor timer info.novatec.inspectit* * modifiers=pub,prot @org.springframework.stereotype.Repository
exception-sensor info.novatec.inspectit*
  • No labels