Comments (9)
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.
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.
Looks like #52 fixes this, closing
from smi-metrics.
cc @Pothulapati
from smi-metrics.
Are you looking for a different window size or a time series to be returned?
from smi-metrics.
Different window size. A different time series might require a different query, correct?
from smi-metrics.
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.
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.
Should we close this? as we got #52 merged, which solves this!
from smi-metrics.
Related Issues (20)
- Template response latency queries.
- Update Istio docs with configuration options through helm HOT 1
- Add Tests for Istio pkg
- push smi-metrics image to DockerHub repo on every merge to master
- Add support for Maesh
- Add support for Consul Connect
- Problem installing with default instructions HOT 2
- Very large values return from API vs Prometheus HOT 2
- Support for edges at Kind level HOT 7
- Fix Tilt workflow HOT 1
- Fix Charts directory HOT 1
- Move to Github Actions
- Telemetry v2 for Istio HOT 3
- Allow Cross Namespace edge queries for Istio
- move repo to https://github.com/servicemeshinterface HOT 1
- How to serve multiple API versions
- TrafficMesh object referenced in TrafficMetrics HOT 2
- Publish smi-metrics helm Chart
- Smi-Metrics fails on kubernetes 1.19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smi-metrics.