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

Unable to add metric with a name that contains % symbol to a dashboard #1294

Closed
LeonidVasilyev opened this issue Aug 13, 2015 · 4 comments
Closed
Labels

Comments

@LeonidVasilyev
Copy link

I'm using Graphite version 0.9.12 hosted on Ubuntu Server 14.04.
Metric example: vstest_executionengine_x86.System.CPU_Usage-%
Following error is logged to a console:

Uncaught URIError: URI malformed
    (anonymous function) @ ext-base.js:7
    Ext.apply.each @ ext-base.js:7
    Ext.apply.urlDecode @ ext-base.js:7
    graphAreaToggle @ dashboard.js:918
    Ext.grid.GridPanel.listeners.rowclick @ dashboard.js:304
    h.Event.fire @ ext-all.js:7
    h.Observable.fireEvent @ ext-all.js:7
    Ext.grid.GridView.Ext.extend.processEvent @ ext-all.js:11
    Ext.grid.GridPanel.Ext.extend.processEvent @ ext-all.js:11
    Ext.grid.GridPanel.Ext.extend.onClick @ ext-all.js:11
    J @ ext-all.js:7
@obfuscurity
Copy link
Member

That's an invalid character for metric names. Better to use something like pct.

@LeonidVasilyev
Copy link
Author

@obfuscurity strange that it works fine in Graph Composer. Is it documented somewhere which characters are valid and which are not?
I use Metrics.NET library which use this notation by default

@obfuscurity
Copy link
Member

Hmm, that's unexpected. Sorry, I'll reopen this so we can investigate further.

@obfuscurity obfuscurity reopened this Aug 13, 2015
@stale
Copy link

stale bot commented Apr 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 14, 2020
@stale stale bot closed this as completed Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants