From afe7ed5240030651526c4218ba9624f6b04e558d Mon Sep 17 00:00:00 2001 From: L Suzuki Date: Thu, 28 Sep 2023 11:51:39 +1300 Subject: [PATCH] Reshuffle cluster metrics routes to accommodate new pipeline insights section --- config/routes.rb | 1 + data/nav.yml | 4 ++-- .../advanced-queue-metrics.png | Bin .../cluster-queue-metrics-agent-utilization.png | Bin .../cluster-queue-metrics.png | Bin .../cluster_queue_metrics.md} | 0 6 files changed, 3 insertions(+), 2 deletions(-) rename images/docs/{clusters/queue_metrics => pipelines/cluster_queue_metrics}/advanced-queue-metrics.png (100%) rename images/docs/{clusters/queue_metrics => pipelines/cluster_queue_metrics}/cluster-queue-metrics-agent-utilization.png (100%) rename images/docs/{clusters/queue_metrics => pipelines/cluster_queue_metrics}/cluster-queue-metrics.png (100%) rename pages/{clusters/queue_metrics.md => pipelines/cluster_queue_metrics.md} (100%) diff --git a/config/routes.rb b/config/routes.rb index 60fd689947..95b36f42df 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -124,6 +124,7 @@ get "/docs/agent/uploading-pipelines", to: redirect("/docs/agent/v3/cli-pipeline", status: 301) get "/docs/agent/upgrading", to: redirect("/docs/agent/v3/upgrading", status: 301) get "/docs/agent/upgrading-to-v3", to: redirect("/docs/agent/v3/upgrading", status: 301) + get "/docs/clusters/queue-metrics", to: redirect("/docs/pipelines/cluster-queue-metrics", status: 301) # Old docs routes that we changed around during the development of the v3 agent docs get "/docs/agent/upgrading-to-v2", to: redirect("/docs/agent/v2/upgrading-to-v2", status: 301) diff --git a/data/nav.yml b/data/nav.yml index 776230ad73..620eee2745 100644 --- a/data/nav.yml +++ b/data/nav.yml @@ -338,9 +338,9 @@ children: - name: "Waterfall view" path: "pipelines/waterfall" - - name: "Cluster Queue metrics" + - name: "Cluster queue metrics" pill: "beta" - path: "clusters/queue-metrics" + path: "pipelines/cluster-queue-metrics" - name: "Test Analytics" path: "test-analytics" children: diff --git a/images/docs/clusters/queue_metrics/advanced-queue-metrics.png b/images/docs/pipelines/cluster_queue_metrics/advanced-queue-metrics.png similarity index 100% rename from images/docs/clusters/queue_metrics/advanced-queue-metrics.png rename to images/docs/pipelines/cluster_queue_metrics/advanced-queue-metrics.png diff --git a/images/docs/clusters/queue_metrics/cluster-queue-metrics-agent-utilization.png b/images/docs/pipelines/cluster_queue_metrics/cluster-queue-metrics-agent-utilization.png similarity index 100% rename from images/docs/clusters/queue_metrics/cluster-queue-metrics-agent-utilization.png rename to images/docs/pipelines/cluster_queue_metrics/cluster-queue-metrics-agent-utilization.png diff --git a/images/docs/clusters/queue_metrics/cluster-queue-metrics.png b/images/docs/pipelines/cluster_queue_metrics/cluster-queue-metrics.png similarity index 100% rename from images/docs/clusters/queue_metrics/cluster-queue-metrics.png rename to images/docs/pipelines/cluster_queue_metrics/cluster-queue-metrics.png diff --git a/pages/clusters/queue_metrics.md b/pages/pipelines/cluster_queue_metrics.md similarity index 100% rename from pages/clusters/queue_metrics.md rename to pages/pipelines/cluster_queue_metrics.md