-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from qclaogui:mixin-multiple-mode
Issue-76: Monitoring Mixins support for multiple modes
- Loading branch information
Showing
21 changed files
with
2,680 additions
and
2,609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(import 'mixin.libsonnet') + { | ||
// Config overrides | ||
prometheusRules: {}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
local mixin = import 'agent-flow-mixin/mixin.libsonnet'; | ||
|
||
mixin { | ||
prometheusRules: {}, | ||
} | ||
import 'agent-flow-mixin/mixin.libsonnet' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(import 'mixin.libsonnet') + { | ||
// Config overrides | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
(import "mixin.libsonnet") +{ | ||
// Config overrides | ||
_config+:: { | ||
cadvisorSelector: 'job="integrations/kubernetes/cadvisor"', | ||
kubeletSelector: 'job="integrations/kubernetes/kubelet"', | ||
kubeStateMetricsSelector: 'job="integrations/kubernetes/kube-state-metrics"', | ||
nodeExporterSelector: 'job="integrations/node_exporter"', | ||
kubeSchedulerSelector: 'job="kube-scheduler"', | ||
kubeControllerManagerSelector: 'job="kube-controller-manager"', | ||
kubeApiserverSelector: 'job="integrations/kubernetes/apiserver"', | ||
kubeProxySelector: 'job="kube-proxy"', | ||
|
||
grafanaK8s+:: { | ||
dashboardNamePrefix: 'Mixin / ', | ||
dashboardTags: ['kubernetes', 'infrastucture'], | ||
}, | ||
|
||
// Opt-in to multiCluster dashboards by overriding this and the clusterLabel. | ||
showMultiCluster: true, | ||
// Default datasource name | ||
datasourceName: 'Metrics', | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.