We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36be4a7 commit 3f49e0bCopy full SHA for 3f49e0b
mysqld-mixin/mixin.libsonnet
@@ -1,12 +1,12 @@
1
{
2
- grafanaDashboards: {
+ grafanaDashboards+: {
3
'mysql-overview.json': (import 'dashboards/mysql-overview.json'),
4
},
5
6
// Helper function to ensure that we don't override other rules, by forcing
7
// the patching of the groups list, and not the overall rules object.
8
local importRules(rules) = {
9
- groups+: std.native('parseYaml')(rules)[0].groups,
+ groups+: std.parseYaml(rules).groups,
10
11
12
prometheusRules+: importRules(importstr 'rules/rules.yaml'),
0 commit comments