beberlei / metrics

Simple library that abstracts different metrics collectors. I find this necessary to have a consistent and simple metrics (functional) API that doesn't cause vendor lock-in.
316 stars 38 forks source link

Sets instance variables on InMemory collector to be protected #74

Open jnbeaver opened 5 years ago

jnbeaver commented 5 years ago

In order to prove out some basic metrics collection, I wanted to extend the InMemory class and customize the behavior of flush. This PR just makes the instance variables of InMemory protected so that I'm able to access them in my flush implementation.