Commit 03622380 authored by syasonik's avatar syasonik

Fix typo for area chart embeds

parent 4fb00f23
...@@ -183,7 +183,7 @@ module Projects ...@@ -183,7 +183,7 @@ module Projects
{ {
panel_groups: [{ panel_groups: [{
panels: [{ panels: [{
type: 'line-graph', type: 'area-chart',
title: title, title: title,
y_label: y_label, y_label: y_label,
metrics: [{ metrics: [{
......
...@@ -142,11 +142,11 @@ RSpec.describe 'Metrics rendering', :js, :kubeclient, :use_clean_rails_memory_st ...@@ -142,11 +142,11 @@ RSpec.describe 'Metrics rendering', :js, :kubeclient, :use_clean_rails_memory_st
{ {
panel_groups: [{ panel_groups: [{
panels: [{ panels: [{
type: "line-graph", type: 'area-chart',
title: title, title: title,
y_label: "metric", y_label: 'metric',
metrics: [{ 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 ...@@ -15,7 +15,7 @@ RSpec.shared_context 'self-managed prometheus alert attributes' do
{ {
panel_groups: [{ panel_groups: [{
panels: [{ panels: [{
type: 'line-graph', type: 'area-chart',
title: title, title: title,
y_label: y_label, y_label: y_label,
metrics: [{ query_range: query }] 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