Giter Club home page Giter Club logo

Comments (7)

brian-brazil avatar brian-brazil commented on May 13, 2024 2

I've filled out what I can. Some time/denominator aspects remain unclear.

from windows_exporter.

martinlindhe avatar martinlindhe commented on May 13, 2024 1

(added you both as collaborators)

from windows_exporter.

brian-brazil avatar brian-brazil commented on May 13, 2024

If you give me access, I'll fill this out.

On 28 Aug 2016 15:01, "Calle Pettersson" [email protected] wrote:

As suggested by @brian-brazil https://github.com/brian-brazil, we
should have a wiki page for how to map WMI types to Prometheus types. I
made a start, and then tried to PR it, but it seems Github does not support
wiki-PRs for some reason.
So, workaround: File an issue with the page markdown :) This is mostly a
skeleton so far, I added the few types we use in logical_disk, but I
expect we'll continually edit this as we make progress.
Prometheus and WMI CounterTypes

WMI performance counters hava many types, and those need to be mapped to
Prometheus' types. Below is a listing of WMI types, the Prometheus type
that should be used, and any processing that needs to be done.

This applies to WMI classes inheriting Win32_PerfRawData.
WMI type Prometheus type Processing
PERF_COUNTER_RAWCOUNT_HEX
PERF_COUNTER_LARGE_RAWCOUNT_HEX
PERF_COUNTER_TEXT
PERF_COUNTER_RAWCOUNT gauge
PERF_COUNTER_LARGE_RAWCOUNT
PERF_DOUBLE_RAW
PERF_COUNTER_DELTA
PERF_COUNTER_LARGE_DELTA
PERF_SAMPLE_COUNTER
PERF_COUNTER_QUEUELEN_TYPE
PERF_COUNTER_LARGE_QUEUELEN_TYPE
PERF_COUNTER_100NS_QUEUELEN_TYPE
PERF_COUNTER_OBJ_TIME_QUEUELEN_TYPE
PERF_COUNTER_COUNTER counter
PERF_COUNTER_BULK_COUNT counter
PERF_RAW_FRACTION
PERF_COUNTER_TIMER
PERF_PRECISION_SYSTEM_TIMER
PERF_100NSEC_TIMER
PERF_PRECISION_100NS_TIMER counter Normalize to seconds (value / 1e7)
PERF_OBJ_TIME_TIMER
PERF_PRECISION_OBJECT_TIMER
PERF_SAMPLE_FRACTION
PERF_COUNTER_TIMER_INV
PERF_100NSEC_TIMER_INV
PERF_COUNTER_MULTI_TIMER
PERF_100NSEC_MULTI_TIMER
PERF_COUNTER_MULTI_TIMER_INV
PERF_100NSEC_MULTI_TIMER_INV
PERF_AVERAGE_TIMER
PERF_ELAPSED_TIME
PERF_COUNTER_NODATA
PERF_AVERAGE_BULK
PERF_SAMPLE_BASE
PERF_AVERAGE_BASE
PERF_RAW_BASE
PERF_PRECISION_TIMESTAMP
PERF_LARGE_RAW_BASE
PERF_COUNTER_MULTI_BASE
PERF_COUNTER_HISTOGRAM_TYPE


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#13, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AGyTdt1hblT8x4OyiVNt-nDvRZsRf_fMks5qkYaMgaJpZM4Ju629
.

from windows_exporter.

martinlindhe avatar martinlindhe commented on May 13, 2024

Can't you guys edit the project wiki? Not sure how to open it up, let's figure it out

from windows_exporter.

carlpett avatar carlpett commented on May 13, 2024

Yup, works well.

from windows_exporter.

brian-brazil avatar brian-brazil commented on May 13, 2024

https://msdn.microsoft.com/en-us/library/cc238313.aspx is useful.

from windows_exporter.

carlpett avatar carlpett commented on May 13, 2024

Great work!

from windows_exporter.

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.