{"id":13782242,"url":"https://github.com/bscott/chef-handler-librato","last_synced_at":"2025-05-11T15:32:17.527Z","repository":{"id":3687479,"uuid":"4757723","full_name":"bscott/chef-handler-librato","owner":"bscott","description":"Chef Handler to send metrics to Librato","archived":false,"fork":false,"pushed_at":"2017-01-16T20:46:25.000Z","size":488,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T10:14:17.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/bscott.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-23T01:35:20.000Z","updated_at":"2020-09-11T19:04:31.000Z","dependencies_parsed_at":"2022-09-15T16:11:33.507Z","dependency_job_id":null,"html_url":"https://github.com/bscott/chef-handler-librato","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/bscott%2Fchef-handler-librato","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bscott%2Fchef-handler-librato/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bscott%2Fchef-handler-librato/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bscott%2Fchef-handler-librato/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bscott","download_url":"https://codeload.github.com/bscott/chef-handler-librato/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253588672,"owners_count":21932300,"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-08-03T18:01:34.368Z","updated_at":"2025-05-11T15:32:17.173Z","avatar_url":"https://github.com/bscott.png","language":"Ruby","readme":"chef-handler-librato\n\n====================\n#### Build Status\n[![Build Status](https://travis-ci.org/bscott/chef-handler-librato.svg)](https://travis-ci.org/bscott/chef-handler-librato)\n\n====================\n\nChef Handler to send metrics to Librato metrics!\n\n##Description\n\nThis is a simple Chef report handler that reports status of a Chef run through librato.\n\n    http://wiki.opscode.com/display/chef/Exception+and+Report+Handlers\n\nRequirements:\n\n\nThere are two ways to use Chef Handlers.\n\n##Method 1\n\nYou can install the RubyGem ahead of time, and configure Chef to use them. To do so:\n\n\tgem install chef-handler-librato\n\nThen add to the configuration (/etc/chef/solo.rb for chef-solo or /etc/chef/client.rb for chef-client):\n\n\trequire \"chef-handler-librato\"\n\n##### Configure the handler:\n\n\tlibrato_handler = LibratoReporting.new\n\n#### Arguments:\n\n#### Email and Api_key arguments\n\n\tlibrato_handler.email = \"user@domain.com\"\n\tlibrato_handler.api_key = \"667hhff544300096423345\"\n\n\n\n### Add your handler:\n\n\treport_handlers \u003c\u003c librato_handler\n\texception_handlers \u003c\u003c librato_handler\n\n##Method 2\n\nUse the chef_handler cookbook by Opscode. Create a recipe with the following:\n\n##### Install the `chef-handler-librato` RubyGem during the compile phase\n\n\tgem_package \"chef-handler-librato\" do\n \t action :nothing\n  \tend.run_action(:install)\n  \nor \n\n\tchef_gem \"chef-handler-librato\" # This workd with Chef-0.10.10 or higher\n\n### Activate the handler with the `chef_handler` LWRP\n\n\targument_array = [\n\t:metric_type =\u003e \"counter\" ,\n\t:email =\u003e \"user@domain.com\",\n\t:api_key =\u003e \"c544637891cf5498f9efac33257689rtt57777894\" \n\t]\n\t\n\n\tchef_handler \"LibratoReporting\" do\n\t\t source Gem.find_files.(chef/chef_handler_librato).first\n \t\t arguments argument_array\n  \t\t action :nothing\n\tend.run_action(:enable)\n\n\nPatches welcome, just send me a pull request!\n\nAuthor:\n\n* Brian Scott (brainscott@gmail.com)\n\nContributions:\n\n* [Pete Cheslock](https://github.com/petecheslock)\n* [Jesse Nelson](https://github.com/spheromak)\n* [Mike Juarez](https://github.com/mjuarez)\n","funding_links":[],"categories":["Chef handlers"],"sub_categories":["Resources - Application configuration"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbscott%2Fchef-handler-librato","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbscott%2Fchef-handler-librato","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbscott%2Fchef-handler-librato/lists"}