github.com/mackerelio/mackerel-agent-plugins@v0.89.3/mackerel-plugin-h2o/README.md (about)

     1  mackerel-plugin-h2o
     2  ===================
     3  
     4  H2O custom metrics plugin for mackerel.io agent.
     5  
     6  ## Synopsis
     7  
     8  ```shell
     9  mackerel-plugin-h2o [-header=<header>] [-host=<host>] [-path=<path>] [-port=<port>] [-scheme=<'http'|'https'>] [-tempfile=<tempfile>] [-uri=<uri>]
    10  ```
    11  
    12  ## Requirements
    13  
    14  - [Status Directives \- Configure \- H2O \- the optimized HTTP/2 server](https://h2o.examp1e.net/configure/status_directives.html#)
    15  
    16  ## Example of mackerel-agent.conf
    17  
    18  ```
    19  [plugin.metrics.h2o]
    20  command = "/path/to/mackerel-plugin-h2o"
    21  ```
    22  
    23  ## Graphs and Metrics
    24  
    25  ### h2o.uptime
    26  
    27  - h2o.uptime.uptime
    28  
    29  ### h2o.connections
    30  
    31  - h2o.connections.max_connections
    32  - h2o.connections.connections
    33  
    34  ### h2o.listeners
    35  
    36  - h2o.listeners.listeners
    37  
    38  ### h2o.worker_threads
    39  
    40  - h2o.worker_threads.worker_threads
    41  
    42  ### h2o.num_sessions
    43  
    44  - h2o.num_sessions.num_sessions
    45  
    46  ### h2o.requests
    47  
    48  - h2o.requests.requests
    49  
    50  ### h2o.status_errors
    51  
    52  - h2o.status_errors.status_errors_400
    53  - h2o.status_errors.status_errors_403
    54  - h2o.status_errors.status_errors_404
    55  - h2o.status_errors.status_errors_405
    56  - h2o.status_errors.status_errors_416
    57  - h2o.status_errors.status_errors_417
    58  - h2o.status_errors.status_errors_500
    59  - h2o.status_errors.status_errors_502
    60  - h2o.status_errors.status_errors_503
    61  
    62  ### h2o.http2_errors
    63  
    64  - h2o.http2_errors.http2_errors_protocol
    65  - h2o.http2_errors.http2_errors_internal
    66  - h2o.http2_errors.http2_errors_flow_control
    67  - h2o.http2_errors.http2_errors_settings_timeout
    68  - h2o.http2_errors.http2_errors_frame_size
    69  - h2o.http2_errors.http2_errors_refused_stream
    70  - h2o.http2_errors.http2_errors_cancel
    71  - h2o.http2_errors.http2_errors_compression
    72  - h2o.http2_errors.http2_errors_connect
    73  - h2o.http2_errors.http2_errors_enhance_your_calm
    74  - h2o.http2_errors.http2_errors_inadequate_security
    75  
    76  ### h2o.read_closed
    77  
    78  - h2o.read_closed.http2_read_closed
    79  
    80  ### h2o.write_closed
    81  
    82  - h2o.write_closed.http2_write_closed
    83  
    84  ### h1o.connect_time
    85  
    86  - h2o.connect_time.connect_time_0
    87  - h2o.connect_time.connect_time_25
    88  - h2o.connect_time.connect_time_50
    89  - h2o.connect_time.connect_time_75
    90  - h2o.connect_time.connect_time_99
    91  
    92  ### h2o.header_time
    93  
    94  - h2o.header_time.header_time_0
    95  - h2o.header_time.header_time_25
    96  - h2o.header_time.header_time_50
    97  - h2o.header_time.header_time_75
    98  - h2o.header_time.header_time_99
    99  
   100  ### h2o.body_time
   101  
   102  - h2o.body_time.body_time_0
   103  - h2o.body_time.body_time_25
   104  - h2o.body_time.body_time_50
   105  - h2o.body_time.body_time_75
   106  - h2o.body_time.body_time_99
   107  
   108  ### h2o.request_total_time
   109  
   110  - h2o.request_total_time.request_total_time_0
   111  - h2o.request_total_time.request_total_time_25
   112  - h2o.request_total_time.request_total_time_50
   113  - h2o.request_total_time.request_total_time_75
   114  - h2o.request_total_time.request_total_time_99
   115  
   116  ### h2o.process_time
   117  
   118  - h2o.process_time.process_time_0
   119  - h2o.process_time.process_time_25
   120  - h2o.process_time.process_time_50
   121  - h2o.process_time.process_time_75
   122  - h2o.process_time.process_time_99
   123  
   124  ### h2o.response_time
   125  
   126  - h2o.response_time.response_time_0
   127  - h2o.response_time.response_time_25
   128  - h2o.response_time.response_time_50
   129  - h2o.response_time.response_time_75
   130  - h2o.response_time.response_time_99
   131  
   132  ### h2o.duration
   133  
   134  - h2o.duration.duration_0
   135  - h2o.duration.duration_25
   136  - h2o.duration.duration_50
   137  - h2o.duration.duration_75
   138  - h2o.duration.duration_99