We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405e8d7 commit ee918f2Copy full SHA for ee918f2
prometheus-ksonnet/grafana/dashboards.libsonnet
@@ -77,7 +77,7 @@
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.
79
local sharded_config_maps(name_prefix, shards, dashboards) = {
80
- ['%s-%d' % [name_prefix, shard]]:
+ ['%s-%d' % [name_prefix, shard]]+:
81
configMap.new('%s-%d' % [name_prefix, shard]) +
82
configMap.withDataMixin({
83
[name]: std.toString(dashboards[name])
@@ -107,7 +107,7 @@
107
else
108
local config_map_name = 'dashboards-%s' % $.folderID(mixin.grafanaDashboardFolder);
109
acc {
110
- [config_map_name]:
+ [config_map_name]+:
111
sharded_config_maps(
112
config_map_name,
113
if std.objectHas(mixin, 'grafanaDashboardShards')
0 commit comments