Monitor and observe the Synchrony process

This monitoring feature allows to implement better monitoring of the collaborative editing performance of Confluence. You can export core Java Virtual Machine (JVM) as well as Synchrony-specific metrics via JMX or statsD. As a result, you can improve monitoring of Synchrony processes and integrate with your existing monitoring systems.

On this page:

Metrics description

The metrics listed in this section are exported out of the box. Integrate the metrics into the monitoring systems used in your instances.

JVM and System metrics

Core JVM metrics include various performance indicators such as garbage collection, memory usage, and CPU utilization. These metrics provide insights into the overall health and performance of the JVM process.

Metric nameMetric typeDescription
jvm_gc_live_data_sizeGaugeJVM Memory Management metrics
jvm_gc_max_data_sizeGauge
jvm_gc_memory_allocatedCounter
jvm_gc_memory_promotedCounter
jvm_gc_pauseHistogram
jvm_buffer_countGaugeJVM Memory Management metrics
jvm_buffer_memory_usedGauge
jvm_buffer_total_capacityGauge
jvm_memory_committedGauge
jvm_memory_maxGauge
jvm_memory_usedGauge
jvm_threads_daemonGaugeJVM Threads metrics
jvm_threads_deadlockedGauge
jvm_threads_deadlocked_monitorGauge
jvm_threads_liveGauge
jvm_threads_peakGauge
jvm_threads_startedGauge
jvm_threads_statesGauge
process_cpu_timeCounterSystem load metrics
process_cpu_usageGauge
system_cpu_countGauge
system_cpu_usageGauge
system_load_average_1mGauge

Synchrony-specific metrics

Synchrony-specific metrics focus on the performance of the Synchrony process itself. They include message processing times, user activity, and error counts, helping you monitor and optimize the collaborative editing experience.

Editing metrics

All edits performed in the editor are propagated between active editing sessions as messages. Slow message processing may lead to a poor editing user experience and is a strong signal of issues with the running Synchrony process.

External data changes

External data changes, or content reconciliation, is a type of content change that happens outside the editor.

It is important to track those metrics because for the collaboration editing engine (Synchrony), such external changes usually mean a need to apply a big diff to the editing history.

Main metrics are counter_content_reconciliation_full and prof_content_reconciliation_request_latency. Other metrics are used for further drill-down. Below are useful formulas that show how those metrics are connected to each other:

prof_content_reconciliation_request_latency = prof_content_reconciliation_parse_request
	  									      + porf_full_content_reconciliation

porf_full_content_reconciliation = prof_content_reconciliation_reqopts_to_revision-message 
                                   + content_reconciliation_hub_response
Metric nameMetric typeDescription
General metrics
counter_errorsCounterErrors count
counter_warningsCounterWarnings count
counter_total_usersCounterTotal number of users
gauge_active_usersGaugeActive users
counter_collaborators_in_hubHistogramDistribution of collaborators per page
External data changes metrics
counter_content_reconciliation_fullCounterNumber of content reconciliations
prof_content_reconciliation_request_latencyTimerContent reconciliation request performance
prof_content_reconciliation_parse_requestTimerRequest parameters parsing performance
prof_full_content_reconciliationTimerContent reconciliation performance
prof_content_reconciliation_reqopts_to_revision-messageTimerRetrieving the correct revision based on request options operation performance
prof_content_reconciliation_hub_responseTimerReconciliation hub performance to apply external changes
Editing metrics
timing_message_deltaTimerIncoming message processing time
counter_total_messages_processedCounterTotal number of messages being processed
counter_message_delta_over_1000CounterTotal number of slow messages whose processing time took more than 1000ms
Other metrics
histogram_parts_reversed_ch_partition_ageHistogramHow many data chunks should be fetched from the database to build a full editing history
prof_retrieve_snapshot_latencyTimerTime to fetch the content state from the database
prof_validate_jwt_timeTimerJSON Web Token (JWT) validation performance


Monitoring configuration

To configure monitoring, use system properties or environmental variables. If Synchrony is managed by Confluence, add these properties to the synchrony-args.properties file. For detailed configuration instructions, refer to Configuring Synchrony.

Property nameDefault valueDescription
synchrony.metrics.reportersempty string (meaning that monitoring is disabled)

Comma-separated list of reporters. Allowed values: 

  • jmx  
  • statsd
synchrony.metrics.statsd.flavoretsy

Flavor of the statsD metrics format. Allowed values:

  • etsy
  • datadog 
  • telegraf
synchrony.metrics.statsd.hostlocalhostStatsD host
synchrony.metrics.statsd.port8125StatsD port
synchrony.metrics.statsd.prefixstatsdPrefix for the metric names exported via statsD
synchrony.metrics.statsd.publish.unchangedtrueDefines whether to publish unchanged metrics
synchrony.metrics.statsd.polling.interval.sec10Metrics values update interval in seconds
synchrony.metrics.jmx.prefixjmxPrefix for the metric names exported via JMX
synchrony.metrics.jmx.domainmetricsJMX domain
Last modified on Jul 31, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.