question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hours to Show parameter not enforced

See original GitHub issue

Version 0.2.1

Using these parameters:

          hours_to_show: 2
          points_per_hour: 3

produces this graph:

image

where there are actually 6 hours in display, with one point shown per hour.

Testing different value combinations is showing that the “real” number of hours that are shown is actually = hours_to_show * points_per_hour.

Increasing points_per_hour to 6, produces a graph that spans for 12 hours, even if it was supposed to be showing 2 hours. It’s a very strange behavior 😃

In addition, using a number < 1 for “hours to show” proudces a weird result (apparently showing an entire week or so of ‘hours’).

There is also a problem with the labels (too much to the left and also too tiny after reducing font_size to 60) but I think there is a merged patch that would fix that in master already

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
arigitcommented, Feb 6, 2019

Tested - all issues fixed and it looks really great What an outstanding addition to HA. Thanks @kalkih for this

1reaction
slavkobrzegcommented, Feb 6, 2019

I works perfectly!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How does the profile parameter 'idle_time' work? - Ask TOM
It appears that some oracle process periodically checks the user sessions for idle time out. But we are not able to find out...
Read more >
SHOW PARAMETERS - Snowflake Documentation
SHOW PARAMETERS ¶. Lists all the account, session, and object parameters that can be set, as well as the current and default values...
Read more >
scala - Type alias parameter bounds not enforced in all cases
In my project, I am making use of reflection to generate some metadata about my classes. The metadata for the non-case-class shows a...
Read more >
about Functions Advanced Parameters - PowerShell
Explains how to add parameters to advanced functions.
Read more >
Validating parameters (“input rules”)
You can configure rules to validate parameters (input) of your web applications. Input rules define whether or not parameters are required, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found