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
838cf740
Commit
838cf740
authored
Jun 22, 2020
by
ap4y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collect metrics for the Cilium cluster application
parent
25ff795f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
0 deletions
+9
-0
changelogs/unreleased/cilium-state-metrics.yml
changelogs/unreleased/cilium-state-metrics.yml
+5
-0
doc/development/telemetry/usage_ping.md
doc/development/telemetry/usage_ping.md
+1
-0
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+1
-0
spec/factories/usage_data.rb
spec/factories/usage_data.rb
+1
-0
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+1
-0
No files found.
changelogs/unreleased/cilium-state-metrics.yml
0 → 100644
View file @
838cf740
---
title
:
Add installed state metrics for Cilium cluster application
merge_request
:
35808
author
:
type
:
added
doc/development/telemetry/usage_ping.md
View file @
838cf740
...
...
@@ -449,6 +449,7 @@ appear to be associated to any of the services running, since they all appear to
|
`clusters_applications_runner`
|
`counts`
|
`configure`
| | | Total GitLab Managed clusters with Runner enabled |
|
`clusters_applications_knative`
|
`counts`
|
`configure`
| | | Total GitLab Managed clusters with Knative enabled |
|
`clusters_applications_elastic_stack`
|
`counts`
|
`configure`
| | | Total GitLab Managed clusters with Elastic Stack enabled |
|
`clusters_applications_cilium`
|
`counts`
|
`configure`
| | | Total GitLab Managed clusters with Cilium enabled |
|
`clusters_management_project`
|
`counts`
|
`configure`
| | | Total GitLab Managed clusters with defined cluster management project |
|
`in_review_folder`
|
`counts`
| | | | |
|
`grafana_integrated_projects`
|
`counts`
| | | | |
...
...
lib/gitlab/usage_data.rb
View file @
838cf740
...
...
@@ -109,6 +109,7 @@ module Gitlab
clusters_applications_knative:
count
(
::
Clusters
::
Applications
::
Knative
.
available
),
clusters_applications_elastic_stack:
count
(
::
Clusters
::
Applications
::
ElasticStack
.
available
),
clusters_applications_jupyter:
count
(
::
Clusters
::
Applications
::
Jupyter
.
available
),
clusters_applications_cilium:
count
(
::
Clusters
::
Applications
::
Cilium
.
available
),
clusters_management_project:
count
(
::
Clusters
::
Cluster
.
with_management_project
),
in_review_folder:
count
(
::
Environment
.
in_review_folder
),
grafana_integrated_projects:
count
(
GrafanaIntegration
.
enabled
),
...
...
spec/factories/usage_data.rb
View file @
838cf740
...
...
@@ -84,6 +84,7 @@ FactoryBot.define do
create
(
:clusters_applications_knative
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_elastic_stack
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_jupyter
,
:installed
,
cluster:
gcp_cluster
)
create
(
:clusters_applications_cilium
,
:installed
,
cluster:
gcp_cluster
)
create
(
:grafana_integration
,
project:
projects
[
0
],
enabled:
true
)
create
(
:grafana_integration
,
project:
projects
[
1
],
enabled:
true
)
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
838cf740
...
...
@@ -315,6 +315,7 @@ RSpec.describe Gitlab::UsageData, :aggregate_failures do
expect
(
count_data
[
:clusters_applications_elastic_stack
]).
to
eq
(
1
)
expect
(
count_data
[
:grafana_integrated_projects
]).
to
eq
(
2
)
expect
(
count_data
[
:clusters_applications_jupyter
]).
to
eq
(
1
)
expect
(
count_data
[
:clusters_applications_cilium
]).
to
eq
(
1
)
expect
(
count_data
[
:clusters_management_project
]).
to
eq
(
1
)
expect
(
count_data
[
:deployments
]).
to
eq
(
4
)
...
...
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