Chart type doesn't match in panel vs. embed in staging
Summary
In some cases the chart from the dashboard is not like the one in embed.
"Core Usage (Pod Average)" doesn't match in panel in staging
- https://staging.gitlab.com/mrincon/autodevops-deploy/environments/177114/metrics
- https://staging.gitlab.com/mrincon/autodevops-deploy/issues/1
Steps to reproduce
- Go to metrics dashboard
<project> -> Operations -> Metrics
. - Scroll to panel "System metrics (Kubernetes)"
- Click on the right-top menu "Core Usage (Pod Average)" and click "Generate link to chart"
- Paste the link in an issue (or a markdown rendered area).
Example Project
https://staging.gitlab.com/mrincon/autodevops-deploy/
What is the current bug behavior?
The chart are not the same:
issue | dashboard |
---|---|
What is the expected correct behavior?
The charts look the same
Relevant logs and/or screenshots
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
- Possibly the store (or props) in the case for embed is missing the
chart -> type
so it takes the defaultarea
value.