Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Management

...

The agent has to know when to send its measurements to the CMR. For that purpose, sending strategies must be defined. There are two available options:

Sending strategy

Description

Option

Time Strategy

This strategy will cause the agent to send its measurements after a specific interval. This interval can be set by using the option text box.

time in milliseconds

List Size Strategy

This strategy will cause the agent to send its measurements after a specific size of value objects is reached. The size can be set by using the option text box.

size

Buffer strategy

The next important aspect to configure is how the agent should handle connection problems when they appear. One could imagine that there is no buffer at all, or a specified size etc. After a connection is reestablished, the buffer will return all the elements it contains and they will be send to the CMR.

Buffer strategy

Description

Options

Simple Buffer

The simplest version of a buffer is apparently no buffer at all. It contains exactly one element. This is useful if old data isn't necessary or maybe the memory of the application is very limited.

none

Size Buffer

This buffer strategy needs an additional size option to set the size of this buffer. This buffer works as a FILO stack, so last added elements will be sent first (as they are more important), and old ones are thrown away if this buffer is full.

size

Class loading delegation

Warning

Expert user option

...

Sensor options part defines all possible general sensor options that can be configured.

Available sensor optionsImage Added

String length

All the method-sensor-types and the exception-sensor-type allow specification of the string length option. With this option a user can specify maximum length of Strings values collected by these sensors. What the String values are depend on the concrete sensor used. For example, database related sensors will decrease the size of the SQL statement strings if the length is higher than the specified one. On the other hand, the exception sensor will, for example, decrease the size of the exception stack trace and/or message.

...

  • Timer sensor
  • HTTP sensor
  • Exception sensor
  • JDBC Statement sensor
  • JDBC Prepared Statement sensor
  • Image ModifiedInvocation Sequence sensor 

...