beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Chambers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-1616) Gauge Metric type
Date Mon, 06 Mar 2017 22:23:33 GMT

    [ https://issues.apache.org/jira/browse/BEAM-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898267#comment-15898267
] 

Ben Chambers commented on BEAM-1616:
------------------------------------

I believe the other metrics have solved/documented this:

Attempted = "Aggregate across all attempts at bundles"
Committed = "Aggregate across all committed attempts at bundles"

The point is that the general use case of a Gauge as a "I sampled this value at this point
in time" doesn't fit that model of aggregation.

So maybe it is enough to say that for a gauge, the attempted = committed = the latest value
observed?

> Gauge Metric type
> -----------------
>
>                 Key: BEAM-1616
>                 URL: https://issues.apache.org/jira/browse/BEAM-1616
>             Project: Beam
>          Issue Type: New Feature
>          Components: beam-model, sdk-java-core, sdk-py
>            Reporter: Aviem Zur
>            Assignee: Ben Chambers
>
> Add support for Gauge metric type to the SDK.
> This will serve to get the last value reported.
> Interface should be along the lines of:
> {code}
> void set(long value);
> {code}
> Compare to http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/Gauge.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message