librato / librato-python-web

Report key app statistics to the Librato Metrics service
Other
4 stars 4 forks source link

Fix for pop from an empty list error #36

Closed vaidyg closed 8 years ago

vaidyg commented 8 years ago

Addresses the issue below, which was unsuccessful in reproducing. https://github.com/librato/librato-python-web/issues/34

This is a soft fix, which seems okay since tags don't propagate through the metrics pipeline yet. Although it isn't the case here, apps can theoretically mess up the stack via the API, hence it is good to make hard assumptions about its state.