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
0db43091
Commit
0db43091
authored
Aug 19, 2019
by
Chris Baumbauer
Committed by
Alishan Ladhani
Oct 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backward compatability changes
parent
849b54f6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
changelogs/unreleased/knative-0-7.yml
changelogs/unreleased/knative-0-7.yml
+1
-1
config/prometheus/common_metrics.yml
config/prometheus/common_metrics.yml
+1
-1
db/post_migrate/20190819231552_update_knative_prometheus_query_for_invocation_count.rb
...2_update_knative_prometheus_query_for_invocation_count.rb
+13
-0
No files found.
changelogs/unreleased/knative-0-7.yml
View file @
0db43091
---
---
title
:
Knative version bump 0.6 ->
0.7
title
:
Knative version bump 0.6 ->
0.7
merge_request
:
merge_request
:
17367
author
:
Chris Baumbauer
author
:
Chris Baumbauer
type
:
changed
type
:
changed
config/prometheus/common_metrics.yml
View file @
0db43091
...
@@ -209,6 +209,6 @@ panel_groups:
...
@@ -209,6 +209,6 @@ panel_groups:
weight
:
1
weight
:
1
metrics
:
metrics
:
-
id
:
system_metrics_knative_function_invocation_count
-
id
:
system_metrics_knative_function_invocation_count
query_range
:
'
ceil(rate(istio_requests_total{destination_service_namespace="%{kube_namespace}",
destination_app=~"%{function_name}.*"}[1m])*60
)'
query_range
:
'
sum(ceil(rate(istio_requests_total{destination_service_namespace="%{kube_namespace}",
destination_app=~"%{function_name}.*"}[1m])*60)
)'
label
:
invocations / minute
label
:
invocations / minute
unit
:
requests
unit
:
requests
db/post_migrate/20190819231552_update_knative_prometheus_query_for_invocation_count.rb
0 → 100644
View file @
0db43091
# frozen_string_literal: true
class
UpdateKnativePrometheusQueryForInvocationCount
<
ActiveRecord
::
Migration
[
5.2
]
DOWNTIME
=
false
def
up
::
Gitlab
::
DatabaseImporters
::
CommonMetrics
::
Importer
.
new
.
execute
end
def
down
# no-op
end
end
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