Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blocks:diagnostics [2025-12-16 10:01] – [Enabling Logging of Metrics] adminblocks:diagnostics [2026-11-18 13:35] (current) – [Enabling Logging of Metrics] admin
Line 15: Line 15:
 </code> </code>
  
-The "frequency" option determines how often you want metrics written to the log file. You may want to set this to a shorter value (such as "5 minutes") if you're diagnosing an issue with a shorter time span. +The "frequency" option determines how often you want metrics written to the log file. You may want to set this to a shorter value (such as "5 minutes") if you're diagnosing an issue with a shorter time span. Metrics can be further configured by limiting what kinds of data to log, as described in [[.:server:advanced_server_configuration:metrics|this article]].
  
 In addition to the above, you also need to enable metrics in the configuration file under logging/loggers: In addition to the above, you also need to enable metrics in the configuration file under logging/loggers:
Line 27: Line 27:
 </code> </code>
  
-You may already have other items configurerd under logging/loggers, in which case you only have to add the "metrics: INFO" line there. +You may already have other items configurerd under logging/loggers, in which case you only have to add the "metrics: INFO" line there. See here for [[https://www.dropwizard.io/en/stable/manual/configuration.html#metrics|more on how to configure metrics]] through the underlying framework.
  
 Remember to restart Blocks to make it pick up the config file change. Remember to restart Blocks to make it pick up the config file change.