Graphite webapp tree browser does not show metrics with leaf names matching intermediate node names
Imported from https://bugs.launchpad.net/bugs/814182
| Reported by | noslowerdna |
| Date Created | Jul 21, 2011 |
On version 0.9.8 I noticed the following behavior in the webapp.
Given two metrics where one metric is a prefix of the other, e.g. stats.test.documents and stats.test.documents.viewable, only the metric with the longer name (e.g. stats.test.documents.viewable) is visible in the tree browser. The 'documents' leaf is apparently clobbered or hidden by the 'documents' folder.
On the filesystem I can see that the documents directory (containing viewable.wsp) and the documents.wsp file both exist, so it appears that carbon is correctly tracking both metrics.
Comment by chrismd on Sep 25, 2011:
Deferring this til after 0.9.9 when I'll be merging in the completely refactored storage API from the 1.1 branch.
@tmm1 IIRC this is the bug we investigated during my interview. We found that the rendering is tightly coupled to element id's in the DOM, at least afa the composer is concerned. Please correct me if I'm mistaken.
/cc @sshirokov @sckevmit
Confirmed this bug still exists in 0.9.12.
ref #536
What would be the impact if we coudln't say:
if is_leaf(node):
[blah]
else:
[is a branch]
It seems like it'd mean re-defining a node to have a property, meaning "contains_data" to separate the purpose of navigating the tree from returning data.
Hello, are there any workarounds for this? Thanks.
:+1: hit this as well
We hit this too, still present on 0.9.15 from EPEL.
Yes, this is a known bug that isn't likely to get fixed without a major redesign of the Composer UI.
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.