{"id":15393891,"url":"https://github.com/mitchellh/lifeguard-graphite","last_synced_at":"2025-10-16T08:13:17.001Z","repository":{"id":3532209,"uuid":"4591691","full_name":"mitchellh/lifeguard-graphite","owner":"mitchellh","description":"Data source plugin for Lifeguard to query data from Graphite.","archived":false,"fork":false,"pushed_at":"2012-06-19T21:32:34.000Z","size":244,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T03:34:36.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitchellh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-07T23:24:59.000Z","updated_at":"2019-11-09T02:35:59.000Z","dependencies_parsed_at":"2022-08-29T11:41:17.748Z","dependency_job_id":null,"html_url":"https://github.com/mitchellh/lifeguard-graphite","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/mitchellh%2Flifeguard-graphite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Flifeguard-graphite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Flifeguard-graphite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Flifeguard-graphite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitchellh","download_url":"https://codeload.github.com/mitchellh/lifeguard-graphite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252345359,"owners_count":21733096,"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-01T15:20:42.430Z","updated_at":"2025-10-16T08:13:11.946Z","avatar_url":"https://github.com/mitchellh.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Lifeguard Graphite Data Source\n\nThis is a [Lifeguard](https://github.com/mitchellh/lifeguard) plugin that\nadds a data source for accessing information from [Graphite](http://graphite.wikidot.com/).\n\n## Installation\n\nTo install the plugin, compile it and generate the release folder:\n\n    $ make deps\n    $ make rel\n\nThere will now be a folder `rel/lifeguard_graphite`. Copy this folder\ninto your Lifeguard plugin directory and add `lifeguard_graphite` to the\nlist of enabled plugins for Lifeguard. That's it!\n\n## Usage\n\nOnce the plugin is installed, you can use the graphite data source with\nyour watches. Example to enable this in your `sys.config` to point at\na Graphite installation that is hosted at \"graph.my-company.com\":\n\n```erlang\n{data_sources, [\n    {\"graphite\", lifeguard_ds_graphite, [[\n          {host, \"graph.my-company.com\"}\n        ]]}\n  ]},\n{plugins, [lifeguard_graphite]}\n```\n\nThen, you can query it like this from a watch:\n\n```javascript\n// Get the numbers for the past 10 minutes of the \"app.http.200\" graph\nvar data = Lifeguard.get(\"graphite\", {\n    target: \"app.http.200\",\n    from:   \"-10minutes\"\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Flifeguard-graphite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellh%2Flifeguard-graphite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Flifeguard-graphite/lists"}