{"id":18006079,"url":"https://github.com/brianhicks/promtree","last_synced_at":"2025-11-08T19:32:16.717Z","repository":{"id":138123423,"uuid":"87444882","full_name":"BrianHicks/promtree","owner":"BrianHicks","description":"a quick and dirty `tree` for prometheus services","archived":false,"fork":false,"pushed_at":"2017-04-06T15:32:18.000Z","size":192,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T06:07:44.543Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrianHicks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-06T15:25:02.000Z","updated_at":"2017-04-06T15:40:17.000Z","dependencies_parsed_at":"2023-03-15T22:45:25.198Z","dependency_job_id":null,"html_url":"https://github.com/BrianHicks/promtree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianHicks%2Fpromtree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianHicks%2Fpromtree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianHicks%2Fpromtree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianHicks%2Fpromtree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrianHicks","download_url":"https://codeload.github.com/BrianHicks/promtree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247166143,"owners_count":20894652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T00:23:12.831Z","updated_at":"2025-11-08T19:32:16.678Z","avatar_url":"https://github.com/BrianHicks.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `promtree`\n\na quick and dirty `tree` for prometheus services\n\n![](promtree.png)\n\n## Usage\n\n    promtop.sh localhost/metrics\n    \n## How Rough Is This?\n\nWell, it's pretty rough.\n\nTo get the tree shown above, it:\n\n1. Gets all the metrics\n2. Filters out the comments\n3. Replaces `_` with `/`\n4. Writes those \"directories\" to a tempdir\n5. Runs `tree` on the tempdir\n6. Deletes the tempdir\n\nSo you probably don't want to do anything serious with this. It's a pretty hacky hack, as hacks go.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianhicks%2Fpromtree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianhicks%2Fpromtree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianhicks%2Fpromtree/lists"}