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

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript