Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ You can add your own custom panels to the bottom of the template dashboard.

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

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

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

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

Finally, call `build` to compute panels positions and build a resulting dashboard:
Finally, call `build()` to compute panels positions and build a resulting dashboard:
```jsonnet
# my_dashboard.jsonnet
...
Expand Down