Skip to content

Commit c6e6bba

Browse files
Merge pull request #94 from tarantool/89-readme-fix
Fix customization guide file import
2 parents d715beb + 36c3b32 commit c6e6bba

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ You can add your own custom panels to the bottom of the template dashboard.
228228

229229
To summarise, you can build a simple 'select metric' prometheus panel with
230230
```jsonnet
231-
local common_panels = import 'dashboard/panels/common.libsonnet';
232-
local variable = import 'dashboard/variable.libsonnet';
231+
local common_panels = import 'grafana-dashboard/dashboard/panels/common.libsonnet';
232+
local variable = import 'grafana-dashboard/dashboard/variable.libsonnet';
233233

234234
local my_custom_component_memory_graph = common_panels.default_graph(
235235
title='My custom component memory',
@@ -249,8 +249,8 @@ You can add your own custom panels to the bottom of the template dashboard.
249249
```
250250
and a simple rps panel with
251251
```jsonnet
252-
local common_panels = import 'dashboard/panels/common.libsonnet';
253-
local variable = import 'dashboard/variable.libsonnet';
252+
local common_panels = import 'grafana-dashboard/dashboard/panels/common.libsonnet';
253+
local variable = import 'grafana-dashboard/dashboard/variable.libsonnet';
254254

255255
local my_custom_component_rps_graph = common.default_graph(
256256
title='My custom component load',
@@ -272,8 +272,8 @@ You can add your own custom panels to the bottom of the template dashboard.
272272
```
273273
Corresponding InfluxDB panels could be built with
274274
```jsonnet
275-
local common_panels = import 'dashboard/panels/common.libsonnet';
276-
local variable = import 'dashboard/variable.libsonnet';
275+
local common_panels = import 'grafana-dashboard/dashboard/panels/common.libsonnet';
276+
local variable = import 'grafana-dashboard/dashboard/variable.libsonnet';
277277

278278
local my_custom_component_memory_graph = common_panels.default_graph(
279279
title='My custom component memory',
@@ -324,7 +324,7 @@ You can add your own custom panels to the bottom of the template dashboard.
324324
]);
325325
```
326326

327-
Finally, call `build` to compute panels positions and build a resulting dashboard:
327+
Finally, call `build()` to compute panels positions and build a resulting dashboard:
328328
```jsonnet
329329
# my_dashboard.jsonnet
330330
...

0 commit comments

Comments
 (0)