Giter Site home page Giter Site logo

Graph timestamp in node view about puppet-summary HOT 9 CLOSED

skx avatar skx commented on September 26, 2024
Graph timestamp in node view

from puppet-summary.

Comments (9)

skx avatar skx commented on September 26, 2024

Just so we're clear:

  • You're looking at a single node.
  • You see a graph of run-time.
  • But you cannot get the actual run-time from it, and it isn't displayed in the table so you don't know how long things took.

Is that correct?

Picking an example of one of my hosts blogspam.blogspam.net I see the recent-runs here:

There I see the timestamp, and if I hover my mouse it shows the run-time, in seconds:

time

Are you saying you don't see the time, when you hover? (Or possibly that you didn't know you could?)

from puppet-summary.

matejzero avatar matejzero commented on September 26, 2024

(I should start working on writing more clear issues:) ).

You are right about the node view.

As far as time goes, while you are hovering over the graph, you see number of dots and run-time in seconds, but it's hard to connect that dot to a report in the table.

Now that I think of it, it might be better to have a column with numbers that corresponds to numbers in graph with numbers from 50 to 1 (I take it far left is the oldest report).

ID Node Status Seen Failed Changed
50 blogspam unchanged 1 hour ago 0 0
49 blogspam unchanged 2 hour ago 0 0

from puppet-summary.

skx avatar skx commented on September 26, 2024

Great, so I understand now:

  • You can see the timestamps.
  • But you can't link that to a specific run.

I did, in the past, have a timestamp field in the table but decided I didn't want to keep it as it was often a long number ("2.389382seconds") which looked ugly.

I will do two things to fix this issue:

  • I will add the run-time to the report-page.
    • That will ensure you can see it and confirm it is OK when using the ID.
  • I will add an ID which corresponds to the reports
    • As you suggest

That probably needs a sanity-check to make sure the numbers are ascending/descending appropriately.

from puppet-summary.

matejzero avatar matejzero commented on September 26, 2024

Yea, the biggest problem is linking table records with graph values.

As far as long run-time goes, I guess you could truncate it and only show seconds as I think that should be enough.

Do you think 'id' numbers in graph should be reversed? So we start our table ID with 1 at the top?

from puppet-summary.

skx avatar skx commented on September 26, 2024

I just wanted to check that the graph goes left->right (1->N) matches the table view, so that ID 1 is the right report.

I'll soon find out :)

from puppet-summary.

skx avatar skx commented on September 26, 2024

I think this is fixed now; I've updated my master. You should be able to clearly find report-ID 48 which is the slow one - and confirm that because the run-time is listed on the report-page:

Please let me know if that suits you?

from puppet-summary.

matejzero avatar matejzero commented on September 26, 2024

Wonderful! This is exactly what I was looking for:)

I think we can close this.

from puppet-summary.

skx avatar skx commented on September 26, 2024

Great, thanks for the swift update.

(Some things, like this issue, are obvious when they're pointed out but they would never have occurred to me!)

from puppet-summary.

matejzero avatar matejzero commented on September 26, 2024

Yea I know. Different user base / scale / needs.

Thank you too for quick update:)

from puppet-summary.

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.