diff --git a/dittybopper/deploy.sh b/dittybopper/deploy.sh index 68db6c7..a3b8766 100755 --- a/dittybopper/deploy.sh +++ b/dittybopper/deploy.sh @@ -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/krvoora_ocm/dittybopper-syncer:latest"} # Syncer image export GRAFANA_IMAGE=${GRAFANA_IMAGE:-"quay.io/cloud-bulldozer/grafana:9.4.3"} # Syncer image # Set defaults for command options diff --git a/templates/General/hypershift-performance.jsonnet b/templates/General/hypershift-performance.jsonnet index 68d416b..c427a73 100644 --- a/templates/General/hypershift-performance.jsonnet +++ b/templates/General/hypershift-performance.jsonnet @@ -88,15 +88,15 @@ local suricataMemory = genericGraphLegendPanel('Suricata Memory(Running on Servi local dynaoneagentMem = genericGraphLegendPanel('OneAgent Memory Usage', 'Cluster Prometheus', 'bytes').addTarget( prometheus.target( - 'sum(container_memory_rss{namespace=~"dynatrace",pod=~".*-oneagent-.*",container!=""}) by (node) and on (node) label_replace(cluster:nodes_roles{label_hypershift_openshift_io_cluster=~"$namespace"}, "node", "$1", "node", "(.+)")', - legendFormat='{{ node }}', + 'sum(container_memory_rss{namespace=~"dynatrace",pod=~".*-oneagent-.*",container!=""}) by (node, namespace, pod)', + legendFormat='{{ node }}: {{ namespace }} : {{ pod }}', ) ); local dynaoneagentCPU = genericGraphLegendPanel('OneAgent CPU Usage', 'Cluster Prometheus', 'percent').addTarget( prometheus.target( - 'sum(irate(container_cpu_usage_seconds_total{namespace=~"dynatrace", pod=~".*-oneagent-.*", container!~"POD|"}[2m])*100) by (node) and on (node) label_replace(cluster:nodes_roles{label_hypershift_openshift_io_cluster=~"$namespace"}, "node", "$1", "node", "(.+)")', - legendFormat='{{ node }}', + 'sum(irate(container_cpu_usage_seconds_total{namespace=~"dynatrace", pod=~".*-oneagent-.*", container!~"POD|"}[2m])*100) by (node, namespace, pod)', + legendFormat='{{ node }}: {{ namespace }} : {{ pod }}', ) ); @@ -414,29 +414,29 @@ local request_duration_99th_quantile_by_resource = grafana.graphPanel.new( // Dynatrace on the management cluster local dynaactivegateMem = genericGraphLegendPanel('Active Gate Memory Usage', 'Cluster Prometheus', 'bytes').addTarget( prometheus.target( - 'sum(container_memory_rss{namespace=~"dynatrace",pod=~".*-activegate-.*",container!=""})', - legendFormat='{{ node }}', + 'sum(container_memory_rss{namespace=~"dynatrace",pod=~".*-activegate-.*",container!=""}) by (node, namespace, pod)', + legendFormat='{{ node }}: {{ namespace }} : {{ pod }}', ) ); local dynaactivegateCPU = genericGraphLegendPanel('Active Gate CPU Usage', 'Cluster Prometheus', 'percent').addTarget( prometheus.target( - 'sum(irate(container_cpu_usage_seconds_total{namespace=~"dynatrace", pod=~".*-activegate-.*", container!~"POD|"}[2m])*100)', - legendFormat='{{ node }}', + 'sum(irate(container_cpu_usage_seconds_total{namespace=~"dynatrace", pod=~".*-activegate-.*", container!~"POD|"}[2m])*100) by (node, namespace, pod)', + legendFormat='{{ node }}: {{ namespace }} : {{ pod }}', ) ); local opentelemetryMem = genericGraphLegendPanel('Opentelemetry Memory Usage', 'Cluster Prometheus', 'bytes').addTarget( prometheus.target( - 'sum(container_memory_rss{namespace=~"dynatrace",pod=~"opentelemetry-.*",container!=""})', - legendFormat='{{ node }}', + 'sum(container_memory_rss{namespace=~"dynatrace",pod=~"opentelemetry-.*",container!=""}) by (node, namespace, pod)', + legendFormat='{{ node }}: {{ namespace }} : {{ pod }}', ) ); local opentelemetryCPU = genericGraphLegendPanel('Opentelemetry CPU Usage', 'Cluster Prometheus', 'percent').addTarget( prometheus.target( - 'sum(irate(container_cpu_usage_seconds_total{namespace=~"dynatrace", pod=~"opentelemetry-.*", container!~"POD|"}[2m])*100)', - legendFormat='{{ node }}', + 'sum(irate(container_cpu_usage_seconds_total{namespace=~"dynatrace", pod=~"opentelemetry-.*", container!~"POD|"}[2m])*100) by (node, namespace, pod)', + legendFormat='{{ node }}: {{ namespace }} : {{ pod }}', ) );