{"action":"created","issue":{"url":"https://api.github.com/repos/facette/facette/issues/358","repository_url":"https://api.github.com/repos/facette/facette","labels_url":"https://api.github.com/repos/facette/facette/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/facette/facette/issues/358/comments","events_url":"https://api.github.com/repos/facette/facette/issues/358/events","html_url":"https://github.com/facette/facette/issues/358","id":334446154,"node_id":"MDU6SXNzdWUzMzQ0NDYxNTQ=","number":358,"title":"sub-collections not shown when using collections/alias","user":{"login":"arlt","id":2340176,"node_id":"MDQ6VXNlcjIzNDAxNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/2340176?v=4","gravatar_id":"","url":"https://api.github.com/users/arlt","html_url":"https://github.com/arlt","followers_url":"https://api.github.com/users/arlt/followers","following_url":"https://api.github.com/users/arlt/following{/other_user}","gists_url":"https://api.github.com/users/arlt/gists{/gist_id}","starred_url":"https://api.github.com/users/arlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlt/subscriptions","organizations_url":"https://api.github.com/users/arlt/orgs","repos_url":"https://api.github.com/users/arlt/repos","events_url":"https://api.github.com/users/arlt/events{/privacy}","received_events_url":"https://api.github.com/users/arlt/received_events","type":"User","site_admin":false},"labels":[{"id":72223341,"node_id":"MDU6TGFiZWw3MjIyMzM0MQ==","url":"https://api.github.com/repos/facette/facette/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":72223403,"node_id":"MDU6TGFiZWw3MjIyMzQwMw==","url":"https://api.github.com/repos/facette/facette/labels/Question","name":"Question","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-21T11:10:27Z","updated_at":"2018-07-23T15:05:53Z","closed_at":"2018-07-21T16:43:10Z","author_association":"NONE","body":"Example folder structure of my rrds (compact version):\r\n\r\n```\r\n`-- host.domain.tld\r\n    |-- load\r\n    |   `-- load.rrd\r\n    |-- memory\r\n    |   |-- memory-buffered.rrd\r\n    |   |-- memory-cached.rrd\r\n    |   |-- memory-free.rrd\r\n    |   |-- memory-slab_recl.rrd\r\n    |   |-- memory-slab_unrecl.rrd\r\n    |   `-- memory-used.rrd\r\n    `-- processes\r\n        |-- fork_rate.rrd\r\n        |-- ps_state-blocked.rrd\r\n        |-- ps_state-paging.rrd\r\n        |-- ps_state-running.rrd\r\n        |-- ps_state-sleeping.rrd\r\n        |-- ps_state-stopped.rrd\r\n        `-- ps_state-zombies.rrd\r\n...\r\n```\r\n\r\nI create the facette config this way from these rrds (you can see the script the end of #266):\r\n\r\n- create all graphs (all rrds)\r\n- create level 1 collection for each fqdn\r\n  - \"alias\" is set to the fqdn\r\n  - with entries: two graphs (load+memory-free)\r\n- create level 2 collection for each rrd-folder (e.g. load memory)\r\n  - \"parent\" is set to the id (from \"Location:\" output) of created level 1 collection (fqdn)\r\n  - with entries: all rrds from the folder as graph\r\n\r\nIf i browse my facette, all is fine:\r\n- collection level 1 (fqdns) - if i click on the fqdn collection:\r\n  - both graphs are shown\r\n  - level 2 collection can be seen\r\n\r\n\"Screenshot\" url `/browse/`:\r\n\r\n```\r\nBrowse\r\n  host.domain.tdl\r\n  |--  load\r\n  |--  memory\r\n  `--  processes\r\n```\r\n\r\n\"Screenshot\" url `/collections/0a815100-c5b2-ba23-6d6d-e43bd0caf4c8`:\r\n\r\n```\r\nBrowse\r\n<- Go to home page\r\n  load\r\n  memory\r\n  processes\r\n```\r\n\r\nBut if i change the url from `collections/<id>` to `collections/<alias>` the two graphs can be seen but the level 2 collection at the left side is missing.\r\n\r\n\"Screenshot\" url `/collections/host.domain.tld`:\r\n\r\n```\r\nBrowse\r\n<- Go to home page\r\n```\r\n\r\nI am not sure if this is a self-made problem or an issue in facette."},"comment":{"url":"https://api.github.com/repos/facette/facette/issues/comments/407090651","html_url":"https://github.com/facette/facette/issues/358#issuecomment-407090651","issue_url":"https://api.github.com/repos/facette/facette/issues/358","id":407090651,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzA5MDY1MQ==","user":{"login":"arlt","id":2340176,"node_id":"MDQ6VXNlcjIzNDAxNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/2340176?v=4","gravatar_id":"","url":"https://api.github.com/users/arlt","html_url":"https://github.com/arlt","followers_url":"https://api.github.com/users/arlt/followers","following_url":"https://api.github.com/users/arlt/following{/other_user}","gists_url":"https://api.github.com/users/arlt/gists{/gist_id}","starred_url":"https://api.github.com/users/arlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlt/subscriptions","organizations_url":"https://api.github.com/users/arlt/orgs","repos_url":"https://api.github.com/users/arlt/repos","events_url":"https://api.github.com/users/arlt/events{/privacy}","received_events_url":"https://api.github.com/users/arlt/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T15:05:53Z","updated_at":"2018-07-23T15:05:53Z","author_association":"NONE","body":"@vbatoufflet @falzm I am sorry, but i get the same result as before.\r\nTested here with Ubuntu 16.04 and the new 0.4.1-1 deb-file - recreated all with the script., restarted apache and used the browser in private mode.\r\nShould i open a new issue or can you reopen it, please?"}}
{"actor":{"display_login":"arlt"}}