@@ -55,6 +55,83 @@ To duplicate a dashboard from the Dashboards page:
55
55
user of the newly duplicated dashboard. To grant other users access,
56
56
update the dashboard's :doc:`permissions </dashboard-permissions>`.
57
57
58
+ .. _refresh-dashboard:
59
+
60
+ Refresh Dashboard Data
61
+ ~~~~~~~~~~~~~~~~~~~~~~
62
+
63
+ |charts| automatically refreshes chart data once it becomes out of
64
+ date with the backing data source. You can also manually refresh dashboard data at any time.
65
+
66
+ .. _configure-auto-refresh:
67
+
68
+ Configure Auto Refresh Settings
69
+ ```````````````````````````````
70
+
71
+ Charts on a dashboard automatically refresh once their data becomes out
72
+ of date. You can specify how stale your charts' data can be before it is
73
+ refreshed. This is known as your staleness tolerance. The default
74
+ behavior is to refresh when data is one hour stale.
75
+
76
+ To configure auto-refresh settings for a dashboard:
77
+
78
+ 1. Select a dashboard from the :guilabel:`Dashboards` page.
79
+
80
+ #. Click :guilabel:`Settings` at the top of the dashboard.
81
+
82
+ #. Select your data staleness tolerance from the dropdown.
83
+ |charts-short| supports staleness tolerances between 1 minute and 30
84
+ days.
85
+
86
+ #. Click :guilabel:`Save`.
87
+
88
+ Manually Refresh Dashboard Data
89
+ ```````````````````````````````
90
+
91
+ To manually refresh dashboard data:
92
+
93
+ 1. Select a dashboard from the :guilabel:`Dashboards` page.
94
+
95
+ #. Click the arrow next to the :guilabel:`Settings` button.
96
+
97
+ #. Click :guilabel:`Force Refresh`.
98
+
99
+ Refresh Behavior
100
+ ````````````````
101
+
102
+ - When |charts-short| refreshes dashboard data, only charts with data
103
+ older than your specified staleness tolerance are refreshed.
104
+ |charts-short| does not refresh the entire dashboard at once.
105
+
106
+ - Auto-refresh settings are stored in the local browser state. These
107
+ settings are not persisted with the dashboard or shared between
108
+ users.
109
+
110
+ - When |charts| loads charts on a dashboard, it does not consistently
111
+ query the data source for each chart. Instead, |charts| queries the
112
+ data sources when the dashboard first loads, and that data is cached
113
+ on both the client and server.
114
+
115
+ .. note::
116
+
117
+ The data stored in the cache is encrypted with a key specific to
118
+ your |charts| tenant.
119
+
120
+ - When a dashboard refreshes automatically:
121
+
122
+ - If a chart's data is within the staleness tolerance period,
123
+ |charts-short| doesn't refresh the chart's data.
124
+
125
+ - If a chart's data is outside of the staleness tolerance period,
126
+ |charts-short| returns the latest data from the server cache. If the
127
+ server cache contains stale data, |charts-short| queries the data
128
+ source for the latest data, refreshes the chart, and updates the
129
+ data cached on both the client and server.
130
+
131
+ - When you manually refresh a dashboard, |charts-short| updates all
132
+ chart data by querying the data source for the latest data even if
133
+ the chart data is within the specified staleness tolerance period.
134
+
58
135
59
136
Author Actions
60
137
--------------
0 commit comments