Comments (5)
you don't need any special vespa support for this, as long as you sample the vespa metrics every minute and insert it into prometheus you can do the averaging there (just use the standard prometheus sum/count expression from the prometheus documentation).
note that this is exactly how yahoo's internal metrics monitoring / graphing system does it also, so this is the use case that current vespa setup is intended for, and should work very well.
from vespa.
I think it works fine when LAST metrics is supported.However, some vespa metrics do not have LAST metrics but only RATE metrics. For example search_connections does not support it.
Can we add SUM metrics to they?
from vespa.
can't you do the sum of averages? from the prometheus docs it looks like you want to use their 'summaries' concept to do the summing for you:
https://prometheus.io/docs/practices/histograms/
you shouldn't do summing or averaging of the LAST metric, that will sometimes yield incorrect results, since it will repeat the last value seen when there's no new measurements in a period.
from vespa.
rate() can calculates the per-second average rate of increase of the time series:
https://prometheus.io/docs/prometheus/latest/querying/functions/#rate()
from vespa.
@arnej27959 It seems I misunderstood the specification of metrics API of Vespa. Sorry for confusion. Now I understood the correct specification, and I will try to calculate what I need using "rate" and "average" metrics currently available.
Thank you for your explanation.
from vespa.
Related Issues (20)
- Vespa visit not returning deleted documents when selection criteria is added. HOT 3
- [Schema streaming mode] Enhence rank calculation for substring search HOT 5
- Make behaviour between `global` and `second` phase when `ranking.sorting=''` is given consistent HOT 1
- Allow multiple tensor outputs from native Vespa embedders HOT 3
- Pyvespa deployment fails HOT 5
- [Schema streaming mode] bm25 score is always zero HOT 2
- Array length as search criteria HOT 1
- Sorry couldn't find a discussion tab, so asking here. Can vespa be used as a primary database? HOT 3
- Evaluate onnx models with onnxruntime HOT 3
- Export Vespa golang client API as a library HOT 5
- Parse exception for regular expression HOT 2
- Make YQL Query Syntax Parse Exception more meaningful
- Case sensitive search not supported on index fields HOT 2
- special-tokens not applied for document, only query HOT 1
- Add a topk tensor function for mapped tensors
- Indexing language fails on an empty array HOT 2
- Reindexing is getting stalled
- Inconsistent rendering of string versus array of string with regards to unicode escaping HOT 2
- Vespa 9: Consider updating bm25 hyperparameter defaults
- Segmented And behaviour with weakAnd for CJK languages HOT 1
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 vespa.