Giter Site home page Giter Site logo

Comments (9)

daxmc99 avatar daxmc99 commented on June 10, 2024 1

A basic use case is to simply compare the number of successful responses over the past 30 seconds vs the past 5 minutes to see if there is a trend of increasing success rates.

from smi-metrics.

stefanprodan avatar stefanprodan commented on June 10, 2024 1

Having a fixed window is a big blocker for adapting the SMI metrics API in Flagger. In Flagger's canary analysis spec, users can configure the window size to match their analysis interval.

Here is an example from a prod user:

  canaryAnalysis:
    interval: 10m
    threshold: 1
    iterations: 6
    metrics:
    - name: request-duration
      threshold: 800
      interval: 9m

The above analysis takes one hour while running the metric checks every ten minutes. On every run Flagger validates that the average latency for the last nine minutes was below 800 milliseconds.

from smi-metrics.

daxmc99 avatar daxmc99 commented on June 10, 2024 1

Looks like #52 fixes this, closing

from smi-metrics.

daxmc99 avatar daxmc99 commented on June 10, 2024

cc @Pothulapati

from smi-metrics.

grampelberg avatar grampelberg commented on June 10, 2024

Are you looking for a different window size or a time series to be returned?

from smi-metrics.

daxmc99 avatar daxmc99 commented on June 10, 2024

Different window size. A different time series might require a different query, correct?

from smi-metrics.

grampelberg avatar grampelberg commented on June 10, 2024

Shouldn't (we need to figure it out). I just wanted to make sure we were on the same page =)

Do you happen to have any specific use cases around changing the window size?

from smi-metrics.

grampelberg avatar grampelberg commented on June 10, 2024

Sounds reasonable to me! Anyone have good examples of k8s API patterns with query params?

@stefanprodan are folks really looking for average latency over nine minutes? That seems like a good way to shoot your foot off.

from smi-metrics.

Pothulapati avatar Pothulapati commented on June 10, 2024

Should we close this? as we got #52 merged, which solves this!

from smi-metrics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.