You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connected user input within settings bar to the requests being sent to the GraphQL server. The server query type was also altered to accept an additional 'prometheusURL' argument. I also began to wrap functionality inside of utility functions to declutter component space
type: 'realtime',// x axis will auto-scroll from right to left
73
62
realtime: {// per-axis options
74
-
duration: 200000,// data in the past 20000 ms will be displayed
75
-
refresh: 2000,// onRefresh callback will be called every 1000 ms
76
-
delay: 2000,// delay of 1000 ms, so upcoming values are known before plotting a line
63
+
duration: getDuration(metricsState.duration.days,metricsState.duration.hours,metricsState.duration.minutes),// data in the past duration # of ms will be displayed
64
+
refresh: metricsState.refreshRate*1000,// onRefresh callback will be called every refresh # ms
65
+
delay: 1000,// delay of 1000 ms, so upcoming values are known before plotting a line
77
66
pause: false,// chart is not paused
78
67
ttl: undefined,// data will be automatically deleted as it disappears off the chart
79
68
frameRate: 30,// data points are drawn 30 times every second
0 commit comments