Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support paths like cb.ops.pools.127.0.0.1:11210.count #11

Open
zgramana opened this issue Oct 19, 2015 · 1 comment
Open

Support paths like cb.ops.pools.127.0.0.1:11210.count #11

zgramana opened this issue Oct 19, 2015 · 1 comment

Comments

@zgramana
Copy link

We have some expvars that are exported a dictionaries where the keys are IP addresses in dotted quad notation. Currently, AFAICT, these cannot be displayed by expvarmon.

@divan
Copy link
Owner

divan commented Oct 29, 2015

Can you provide an example JSON output of /debug/vars?

mschoch added a commit to mschoch/expvarmon that referenced this issue Dec 1, 2015
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants