Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #66177

Closed
Open
Opened Aug 16, 2019 by Clement Ho@ClemMakesApps
  • Report abuse
  • New issue
Report abuse New issue

Generating specific metrics chart URL when using multiple panel types returns `dashboard=undefined`

Screen_Shot_2019-08-16_at_5.26.17_PM

In this example, it produced http://localhost:3000/root/kubernetes-demo/environments/42/metrics?dashboard=undefined&group=System%20metrics%20(Kubernetes)&title=Core%20Usage%20(Pod%20Average)&y_label=Cores%20per%20Pod

This is an issue because embedding that metrics URL will result in a 404 error in the console.

Fix

Remove dashboard=undefined param whenever dashboard is undefined. That allows the metrics to render properly in the issue

Related issues

  • Discussion
  • Designs
Assignee
Assign to
12.3
Milestone
12.3
Assign milestone
Time tracking
None
Due date
None
8
Labels
Category:Incident Management P2 S2 bug devops::monitor frontend group::health workflow::production
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-foss#66177