Skip to content

Commit

Permalink
Merge pull request #16 from strava/dr/more-points
Browse files Browse the repository at this point in the history
more maxDataPoints default
  • Loading branch information
drewrobb authored Mar 14, 2024
2 parents 2508870 + d1cab61 commit df4596b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grafanalib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,8 @@ class Panel(object):
id = attr.ib(default=None)
interval = attr.ib(default=None)
links = attr.ib(default=attr.Factory(list))
maxDataPoints = attr.ib(default=100)
# Use a larger maxDataPoints to get better graphs
maxDataPoints = attr.ib(default=1000)
minSpan = attr.ib(default=None)
repeat = attr.ib(default=attr.Factory(Repeat), validator=instance_of(Repeat))
span = attr.ib(default=None)
Expand Down

0 comments on commit df4596b

Please sign in to comment.