Skip to content

Instantly share code, notes, and snippets.

@rclayton-the-terrible
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rclayton-the-terrible/9f604f7c050f67da0089 to your computer and use it in GitHub Desktop.
Save rclayton-the-terrible/9f604f7c050f67da0089 to your computer and use it in GitHub Desktop.
Example Output from Metrics Servlet
{
"jvm": {
"vm": {
"name": "Java HotSpot(TM) 64-Bit Server VM",
"version": "1.7.0_51-b13"
},
"memory": {
"totalInit": 51436096,
"totalUsed": 76374576,
"totalMax": 556007424,
"totalCommitted": 84144128,
"heapInit": 27122240,
"heapUsed": 29509584,
"heapMax": 419692544,
"heapCommitted": 37154816,
"heap_usage": 0.070312385630563,
"non_heap_usage": 0.3437995323768,
"memory_pool_usages": {
"Code Cache": 0.098108927408854,
"Eden Space": 0.089850309207968,
"Perm Gen": 0.48761842308975,
"Survivor Space": 0.033356267755682,
"Tenured Gen": 0.064338518225628
}
},
"buffers": {
"direct": {
"count": 12,
"memoryUsed": 272409,
"totalCapacity": 272409
},
"mapped": {
"count": 0,
"memoryUsed": 0,
"totalCapacity": 0
}
},
"daemon_thread_count": 20,
"thread_count": 67,
"current_time": 1402338046269,
"uptime": 260557,
"fd_usage": 0.00927734375,
"thread-states": {
"runnable": 0.19402985074627,
"blocked": 0,
"new": 0,
"timed_waiting": 0.55223880597015,
"waiting": 0.25373134328358,
"terminated": 0
},
"garbage-collectors": {
"MarkSweepCompact": {
"runs": 5,
"time": 1748
},
"Copy": {
"runs": 883,
"time": 3900
}
}
},
"ch.qos.logback.core.Appender": {
"all": {
"type": "meter",
"event_type": "statements",
"unit": "seconds",
"count": 749,
"mean": 0.0028746761835727,
"m1": 4.0528486613667e-6,
"m5": 0.0021818198894737,
"m15": 0.0046528096352258
},
"debug": {
"type": "meter",
"event_type": "statements",
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
},
"error": {
"type": "meter",
"event_type": "statements",
"unit": "seconds",
"count": 32,
"mean": 0.00012281660049489,
"m1": 5.3451850245731e-30,
"m5": 2.3554606201834e-8,
"m15": 5.2430419018257e-5
},
"info": {
"type": "meter",
"event_type": "statements",
"unit": "seconds",
"count": 714,
"mean": 0.0027403453912452,
"m1": 4.0528486613667e-6,
"m5": 0.0021817963348675,
"m15": 0.0046003792162075
},
"trace": {
"type": "meter",
"event_type": "statements",
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
},
"warn": {
"type": "meter",
"event_type": "statements",
"unit": "seconds",
"count": 3,
"mean": 1.1514056264949e-5,
"m1": 2.9643938750475e-314,
"m5": 3.0887413051958e-67,
"m15": 5.0279463745759e-25
}
},
"org.eclipse.jetty.server.nio.SelectChannelConnector.8443": {
"accepts": {
"type": "meter",
"event_type": "connections",
"unit": "seconds",
"count": 17707,
"mean": 0.06796746802571,
"m1": 0.053586857661935,
"m5": 0.065179033940203,
"m15": 0.069426301004167
},
"active-connections": {
"type": "counter",
"count": 0
},
"connection-duration": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 1,
"max": 254846,
"mean": 554.29316089682,
"std_dev": 6925.5146176156,
"median": 1,
"p75": 2,
"p95": 268.55,
"p98": 60189.96,
"p99": 109605.83,
"p999": 138651.188
},
"rate": {
"unit": "seconds",
"count": 17707,
"mean": 0.06796745071675,
"m1": 0.053588598652119,
"m5": 0.065314504814304,
"m15": 0.069540513310997
}
},
"connects": {
"type": "meter",
"event_type": "connections",
"unit": "seconds",
"count": 17707,
"mean": 0.067967467134167,
"m1": 0.053586857661935,
"m5": 0.065179033940203,
"m15": 0.069426301004167
},
"disconnects": {
"type": "meter",
"event_type": "connections",
"unit": "seconds",
"count": 17707,
"mean": 0.0679674671592,
"m1": 0.053588598652062,
"m5": 0.065314039911382,
"m15": 0.069539260085356
}
},
"org.eclipse.jetty.servlet.ServletContextHandler": {
"1xx-responses": {
"type": "meter",
"event_type": "responses",
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
},
"2xx-responses": {
"type": "meter",
"event_type": "responses",
"unit": "seconds",
"count": 287,
"mean": 0.0011016368802423,
"m1": 0.015993143501748,
"m5": 0.0044630636144,
"m15": 0.0038671951306165
},
"3xx-responses": {
"type": "meter",
"event_type": "responses",
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
},
"4xx-responses": {
"type": "meter",
"event_type": "responses",
"unit": "seconds",
"count": 21,
"mean": 8.0607576634559e-5,
"m1": 1.1261786644559e-99,
"m5": 2.9677778855265e-22,
"m15": 1.3148252070801e-9
},
"5xx-responses": {
"type": "meter",
"event_type": "responses",
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
},
"active-dispatches": {
"type": "counter",
"count": 0
},
"active-requests": {
"type": "counter",
"count": 0
},
"active-suspended-requests": {
"type": "counter",
"count": 0
},
"connect-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 0,
"max": 0,
"mean": 0,
"std_dev": 0,
"median": 0,
"p75": 0,
"p95": 0,
"p98": 0,
"p99": 0,
"p999": 0
},
"rate": {
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
}
},
"delete-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 0,
"max": 0,
"mean": 0,
"std_dev": 0,
"median": 0,
"p75": 0,
"p95": 0,
"p98": 0,
"p99": 0,
"p999": 0
},
"rate": {
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
}
},
"dispatches": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 6,
"max": 1402,
"mean": 144.5487012987,
"std_dev": 153.35630808538,
"median": 88,
"p75": 197,
"p95": 425.4,
"p98": 575.52,
"p99": 618.2,
"p999": 667
},
"rate": {
"unit": "seconds",
"count": 308,
"mean": 0.0011822444433409,
"m1": 0.015993143501748,
"m5": 0.0044630636144,
"m15": 0.0038671964454417
}
},
"expires": {
"type": "meter",
"event_type": "requests",
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
},
"get-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 6,
"max": 1402,
"mean": 144.5487012987,
"std_dev": 153.35630808538,
"median": 88,
"p75": 197,
"p95": 425.4,
"p98": 575.52,
"p99": 618.2,
"p999": 667
},
"rate": {
"unit": "seconds",
"count": 308,
"mean": 0.0011822446387513,
"m1": 0.015993143501748,
"m5": 0.0044630636144,
"m15": 0.0038671964454417
}
},
"head-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 0,
"max": 0,
"mean": 0,
"std_dev": 0,
"median": 0,
"p75": 0,
"p95": 0,
"p98": 0,
"p99": 0,
"p999": 0
},
"rate": {
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
}
},
"options-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 0,
"max": 0,
"mean": 0,
"std_dev": 0,
"median": 0,
"p75": 0,
"p95": 0,
"p98": 0,
"p99": 0,
"p999": 0
},
"rate": {
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
}
},
"other-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 0,
"max": 0,
"mean": 0,
"std_dev": 0,
"median": 0,
"p75": 0,
"p95": 0,
"p98": 0,
"p99": 0,
"p999": 0
},
"rate": {
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
}
},
"patch-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 0,
"max": 0,
"mean": 0,
"std_dev": 0,
"median": 0,
"p75": 0,
"p95": 0,
"p98": 0,
"p99": 0,
"p999": 0
},
"rate": {
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
}
},
"percent-4xx-15m": {
"type": "gauge",
"value": 3.3999441860005e-7
},
"percent-4xx-1m": {
"type": "gauge",
"value": 7.0416342123913e-98
},
"percent-4xx-5m": {
"type": "gauge",
"value": 6.6496428057872e-20
},
"percent-5xx-15m": {
"type": "gauge",
"value": 0
},
"percent-5xx-1m": {
"type": "gauge",
"value": 0
},
"percent-5xx-5m": {
"type": "gauge",
"value": 0
},
"post-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 0,
"max": 0,
"mean": 0,
"std_dev": 0,
"median": 0,
"p75": 0,
"p95": 0,
"p98": 0,
"p99": 0,
"p999": 0
},
"rate": {
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
}
},
"put-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 0,
"max": 0,
"mean": 0,
"std_dev": 0,
"median": 0,
"p75": 0,
"p95": 0,
"p98": 0,
"p99": 0,
"p999": 0
},
"rate": {
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
}
},
"requests": {
"type": "meter",
"event_type": "requests",
"unit": "seconds",
"count": 308,
"mean": 0.0011822444239317,
"m1": 0.015993143501748,
"m5": 0.0044630636144,
"m15": 0.0038671964454417
},
"resumes": {
"type": "meter",
"event_type": "requests",
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
},
"suspends": {
"type": "meter",
"event_type": "requests",
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
},
"trace-requests": {
"type": "timer",
"duration": {
"unit": "milliseconds",
"min": 0,
"max": 0,
"mean": 0,
"std_dev": 0,
"median": 0,
"p75": 0,
"p95": 0,
"p98": 0,
"p99": 0,
"p999": 0
},
"rate": {
"unit": "seconds",
"count": 0,
"mean": 0,
"m1": 0,
"m5": 0,
"m15": 0
}
}
},
"org.eclipse.jetty.util.thread.QueuedThreadPool": {
"active-threads": {
"type": "gauge",
"value": 8
},
"idle-threads": {
"type": "gauge",
"value": 6
},
"percent-idle": {
"type": "gauge",
"value": 0.75
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment