Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
03622380
Commit
03622380
authored
Aug 12, 2020
by
syasonik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo for area chart embeds
parent
4fb00f23
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
app/presenters/projects/prometheus/alert_presenter.rb
app/presenters/projects/prometheus/alert_presenter.rb
+1
-1
spec/features/markdown/metrics_spec.rb
spec/features/markdown/metrics_spec.rb
+3
-3
spec/support/shared_contexts/prometheus/alert_shared_context.rb
...upport/shared_contexts/prometheus/alert_shared_context.rb
+1
-1
No files found.
app/presenters/projects/prometheus/alert_presenter.rb
View file @
03622380
...
@@ -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:
[{
...
...
spec/features/markdown/metrics_spec.rb
View file @
03622380
...
@@ -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'
}]
}]
}]
}]
}]
}]
...
...
spec/support/shared_contexts/prometheus/alert_shared_context.rb
View file @
03622380
...
@@ -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
}]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment