Comments (10)
Like I said last time, these metrics are just not readily available AFAIK.
I can double check (probably not this week though) and see if something changed since then though. Just harass me if I (or alicebob) doesn't come back to you :-)
from asprom.
Hi!
thanks for the explanation. I'll have to have a look at what's available exactly and will get back to you (but that won't be today).
from asprom.
That's great! Thanks :-)
from asprom.
what does asinfo -l -v latency:
give you?
I'm looking at the docs at https://www.aerospike.com/docs/operations/monitor/latency/index.html
Are you referring to the batch-index key or the batch-sub-* commands?
Back in the day the histogram values were only available in the aerospike log file, not via the API. That changed for the basic latency values a few releases ago, so asprom reads the values via the API, but I'm still not quite sure which of the Configuration-enabled benchmarks
are available via the API.
I do agree that the basic latency stats which are always enabled should always show up, even with a 0 value, for every namespace.
from asprom.
So running the asinfo command, I get things like this:
{ns1}-read:13:42:53-GMT,ops/sec,>1ms,>8ms,>64ms
13:43:03,73.0,0.14,0.00,0.00
{ns1}-write:13:42:53-GMT,ops/sec,>1ms,>8ms,>64ms
13:43:03,102.2,0.00,0.00,0.00
error-no-data-yet-or-back-too-small
error-no-data-yet-or-back-too-small
error-no-data-yet-or-back-too-small
{ns2}-write:13:42:53-GMT,ops/sec,>1ms,>8ms,>64ms
13:43:03,556.9,0.04,0.00,0.00
error-no-data-yet-or-back-too-small
error-no-data-yet-or-back-too-small
{ns3}-read:13:42:53-GMT,ops/sec,>1ms,>8ms,>64ms
13:43:03,11.4,0.88,0.00,0.00
{ns3}-write:13:42:53-GMT,ops/sec,>1ms,>8ms,>64ms
13:43:03,775.5,0.00,0.00,0.00
error-no-data-yet-or-back-too-small
error-no-data-yet-or-back-too-small
Which is not really helpfull... So you'll notice that ns2-read is not there. But the other metrics are apparently not available either...
It looks like batch-sub would be what you want to use. Whatever item(s) matche(s) the one(s) you use for regular reads.
from asprom.
So there are two things going on:
-
if there is no ns2-read row present in the output asprom won't give the prometheus key. Would it be possible to solve that in the prometeus query? Maybe with
sum(...) or 0
? -
non-default measurements such as
batch-sub
are not available viaasinfo
, but it seems only in the aerospike log file. Seems a bit of a stretch to start tailing log files, so if aerospike doesn't export the data via asinfo there is not much to do. Maybe you can ask the aerospike people how to get to that data?
from asprom.
Sorry I was on vacation and completely forgot to check on this ><
I'll send a quick email to support and see what they have to say :-)
from asprom.
'k it sounds like batch metrics can be had. But they advise not to have them on all the time (probably because of performances). So...
I guess you can close that issue.
Thanks for looking into it. And sorry for the late reply :-)
from asprom.
Thanks for getting back :)
If you ever find some (cheap) source of the metrics let me know!
from asprom.
Hi all,
I have the same question on this, can we have batch-index latency histogram in asprom? We have a namespace which only have batch read, but we cannot get related latency metrics via asprom, will this metric be supported?
from asprom.
Related Issues (14)
- Security? HOT 18
- "Missing" statistics HOT 6
- segfault HOT 8
- dashboard HOT 7
- prometheus.Counter's Set method is deprecated HOT 1
- Provision to pass credential via environment variables HOT 4
- Added TLS support configuration HOT 7
- ./main.go:168:34: cannot use hp (type []byte) as type string in argument to conn.Authenticate HOT 5
- add control over export port via env parameters HOT 1
- No binaries in release? HOT 2
- aerospike_node_up 0 HOT 25
- latency: missing measurements line HOT 2
- relationship to asgraphite HOT 4
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 asprom.