Whats a metric that combines % of errors with tot number of instancesDjango Model for storing Internet Usage StatsR YaleToolkit: How to change the font size of tick labels on the sparklines?Display percentage value as a fill in a custom shapeHow to extract coordinates to plot line segments connecting legend keys in ggplot2?Historical data using CubismHow to change the x axis in Graphite/Grafana (to graph by day)?Recommendations for creating wallboard-type displays using MSSQL data sourcesDiscretizing/binning of N-dimensional data in Matlab for visualization purposesHow to determine if there is a correlation between two unlike values in excel and plot them?Simulink: Plot Timeseries in a scope/block to visualize data

Alternative Uses of Bottomless Heat Sinks

Sucuri detects malware on wordpress but I can't find the malicious code

Homophone fills the blanks

What does it mean by "d-ism of Leibniz" and "dotage of Newton" in simple English?

How can I grammatically understand "Wir über uns"?

Is it grammatical to use "car" like this?

Is it possible to kill all life on Earth?

California: "For quality assurance, this phone call is being recorded"

How to decline physical affection from a child whose parents are pressuring them?

How can I offer a test ride while selling a bike?

Is there a way to save this session?

Why does my electric oven present the option of 40A and 50A breakers?

Unorthodox way of solving Einstein field equations

Computing the differentials in the Adams spectral sequence

Is the capacitor drawn or wired wrongly?

Do I add my ability modifier to the damage of the bonus-action attack granted by the Crossbow Expert feat?

How can Iron Man's suit withstand this?

Can I ask a publisher for a paper that I need for reviewing

Is American Express widely accepted in France?

Will dual-learning in a glider make my GA learning safer?

How can a single Member of the House block a Congressional bill?

Beginner's snake game using PyGame

Working in the USA for living expenses only; allowed on VWP?

What is a simple, physical situation where complex numbers emerge naturally?



Whats a metric that combines % of errors with tot number of instances


Django Model for storing Internet Usage StatsR YaleToolkit: How to change the font size of tick labels on the sparklines?Display percentage value as a fill in a custom shapeHow to extract coordinates to plot line segments connecting legend keys in ggplot2?Historical data using CubismHow to change the x axis in Graphite/Grafana (to graph by day)?Recommendations for creating wallboard-type displays using MSSQL data sourcesDiscretizing/binning of N-dimensional data in Matlab for visualization purposesHow to determine if there is a correlation between two unlike values in excel and plot them?Simulink: Plot Timeseries in a scope/block to visualize data






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I'm looking for a metric to use to track the severity of certain errors in our microservices.



E.g. read time outs against an external service. On the x-axis I would probably have timeintervalls, say every 10 minutes. On the y-axis the value of the metric.



At first I thought the value would be number of timed out requests. But that's not dead on since the number of time outs needs to be put into relation to the total number of requests.



So second I thought the percentage of timed out requests. But that's not perfect either, since a spike to 100% time outs would not be critical if the total number of requests were 1 during this intervall.



I'm sure this is a common scenario in logging and performance metrics visualization.










share|improve this question






















  • Your metric seems to the same for both instances, is the second bound by some time period? Both seem like an error rate. Can you get the amount of successful requests?

    – Nathan McCoy
    Mar 24 at 11:50











  • @NathanMcCoy Not sure I understand what you mean. The first is total number of errors per timeintervall. The second is tot.#.of.errors / tot.#.of.requests per timeintervall. Yes I have the amount of succesful requests.

    – tyrone copex
    Mar 24 at 12:35











  • Oh i see you would like a count, or a normalised form [0, 1]. I will try to respond below

    – Nathan McCoy
    Mar 24 at 18:30

















1















I'm looking for a metric to use to track the severity of certain errors in our microservices.



E.g. read time outs against an external service. On the x-axis I would probably have timeintervalls, say every 10 minutes. On the y-axis the value of the metric.



At first I thought the value would be number of timed out requests. But that's not dead on since the number of time outs needs to be put into relation to the total number of requests.



So second I thought the percentage of timed out requests. But that's not perfect either, since a spike to 100% time outs would not be critical if the total number of requests were 1 during this intervall.



I'm sure this is a common scenario in logging and performance metrics visualization.










share|improve this question






















  • Your metric seems to the same for both instances, is the second bound by some time period? Both seem like an error rate. Can you get the amount of successful requests?

    – Nathan McCoy
    Mar 24 at 11:50











  • @NathanMcCoy Not sure I understand what you mean. The first is total number of errors per timeintervall. The second is tot.#.of.errors / tot.#.of.requests per timeintervall. Yes I have the amount of succesful requests.

    – tyrone copex
    Mar 24 at 12:35











  • Oh i see you would like a count, or a normalised form [0, 1]. I will try to respond below

    – Nathan McCoy
    Mar 24 at 18:30













1












1








1








I'm looking for a metric to use to track the severity of certain errors in our microservices.



E.g. read time outs against an external service. On the x-axis I would probably have timeintervalls, say every 10 minutes. On the y-axis the value of the metric.



At first I thought the value would be number of timed out requests. But that's not dead on since the number of time outs needs to be put into relation to the total number of requests.



So second I thought the percentage of timed out requests. But that's not perfect either, since a spike to 100% time outs would not be critical if the total number of requests were 1 during this intervall.



I'm sure this is a common scenario in logging and performance metrics visualization.










share|improve this question














I'm looking for a metric to use to track the severity of certain errors in our microservices.



E.g. read time outs against an external service. On the x-axis I would probably have timeintervalls, say every 10 minutes. On the y-axis the value of the metric.



At first I thought the value would be number of timed out requests. But that's not dead on since the number of time outs needs to be put into relation to the total number of requests.



So second I thought the percentage of timed out requests. But that's not perfect either, since a spike to 100% time outs would not be critical if the total number of requests were 1 during this intervall.



I'm sure this is a common scenario in logging and performance metrics visualization.







data-visualization






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 24 at 11:44









tyrone copextyrone copex

63521428




63521428












  • Your metric seems to the same for both instances, is the second bound by some time period? Both seem like an error rate. Can you get the amount of successful requests?

    – Nathan McCoy
    Mar 24 at 11:50











  • @NathanMcCoy Not sure I understand what you mean. The first is total number of errors per timeintervall. The second is tot.#.of.errors / tot.#.of.requests per timeintervall. Yes I have the amount of succesful requests.

    – tyrone copex
    Mar 24 at 12:35











  • Oh i see you would like a count, or a normalised form [0, 1]. I will try to respond below

    – Nathan McCoy
    Mar 24 at 18:30

















  • Your metric seems to the same for both instances, is the second bound by some time period? Both seem like an error rate. Can you get the amount of successful requests?

    – Nathan McCoy
    Mar 24 at 11:50











  • @NathanMcCoy Not sure I understand what you mean. The first is total number of errors per timeintervall. The second is tot.#.of.errors / tot.#.of.requests per timeintervall. Yes I have the amount of succesful requests.

    – tyrone copex
    Mar 24 at 12:35











  • Oh i see you would like a count, or a normalised form [0, 1]. I will try to respond below

    – Nathan McCoy
    Mar 24 at 18:30
















Your metric seems to the same for both instances, is the second bound by some time period? Both seem like an error rate. Can you get the amount of successful requests?

– Nathan McCoy
Mar 24 at 11:50





Your metric seems to the same for both instances, is the second bound by some time period? Both seem like an error rate. Can you get the amount of successful requests?

– Nathan McCoy
Mar 24 at 11:50













@NathanMcCoy Not sure I understand what you mean. The first is total number of errors per timeintervall. The second is tot.#.of.errors / tot.#.of.requests per timeintervall. Yes I have the amount of succesful requests.

– tyrone copex
Mar 24 at 12:35





@NathanMcCoy Not sure I understand what you mean. The first is total number of errors per timeintervall. The second is tot.#.of.errors / tot.#.of.requests per timeintervall. Yes I have the amount of succesful requests.

– tyrone copex
Mar 24 at 12:35













Oh i see you would like a count, or a normalised form [0, 1]. I will try to respond below

– Nathan McCoy
Mar 24 at 18:30





Oh i see you would like a count, or a normalised form [0, 1]. I will try to respond below

– Nathan McCoy
Mar 24 at 18:30












1 Answer
1






active

oldest

votes


















0














From what I understand, errors on your microservices could be calculated as follows:



Time-Out Error Metrics



Time-Out Error Count [TOEC]



This is just a raw count, of how many time out errors you have.



This will be bound by some time interval, say every 10 min.



TOEC = count of time-out requests in interval


Time-Out Error Proportion [TOEP]



This is a proportion of time-out requests errors you have.



This will be bount by some time interval, say every 10 min.



TOEP = count of time-out requests in interval / count of all requests in interval


This is a type of [error rate](https://en.wikipedit a.org/wiki/Error_rate)



Other Metrics



There are other standard metrics, There might be some that look of interest to you here Wikipedia: Precision and recall



I have a feeling there may be other types of errors and successes in your domain, if you look at the wikipedia article, and without more information, I believe your time-out errors are equivalent to TN which are True Negatives.



If you can define the other ones (FN, FP, TP) you could in theory use any of the standard metrics on the wikipedia article. This would give you a lot of information about how to interpret how well your microservice is performing.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55323442%2fwhats-a-metric-that-combines-of-errors-with-tot-number-of-instances%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    From what I understand, errors on your microservices could be calculated as follows:



    Time-Out Error Metrics



    Time-Out Error Count [TOEC]



    This is just a raw count, of how many time out errors you have.



    This will be bound by some time interval, say every 10 min.



    TOEC = count of time-out requests in interval


    Time-Out Error Proportion [TOEP]



    This is a proportion of time-out requests errors you have.



    This will be bount by some time interval, say every 10 min.



    TOEP = count of time-out requests in interval / count of all requests in interval


    This is a type of [error rate](https://en.wikipedit a.org/wiki/Error_rate)



    Other Metrics



    There are other standard metrics, There might be some that look of interest to you here Wikipedia: Precision and recall



    I have a feeling there may be other types of errors and successes in your domain, if you look at the wikipedia article, and without more information, I believe your time-out errors are equivalent to TN which are True Negatives.



    If you can define the other ones (FN, FP, TP) you could in theory use any of the standard metrics on the wikipedia article. This would give you a lot of information about how to interpret how well your microservice is performing.






    share|improve this answer



























      0














      From what I understand, errors on your microservices could be calculated as follows:



      Time-Out Error Metrics



      Time-Out Error Count [TOEC]



      This is just a raw count, of how many time out errors you have.



      This will be bound by some time interval, say every 10 min.



      TOEC = count of time-out requests in interval


      Time-Out Error Proportion [TOEP]



      This is a proportion of time-out requests errors you have.



      This will be bount by some time interval, say every 10 min.



      TOEP = count of time-out requests in interval / count of all requests in interval


      This is a type of [error rate](https://en.wikipedit a.org/wiki/Error_rate)



      Other Metrics



      There are other standard metrics, There might be some that look of interest to you here Wikipedia: Precision and recall



      I have a feeling there may be other types of errors and successes in your domain, if you look at the wikipedia article, and without more information, I believe your time-out errors are equivalent to TN which are True Negatives.



      If you can define the other ones (FN, FP, TP) you could in theory use any of the standard metrics on the wikipedia article. This would give you a lot of information about how to interpret how well your microservice is performing.






      share|improve this answer

























        0












        0








        0







        From what I understand, errors on your microservices could be calculated as follows:



        Time-Out Error Metrics



        Time-Out Error Count [TOEC]



        This is just a raw count, of how many time out errors you have.



        This will be bound by some time interval, say every 10 min.



        TOEC = count of time-out requests in interval


        Time-Out Error Proportion [TOEP]



        This is a proportion of time-out requests errors you have.



        This will be bount by some time interval, say every 10 min.



        TOEP = count of time-out requests in interval / count of all requests in interval


        This is a type of [error rate](https://en.wikipedit a.org/wiki/Error_rate)



        Other Metrics



        There are other standard metrics, There might be some that look of interest to you here Wikipedia: Precision and recall



        I have a feeling there may be other types of errors and successes in your domain, if you look at the wikipedia article, and without more information, I believe your time-out errors are equivalent to TN which are True Negatives.



        If you can define the other ones (FN, FP, TP) you could in theory use any of the standard metrics on the wikipedia article. This would give you a lot of information about how to interpret how well your microservice is performing.






        share|improve this answer













        From what I understand, errors on your microservices could be calculated as follows:



        Time-Out Error Metrics



        Time-Out Error Count [TOEC]



        This is just a raw count, of how many time out errors you have.



        This will be bound by some time interval, say every 10 min.



        TOEC = count of time-out requests in interval


        Time-Out Error Proportion [TOEP]



        This is a proportion of time-out requests errors you have.



        This will be bount by some time interval, say every 10 min.



        TOEP = count of time-out requests in interval / count of all requests in interval


        This is a type of [error rate](https://en.wikipedit a.org/wiki/Error_rate)



        Other Metrics



        There are other standard metrics, There might be some that look of interest to you here Wikipedia: Precision and recall



        I have a feeling there may be other types of errors and successes in your domain, if you look at the wikipedia article, and without more information, I believe your time-out errors are equivalent to TN which are True Negatives.



        If you can define the other ones (FN, FP, TP) you could in theory use any of the standard metrics on the wikipedia article. This would give you a lot of information about how to interpret how well your microservice is performing.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 24 at 18:43









        Nathan McCoyNathan McCoy

        1,4071230




        1,4071230





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid …


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55323442%2fwhats-a-metric-that-combines-of-errors-with-tot-number-of-instances%23new-answer', 'question_page');

            );

            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







            Popular posts from this blog

            How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

            Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?