Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| blocks:server:advanced_server_configuration:metrics [2026-02-20 08:21] – linked to config file admin | blocks:server:advanced_server_configuration:metrics [2026-03-03 06:50] (current) – [Metrics] admin | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| < | < | ||
| metrics: | metrics: | ||
| - | frequency: 1 minute | + | |
| - | | + | reporters: |
| - | | + | - type: log |
| - | | + | logger: metrics |
| - | | + | includes: |
| - | | + | - " |
| - | - " | + | - org.eclipse.jetty.util.thread.QueuedThreadPool.dw.jobs |
| - | - org.eclipse.jetty.util.thread.QueuedThreadPool.dw.jobs | + | - jvm.memory.total.used |
| - | | + | - jvm.memory.heap.max |
| - | | + | - jvm.memory.heap.usage |
| - | | + | |
| - | | + | - pixi.cortex.backlog.peak |
| - | | + | - pixi.cortex.synapse |
| - | | + | - pixi.cortex.receptors |
| - | | + | - pixi.cortex.thalamus.properties |
| - | | + | - pixi.cortex.thalamus.streams |
| - | | + | - pixi.cortex.sharedSingleExecutorQueue |
| - | | + | - pixi.cortex.sharedMultiExecutorQueue |
| + | - pixi.cortex.MobileSpot.connected.Mob1 | ||
| </ | </ | ||
| - | Furthermore, | + | :!: **NOTE**: The example above logs connections to a Visitor spot named " |
| + | |||
| + | Furthermore, | ||
| < | < | ||
| logging: | logging: | ||
| - | level: WARN | + | |
| - | | + | loggers: |
| - | | + | metrics: INFO # To actually log metrics data |
| </ | </ | ||
| Line 47: | Line 50: | ||
| * **pixi.cortex.sharedSingleExecutorQueue** Tasks waiting for the sharedSingleExecutor | * **pixi.cortex.sharedSingleExecutorQueue** Tasks waiting for the sharedSingleExecutor | ||
| * **pixi.cortex.sharedMultiExecutorQueue** Tasks waiting for the sharedMultiExecutor | * **pixi.cortex.sharedMultiExecutorQueue** Tasks waiting for the sharedMultiExecutor | ||
| - | * **pixi.cortex.MobileSpot.connected.Mob1** Number of connected Visitor spots, | + | * **pixi.cortex.MobileSpot.connected.Mob1** Number of connected Visitor spots, |
| In addition to those, you can also use any metric provided by Blocks' | In addition to those, you can also use any metric provided by Blocks' | ||
| + | < | ||
| ch.qos.logback.core.Appender.all | ch.qos.logback.core.Appender.all | ||
| ch.qos.logback.core.Appender.debug | ch.qos.logback.core.Appender.debug | ||
| Line 195: | Line 199: | ||
| TimeBoundHealthCheck-pool.running | TimeBoundHealthCheck-pool.running | ||
| TimeBoundHealthCheck-pool.terminated | TimeBoundHealthCheck-pool.terminated | ||
| + | </ | ||
| + | |||