Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| blocks:diagnostics [2020-12-11 11:15] – created admin | blocks:diagnostics [2025-12-16 10:06] (current) – [Enabling Logging of Metrics] admin | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| </ | </ | ||
| - | The " | + | The " |
| + | |||
| + | In addition to the above, you also need to enable metrics in the configuration file under logging/ | ||
| + | |||
| + | < | ||
| + | logging: | ||
| + | # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL. | ||
| + | level: WARN | ||
| + | loggers: | ||
| + | metrics: INFO # To actually log metrics data | ||
| + | </ | ||
| + | |||
| + | You may already have other items configurerd under logging/ | ||
| + | |||
| + | Remember to restart Blocks to make it pick up the config file change. | ||
| ===== Accessing Metrics on Demand ===== | ===== Accessing Metrics on Demand ===== | ||