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-01-12 13:08] – Added thalamus metrics admin | blocks:server:advanced_server_configuration:metrics [2026-03-03 06:50] (current) – [Metrics] admin | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Most of the details provided by these metrics are internal, and of little or no value to anyone but PIXILAB. So in general you should not configure metrics unless instructed and then provide the resulting log to PIXILAB for further analysis. | Most of the details provided by these metrics are internal, and of little or no value to anyone but PIXILAB. So in general you should not configure metrics unless instructed and then provide the resulting log to PIXILAB for further analysis. | ||
| - | To enable metrics, add the following to Blocks' | + | To enable metrics, add the following to Blocks' |
| < | < | ||
| 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 | ||
| + | </ | ||
| + | |||