forked from divan/expvarmon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 divan#11 (still does not escape colon character).
- Loading branch information
Showing
2 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters