prometheus/prometheus — pull request #132 by juliusv (2013-04-11 16:20:04+00:00)
Title: Make LevelDB sample keys fixed-length to ensure correct sort-order.

The default LevelDB comparator sorts not only lexicographically, but also by
key length (which takes precedence). Thus, all variable-length fields must be
eliminated from the key to ensure the expected lexicographical key sorting.