WoodWing Help Center

Elvis 4 API - Metrics

Elvis 4 API - Metrics

GET/POST

http://elvisserverurl:port/controller/admin/server-status

Cluster and node metrics are provided on the admin page, but can also be retrieved as a JSON block from the metrics API (in fact, that is where the admin page gets its data from).

Result

The JSON result is made up of a "cluster" object and a "nodes" array of objects which correspond to each of your nodes. Below you will find an example of a single-node cluster's metrics JSON response.

{"serverLoadStats":[
{"label":"Searches","lastHourAvgMinuteRate":0,"lastHourTimeline":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"minutePeakRate":0,"minuteRate":0}

,
{"label":"Assets created","lastHourAvgMinuteRate":0,"lastHourTimeline":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"minutePeakRate":0,"minuteRate":0}

,
{"label":"Metadata changes","lastHourAvgMinuteRate":0,"lastHourTimeline":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"minutePeakRate":0,"minuteRate":0}

,
{"label":"Thumbnails downloaded","lastHourAvgMinuteRate":0,"lastHourTimeline":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"minutePeakRate":0,"minuteRate":0}

,
{"label":"Previews downloaded","lastHourAvgMinuteRate":0,"lastHourTimeline":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"minutePeakRate":0,"minuteRate":0}

,
{"label":"Originals downloaded","lastHourAvgMinuteRate":0,"lastHourTimeline":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"minutePeakRate":0,"minuteRate":0}

],"licenseStatus":{"serverStatus":
{"type":"ElvisServerPremium400"}

,"userStatuses":[
{"type":"Basic","inUse":0,"inUsePeak":0,"registered":6}

,
{"type":"Standard","inUse":0,"inUsePeak":0,"registered":6}

,
{"type":"Pro","inUse":1,"inUsePeak":1,"registered":32}

],"customer":"å£é% ∂€ †@ßßøˆˆ¨¥˙∆˚∆˚˙©∫†"},"processStatus":
{"processes":[],"heavyProcesses":0,"exclusiveHeavyProcesses":0,"history":[],"runningProcesses":0}

,"coreStatus":
{"version":"4.6.15.952","versionWithLabel":"4.6.15.952 QP2"}

,"cacheStatus":[
{"name":"aclCache","size":0,"inMemorySize":0,"onDiskSize":0,"putCount":0,"expiredCount":0,"cacheHitCount":0,"cacheMissCount":0,"cacheMissCountExpired":0,"evictedCount":0,"averageGetTimeMillis":0.0,"updateCount":0}

,
{"name":"assetCache","size":0,"inMemorySize":0,"onDiskSize":0,"putCount":0,"expiredCount":0,"cacheHitCount":0,"cacheMissCount":0,"cacheMissCountExpired":0,"evictedCount":0,"averageGetTimeMillis":0.0,"updateCount":0}

,
{"name":"localFileCache","size":0,"inMemorySize":0,"onDiskSize":0,"putCount":0,"expiredCount":0,"cacheHitCount":0,"cacheMissCount":0,"cacheMissCountExpired":0,"evictedCount":0,"averageGetTimeMillis":0.0,"updateCount":0}

,
{"name":"ruleCache","size":12,"inMemorySize":12,"onDiskSize":0,"putCount":12,"expiredCount":0,"cacheHitCount":0,"cacheMissCount":12,"cacheMissCountExpired":0,"evictedCount":0,"averageGetTimeMillis":0.0,"updateCount":0}

,
{"name":"securityCache","size":1,"inMemorySize":1,"onDiskSize":0,"putCount":1,"expiredCount":0,"cacheHitCount":3,"cacheMissCount":3,"cacheMissCountExpired":0,"evictedCount":0,"averageGetTimeMillis":0.0,"updateCount":0}

,
{"name":"unoconvOutputCache","size":0,"inMemorySize":0,"onDiskSize":0,"putCount":0,"expiredCount":0,"cacheHitCount":0,"cacheMissCount":0,"cacheMissCountExpired":0,"evictedCount":0,"averageGetTimeMillis":0.0,"updateCount":0}

,
{"name":"userAgentLookupCache","size":0,"inMemorySize":0,"onDiskSize":0,"putCount":0,"expiredCount":0,"cacheHitCount":0,"cacheMissCount":0,"cacheMissCountExpired":0,"evictedCount":0,"averageGetTimeMillis":0.0,"updateCount":0}

,
{"name":"wwrcOutputCache","size":0,"inMemorySize":0,"onDiskSize":0,"putCount":0,"expiredCount":0,"cacheHitCount":0,"cacheMissCount":0,"cacheMissCountExpired":0,"evictedCount":0,"averageGetTimeMillis":0.0,"updateCount":0}

],"diskSpaceStatus":[
{"name":"/","total":"476.1 GB","free":"171.4 GB","usable":"171.1 GB"}

],"mediaStatus":{"requestsPerMinute":0,"mediaNodesStatus":[{"nodeId":"localMediaProcessorNode","currentRequests":[],"requestsInProcessCount":0,"validForMediaProcessing":true,"history":[],"failedRequestsCount":0,"nodeProfileBean":{"capacity":3,"version":"4.6.15.952","downloadedFileCacheTTL":0,"urgentReserve":1,"allowedHosts":[],"requestCompatibilityLevels":{"MAKE_THUMBNAIL":5,"MAKE_PREVIEW":5,"EXTRACT_TEXT":5,"MAKE_THUMBNAIL_AND_DEFAULT_PREVIEWS":5,"EMBED_METADATA":20,"EXTRACT_METADATA":5}},"successfulRequestsCount":0,"ready":true,"connected":true}],"nodeProcessingRequests":[
{"nodeId":"localMediaProcessorNode"}

,
{"nodeId":"total"}

],"operationalNodes":1,"activeProcessingRequests":0,"waitingProcessingRequests":0},"systemStatus":{"threadCount":112,"heapMemory":
{"max":"2 GB","committed":"2 GB","init":"2 GB","used":"160.9 MB"}

,"nonHeapMemory":
{"max":"130 MB","committed":"60.4 MB","init":"22.4 MB","used":"59.4 MB"}

,"systemLoadAverage":"2.1","uptime":"21 minutes and 43 seconds"}}
Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.