Giter Club home page Giter Club logo

Comments (5)

2bethere avatar 2bethere commented on August 27, 2024

@remh What does the column orientation mean? Do you have an example for unit_name and per_unit_name?

from integrationtemplate.

remh avatar remh commented on August 27, 2024

orientation answers the questions: what's the better state for this metric ?

e.g.
system.cpu.user: the lower it is, the better it is. Its orientation should be 0

on the contrary
system.cpu.idle: the higher it is, the better it is. Its orientation should be 1 ( i think, @domoench do you confirm ?)

For unit_name and per_unit_name: here are some examples:

postgresql.max_connnections => unit_name: connections, per_unit_name: None
system.net.bytes_rcvd => unit_name: bytes, per_unit_name: second (so it will be displayed as bytes per second on the dashboards)

Does that make sense ?

@domoench can you confirm my explanation ?

from integrationtemplate.

2bethere avatar 2bethere commented on August 27, 2024

That's great. I'll update shortly.

from integrationtemplate.

2bethere avatar 2bethere commented on August 27, 2024

Closed by 8cd6e92

from integrationtemplate.

domoench avatar domoench commented on August 27, 2024

@remh @2bethere You've got the meaning of orientation correct, but it can actually have one of 3 integer values: -1, 0, or 1.

-1 means smaller is better. For example smaller system.cpu.user values are generally better.
1 means larger is better. Larger system.cpu.idle values are generally better.
0 means there is no clear better or worse. Such as system.net.bytes_sent

The eventual use case for this orientation info is mapping metric values to color gradients (better to worse values => green to red), change graphs, etc.

Documentation of the metric metadata attributes are currently HERE.
Let me know if anything else is unclear. Thanks!

from integrationtemplate.

Related Issues (5)

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.