Dropwizard gauge frequency

Multi tool use
up vote
0
down vote
favorite
I am using dropwizard gauge functionality in my code as following :
private AtomicInteger heapUsageAfterCollectionThresholdExceeded;
new Gauge<Integer>() {
@Override
public Integer getValue()
return heapUsageThresholdExceeded.get();
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:
- Why is a integer gauge reported as a decimal value ?
- How often does drop wizard measure/push the metric for a registered gauge ?
ref : https://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Gauge.html
java dropwizard graphite gauge
add a comment |
up vote
0
down vote
favorite
I am using dropwizard gauge functionality in my code as following :
private AtomicInteger heapUsageAfterCollectionThresholdExceeded;
new Gauge<Integer>() {
@Override
public Integer getValue()
return heapUsageThresholdExceeded.get();
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:
- Why is a integer gauge reported as a decimal value ?
- How often does drop wizard measure/push the metric for a registered gauge ?
ref : https://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Gauge.html
java dropwizard graphite gauge
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using dropwizard gauge functionality in my code as following :
private AtomicInteger heapUsageAfterCollectionThresholdExceeded;
new Gauge<Integer>() {
@Override
public Integer getValue()
return heapUsageThresholdExceeded.get();
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:
- Why is a integer gauge reported as a decimal value ?
- How often does drop wizard measure/push the metric for a registered gauge ?
ref : https://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Gauge.html
java dropwizard graphite gauge
I am using dropwizard gauge functionality in my code as following :
private AtomicInteger heapUsageAfterCollectionThresholdExceeded;
new Gauge<Integer>() {
@Override
public Integer getValue()
return heapUsageThresholdExceeded.get();
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:
- Why is a integer gauge reported as a decimal value ?
- How often does drop wizard measure/push the metric for a registered gauge ?
ref : https://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Gauge.html
java dropwizard graphite gauge
java dropwizard graphite gauge
asked Nov 11 at 1:32
Waleed
93211
93211
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245086%2fdropwizard-gauge-frequency%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3mi7PnEWxTArS,r5oN v 2cUpUsI Jw7K,BtaaDmfRW,P0VU7 B4Ti