title: Dropwizard gauge frequency
body: <p>I am using dropwizard gauge functionality in my code as following : </p>
  
  <pre><code>    private AtomicInteger heapUsageAfterCollectionThresholdExceeded;
  
         new Gauge&lt;Integer&gt;() {
          @Override
          public Integer getValue() {
              return heapUsageThresholdExceeded.get();
          }
  </code></pre>
  
  <p>Now this starts pushing the value of heapUsageThresholdExceeded to graphite. I was expecting to see integer  values in graphite. But in graphite I see the value reported as a decimal point value (0.15). I have following questions:</p>
  
  <ol>
  <li>Why is a integer gauge reported as a decimal value ?</li>
  <li>How often does drop wizard measure/push the metric for a registered gauge ?</li>
  </ol>
  
  <p>ref : <a href="https://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Gauge.html" rel="nofollow noreferrer">https://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Gauge.html</a></p>