Commit e0184e88 authored by charlie ablett's avatar charlie ablett

Merge branch 'sy-update-external-prometheus-embed-chart-type' into 'master'

Fix typo for area chart embeds

See merge request gitlab-org/gitlab!39392
parents 18d91dbb 03622380
......@@ -183,7 +183,7 @@ module Projects
{
panel_groups: [{
panels: [{
type: 'line-graph',
type: 'area-chart',
title: title,
y_label: y_label,
metrics: [{
......
......@@ -142,11 +142,11 @@ RSpec.describe 'Metrics rendering', :js, :kubeclient, :use_clean_rails_memory_st
{
panel_groups: [{
panels: [{
type: "line-graph",
type: 'area-chart',
title: title,
y_label: "metric",
y_label: 'metric',
metrics: [{
query_range: "metric * 0.5 < 1"
query_range: 'metric * 0.5 < 1'
}]
}]
}]
......
......@@ -15,7 +15,7 @@ RSpec.shared_context 'self-managed prometheus alert attributes' do
{
panel_groups: [{
panels: [{
type: 'line-graph',
type: 'area-chart',
title: title,
y_label: y_label,
metrics: [{ query_range: query }]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment