Skip to content

Commit

Permalink
Adding ingress dashboard to grafonnet
Browse files Browse the repository at this point in the history
  • Loading branch information
smanda99 committed Oct 12, 2023
1 parent f9c38ba commit 074bcf1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
Empty file.
Empty file.
Empty file.
4 changes: 2 additions & 2 deletions dittybopper/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -e
set -ex

function _usage {
cat <<END
Expand Down Expand Up @@ -41,7 +41,7 @@ END
export PROMETHEUS_USER=internal
export GRAFANA_ADMIN_PASSWORD=admin
export GRAFANA_URL="http://admin:${GRAFANA_ADMIN_PASSWORD}@localhost:3000"
export SYNCER_IMAGE=${SYNCER_IMAGE:-"quay.io/cloud-bulldozer/dittybopper-syncer:latest"} # Syncer image
export SYNCER_IMAGE=${SYNCER_IMAGE:-"quay.io/suprajamanda/syncer:latest"} # Syncer image
export GRAFANA_IMAGE=${GRAFANA_IMAGE:-"quay.io/cloud-bulldozer/grafana:9.4.3"} # Syncer image

# Set defaults for command options
Expand Down
8 changes: 8 additions & 0 deletions templates/CPT/ingress-perf-v2.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
local panels = import '../../assets/ingress-performance-ocp/panels.libsonnet';
local queries = import '../../assets/ingress-performance-ocp/queries.libsonnet';
local variables = import '../../assets/ingress-performance-ocp/variables.libsonnet';
// local gra = import 'github.com/grafana/grafonnet/gen/grafonnet-latest/main.libsonnet';
local g = import '../grafonnet-lib/grafonnet/grafana.libsonnet';


g.dashboard.new('Ingress-perf')

0 comments on commit 074bcf1

Please sign in to comment.