1
0
mirror of https://github.com/divan/expvarmon.git synced 2025-04-29 13:49:19 +08:00

11 Commits

Author SHA1 Message Date
Ivan Daniluk
5514921bcd Add float64 for time.Duration fields 2016-11-06 17:18:43 +01:00
Marty Schoch
e7f60e5a45 allow escaping the dot character in paths using a backslash
Occasionally expvar output contains keys that are hostnames,
IP addresses, or filenames that contain the "." character.  For
example:

{
  "bleve": {
    "bootDuration": 16559,
    "indexes": {
      "bench.bleve": {
        "index": {
          "analysis_time": 10889841135,
          "batches": 145,
          "deletes": 0,
          "errors": 0,
          "index_time": 21277401883,
          "lookup_queue_len": 0,
          "updates": 14500
        },
        "search_time": 0,
        "searches": 0
      }
    }
  }
...
}

I can now chart the lookup_queue_len value using the var:

bleve.indexes.bench\.bleve.index.lookup_queue_len

This partially addresses #11 (still does not escape colon character).
2015-12-01 16:53:13 -05:00
Ivan Daniluk
97633e09ab Comment 2015-05-03 19:04:17 +03:00
Ivan Daniluk
672a4f9170 Added simple duration rounding 2015-05-03 00:00:05 +03:00
Ivan Daniluk
9b291c4cba Hardcode float64 output precision to .2 2015-05-02 22:45:33 +03:00
Ivan Daniluk
19b35b2a39 Added Max() functionality 2015-05-02 22:29:02 +03:00
Ivan Daniluk
191559f45e Added String var kind 2015-05-02 21:43:32 +03:00
Ivan Daniluk
bbb021723c VarKind rename 2015-05-02 20:12:53 +03:00
Ivan Daniluk
5df150ee84 UI changes 2015-05-02 10:22:49 +03:00
Ivan Daniluk
a20c2b2fa0 Introduced kind: modifier 2015-05-02 10:12:38 +03:00
Ivan Daniluk
06c13f15f9 UI refactor 2015-05-01 18:48:34 +03:00