File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
prometheus-ksonnet/grafana Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
_config+:: {
5
5
// Shard dashboards across multiple config maps to overcome annotation
6
- // lenght limits.
6
+ // length limits.
7
7
dashboard_config_maps: 8 ,
8
8
},
9
9
12
12
13
13
// mixinProto allows us to reliably do `mixin.grafanaDashboards` without
14
14
// having to check the field exists first. Some mixins don't declare all
15
- // the fields, and thats fine.
15
+ // the fields, and that's fine.
16
16
//
17
17
// We also use this to add a little "opinion":
18
18
// - Dashboard UIDs are set to the md5 hash of their filename.
73
73
std.objectHas (mixin, 'grafanaDashboardFolder' ) &&
74
74
std.length (mixin.grafanaDashboards) > 0 ,
75
75
76
- // Its super common for a single mixin's worth of dashboards to not even fit
76
+ // It's super common for a single mixin's worth of dashboards to not even fit
77
77
// in a single config map. So we split each mixin's dashboards up over
78
- // multiple config maps, depending on the hash of dashboards name.
78
+ // multiple config maps, depending on the hash of the dashboard name.
79
79
local sharded_config_maps(name_prefix, shards, dashboards) = {
80
80
['%s-%d' % [name_prefix, shard]]+:
81
81
configMap.new('%s-%d' % [name_prefix, shard]) +
You can’t perform that action at this time.
0 commit comments