Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Name

Default Value

Description

messageFrequency

 

Samples the message every N'th message. You can only use either frequency or period.

samplePeriod

1

Samples the message every N'th period. You can only use either frequency or period.

units

SECOND

Time unit as an enum of java.util.concurrent.TimeUnit

...

from

...

the

...

JDK.

...

...

Using the Fluent Builders
These samples also show how you can use the different syntax to configure the sampling period:

...

Using the Spring XML Extensions
And the same example in Spring XML is:

...

...

And since it uses a default of 1 second you can omit this configuration in case you also want to use 1 second

...

See Also