mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 20:45:07 -05:00
getStatistics now reports, in Admin Panel / Version: - Database type: MongoDB or FerretDB (detected from buildInfo.ferretdb). - MongoDB-compatible version and the server git commit (buildInfo.gitVersion). - FerretDB version and commit, when the server is FerretDB. - Storage engine: WiredTiger for MongoDB, SQLite for FerretDB. - Reactivity mode currently in use: changeStreams / oplog / polling (from Meteor's oplog handle; FerretDB has no oplog so it shows polling). Thanks to xet7.
133 lines
4.5 KiB
Plaintext
133 lines
4.5 KiB
Plaintext
template(name='information')
|
|
.setting-content
|
|
unless currentUser.isAdmin
|
|
| {{_ 'error-notAuthorized'}}
|
|
else
|
|
.content-title
|
|
span
|
|
i.fa.fa-info-circle
|
|
| {{_ 'info'}}
|
|
.content-body
|
|
.side-menu
|
|
ul
|
|
li.active
|
|
a.js-setting-menu(data-id="information-display")
|
|
i.fa.fa-info-circle
|
|
| {{_ 'info'}}
|
|
.main-body
|
|
+statistics
|
|
|
|
template(name='statistics')
|
|
table
|
|
tbody
|
|
tr
|
|
th WeKan ® {{_ 'info'}}
|
|
td {{statistics.version}}
|
|
tr
|
|
th {{_ 'Meteor_version'}}
|
|
td {{statistics.meteor.meteorVersion}}
|
|
tr
|
|
th {{_ 'Node_version'}}
|
|
td {{statistics.process.nodeVersion}}
|
|
tr
|
|
th {{_ 'Database_type'}}
|
|
td {{statistics.mongo.databaseType}}
|
|
tr
|
|
th {{_ 'MongoDB_version'}}
|
|
td {{statistics.mongo.mongoVersion}}
|
|
tr
|
|
th {{_ 'Database_commit'}}
|
|
td {{statistics.mongo.databaseCommit}}
|
|
if statistics.mongo.ferretdbVersion
|
|
tr
|
|
th {{_ 'FerretDB_version'}}
|
|
td {{statistics.mongo.ferretdbVersion}}
|
|
tr
|
|
th {{_ 'FerretDB_commit'}}
|
|
td {{statistics.mongo.ferretdbCommit}}
|
|
tr
|
|
th {{_ 'MongoDB_storage_engine'}}
|
|
td {{statistics.mongo.mongoStorageEngine}}
|
|
tr
|
|
th {{_ 'MongoDB_Oplog_enabled'}}
|
|
td {{formatBoolean statistics.mongo.mongoOplogEnabled}}
|
|
tr
|
|
th {{_ 'Reactivity_mode'}}
|
|
td {{statistics.mongo.reactivity}}
|
|
tr
|
|
th {{_ 'OS_Type'}}
|
|
td {{statistics.os.type}}
|
|
tr
|
|
th {{_ 'OS_Platform'}}
|
|
td {{statistics.os.platform}}
|
|
tr
|
|
th {{_ 'OS_Arch'}}
|
|
td {{statistics.os.arch}}
|
|
tr
|
|
th {{_ 'OS_Release'}}
|
|
td {{statistics.os.release}}
|
|
tr
|
|
th {{_ 'OS_Uptime'}}
|
|
td {{humanReadableTime statistics.os.uptime}}
|
|
tr
|
|
th {{_ 'OS_Loadavg'}}
|
|
td {{numFormat statistics.os.loadavg.[0]}}, {{numFormat statistics.os.loadavg.[1]}}, {{numFormat statistics.os.loadavg.[2]}}
|
|
tr
|
|
th {{_ 'OS_Totalmem'}}
|
|
td {{fileSize statistics.os.totalmem}}
|
|
tr
|
|
th {{_ 'OS_Freemem'}}
|
|
td {{fileSize statistics.os.freemem}}
|
|
tr
|
|
th {{_ 'OS_Cpus'}}
|
|
td {{statistics.os.cpus.length}}
|
|
unless isSandstorm
|
|
tr
|
|
th {{_ 'Node_heap_total_heap_size'}}
|
|
td {{fileSize statistics.nodeHeapStats.totalHeapSize}}
|
|
tr
|
|
th {{_ 'Node_heap_total_heap_size_executable'}}
|
|
td {{fileSize statistics.nodeHeapStats.totalHeapSizeExecutable}}
|
|
tr
|
|
th {{_ 'Node_heap_total_physical_size'}}
|
|
td {{fileSize statistics.nodeHeapStats.totalPhysicalSize}}
|
|
tr
|
|
th {{_ 'Node_heap_total_available_size'}}
|
|
td {{fileSize statistics.nodeHeapStats.totalAvailableSize}}
|
|
tr
|
|
th {{_ 'Node_heap_used_heap_size'}}
|
|
td {{fileSize statistics.nodeHeapStats.usedHeapSize}}
|
|
tr
|
|
th {{_ 'Node_heap_heap_size_limit'}}
|
|
td {{fileSize statistics.nodeHeapStats.heapSizeLimit}}
|
|
tr
|
|
th {{_ 'Node_heap_malloced_memory'}}
|
|
td {{fileSize statistics.nodeHeapStats.mallocedMemory}}
|
|
tr
|
|
th {{_ 'Node_heap_peak_malloced_memory'}}
|
|
td {{fileSize statistics.nodeHeapStats.peakMallocedMemory}}
|
|
tr
|
|
th {{_ 'Node_heap_does_zap_garbage'}}
|
|
td {{statistics.nodeHeapStats.doesZapGarbage}}
|
|
tr
|
|
th {{_ 'Node_heap_number_of_native_contexts'}}
|
|
td {{statistics.nodeHeapStats.numberOfNativeContexts}}
|
|
tr
|
|
th {{_ 'Node_heap_number_of_detached_contexts'}}
|
|
td {{statistics.nodeHeapStats.numberOfDetachedContexts}}
|
|
tr
|
|
th {{_ 'Node_memory_usage_rss'}}
|
|
td {{fileSize statistics.nodeMemoryUsage.rss}}
|
|
tr
|
|
th {{_ 'Node_memory_usage_heap_total'}}
|
|
td {{fileSize statistics.nodeMemoryUsage.heapTotal}}
|
|
tr
|
|
th {{_ 'Node_memory_usage_heap_used'}}
|
|
td {{fileSize statistics.nodeMemoryUsage.heapUsed}}
|
|
tr
|
|
th {{_ 'Node_memory_usage_external'}}
|
|
td {{fileSize statistics.nodeMemoryUsage.external}}
|
|
tr
|
|
th {{_ 'Mongo_sessions_count'}}
|
|
td {{statistics.session.sessionsCount}}
|