Skip to content

Commit

Permalink
feat(metrics): Add new datasource to kumactl install metrics (#2640)
Browse files Browse the repository at this point in the history
This adds the plugin to grafana and add a new panel in the mesh dashboard

Signed-off-by: Charly Molter <charly.molter@konghq.com>
  • Loading branch information
lahabana authored Aug 24, 2021
1 parent 975fafa commit 8e7bc99
Show file tree
Hide file tree
Showing 6 changed files with 410 additions and 224 deletions.
2 changes: 2 additions & 0 deletions app/kumactl/cmd/install/context/install_metrics_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type MetricsTemplateArgs struct {
KumaPrometheusSdImage string
KumaPrometheusSdVersion string
KumaCpAddress string
KumaCpApiAddress string
WithoutPrometheus bool
WithoutGrafana bool
Dashboards []Dashboard
Expand All @@ -29,6 +30,7 @@ func DefaultInstallMetricsContext() InstallMetricsContext {
KumaPrometheusSdImage: "docker.io/kumahq/kuma-prometheus-sd",
KumaPrometheusSdVersion: kuma_version.Build.GitTag,
KumaCpAddress: "grpc://kuma-control-plane.kuma-system:5676",
KumaCpApiAddress: "http://kuma-control-plane.kuma-system:5681",
WithoutPrometheus: false,
WithoutGrafana: false,
},
Expand Down
Loading

0 comments on commit 8e7bc99

Please sign in to comment.