-
Notifications
You must be signed in to change notification settings - Fork 1
Categorize weighted hashes using a Domain Specific Language
book/Hash-Weighted-Categorize
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Hash::Weighted::Categorize DESCRIPTION Hash::Weighted::Categorize is a tool to easily create scoring functions (think monitoring) based on a simple mini-language. A Hash::Weighted::Categorize object is a parser for this mini-language, that will return coderefs implementing a scoring function written in this language. DOMAIN SPECIFIC LANGUAGE The *domain specific language* parsed by Hash::Weighted::Categorize is intentionnaly very simple. Here is an example: %OK > 90%, %CRIT < .1: OK; %CRIT > 50%: CRIT; %CRIT > 25%: WARN; UNKN; ACKNOWLEDGMENTS This module was originally developed for Booking.com. With approval from Booking.com, this module was generalized and put on CPAN, for which the author would like to express his gratitude. This module is the result of scratching my colleague Menno Blom's itch during a company-sponsored hackathon. Thanks to everyone involved. COPYRIGHT Copyright 2013 Philippe Bruhat (BooK), all rights reserved. LICENSE This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
About
Categorize weighted hashes using a Domain Specific Language
Resources
Stars
Watchers
Forks
Packages 0
No packages published