Git Product home page Git Product logo

Comments (4)

telegraf-tiger avatar telegraf-tiger commented on June 3, 2024

Hello! I recommend posting this question in our Community Slack or Community Forums, we have a lot of talented community members there who could help answer your question more quickly. You can also learn more about Telegraf by enrolling at InfluxDB University for free!

Heads up, this issue will be automatically closed after 7 days of inactivity. Thank you!

from telegraf.

srebhan avatar srebhan commented on June 3, 2024

@Trovalo any idea what is going on here? Is there a chance that those are micro- or nanoseconds?

from telegraf.

Trovalo avatar Trovalo commented on June 3, 2024

The number is fine as it is, but it's not an average... it's the total "latency" since the beginning of time (server start).
Here are the MsDocs, reference to io_stall_read_ms.

Going back to Telegraf, if you want the average latency, divide read_latency_ms by reads, and you will have the average latency per read (since the beginning of time... not so useful), do the same with the difference between samples (as those are incremental counters) and you will have the actual latency per time interval

something like this (on InfluxDB)

SELECT
	 non_negative_difference(last("read_bytes")) AS "read_bytes"
	,non_negative_difference(last("read_latency_ms")) AS "read_latency_ms"
	,non_negative_difference(last("reads")) AS "reads"
	,.....
FROM ___."sqlserver_database_io"
WHERE time >= now()-5m
GROUP BY
	time(1m)
	,*

from telegraf.

powersj avatar powersj commented on June 3, 2024

Thanks for the quick explanation Trovalo. I'm closing this as it isn't an issue.

from telegraf.

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.