Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Module: Misk Web Module

[Module Documentation Pending]

Metrics

Network - Inbound

This module automatically generates metrics for inbound network calls. These metrics are defined by the MetricsInterceptor class, and are as follows:

Metric Slug Description Labels Type
Request Latency Summary http_request_latency_ms count and duration in ms of incoming web requests Action,Caller,Status Code Summary
Request Latency Histogram histo_http_request_latency_ms count and duration in ms of incoming web requests Action,Caller,Status Code Histogram

Network - Outbound

This module automatically generates metrics for outbound network calls. These metrics are defined by the ClientMetricsInterceptor class, and are as follows:

Metric Slug Description Labels Type
Request Latency Summary client_http_request_latency_ms count and duration in ms of outgoing client requests Action, Status Code Summary
Request Latency Histogram histo_client_http_request_latency_ms histogram in ms of outgoing client requests Action, Status Code Histogram

Note: Not every client is compatible with this module. For more details check GrpcClientProvider.

Network - Jetty

This module automatically generates metrics for Jetty Web Server. These metrics are defined by the ConnectionMetrics class, and are as follows:

Metric Slug Description Labels Type
Total Connections http_connections_total total number of connections accepted by jetty Protocol, Port Counter
Connection Duration http_connection_duration_ms average duration a incoming jetty connection is held open (in ms) Protocol, Port Histogram
Active Connections http_connections_active number of currently active connections in jetty Protocol, Port Gauge
Bytes Received http_bytes_recvd_total total count of bytes received by jetty Protocol, Port Counter
Bytes Sent http_bytes_sent_total total count of bytes sent through jetty Protocol, Port Counter
Messages Received http_msgs_recvd_total total count of HTTP messages received by jetty Protocol, Port Counter
Messages Sent http_msgs_sent_total total count of HTTP messages sent by jetty Protocol, Port Counter

SubModule: Monitoring Module

[SubModule Documentation Pending]

Metrics

JVM

This submodule automatically generates jvm-related metrics. These metrics are defined by the JVMMetrics class, and are as follows:

Metric Slug Description Labels Type
JVM Uptime Summary jvm_uptime_ms JVM uptime in milliseconds Gauge

Submodule: Pause Detector Module

[SubModule Documentation Pending]

Metrics

JVM Hiccups

This submodule automatically generates jvm-hiccup metrics. These metrics are defined by the PauseDetector class, and are as follows:

Metric Slug Description Labels Type
JVM "hiccup" summary jvm_pause_time_summary_ms Summary in ms of pause time Summary
JVM "hiccup" peak jvm_pause_time_peak_ms Peak gauge of pause time Gauge (with reset time to show peaks)