Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Distribution Support to Semantic-metrics. #78

Open
ao2017 opened this issue Aug 20, 2020 · 0 comments
Open

Add Distribution Support to Semantic-metrics. #78

ao2017 opened this issue Aug 20, 2020 · 0 comments
Assignees
Labels
hist-with-distribution-data Add distribution support to heroic related tasks level:advanced type:enhancement New feature or request

Comments

@ao2017
Copy link
Contributor

ao2017 commented Aug 20, 2020

We are adding distribution support to Heroic so we can provide stat on actual data distribution as oppose to local source stat.
Semantic Metrics is an adaptation of com.codahale.metrics so we are essentially extending that library.
We will be adding these two interfaces.

public interface Distribution extends Metric, Counting {

    /**
     * Record value from Min.Double to Max.Double.
     * @param val
     */
    void record(double val);

    /**
     * Return serialized distribution and flush.
     * @return
     */
    ByteBuffer getValueAndFlush();

}


public interface MetricRegistryListener extends com.codahale.metrics.MetricRegistryListener { // add code  with distribution support}

The actual implementation of Distribution will be a Tdigest wrapper.

@sming sming self-assigned this Aug 27, 2020
@ao2017 ao2017 added type:enhancement New feature or request level:advanced labels Sep 2, 2020
@ao2017 ao2017 added the hist-with-distribution-data Add distribution support to heroic related tasks label Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hist-with-distribution-data Add distribution support to heroic related tasks level:advanced type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants