From 3a4c6581960a2d028ed92c0aa1353f417e5f04ed Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 30 Jul 2020 00:09:53 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .gitignore | 283 ++++++++++++++ .../incidents_settings/constants.js | 2 +- .../components/graph/graph_component.vue | 2 +- .../graph/linked_pipelines_column.vue | 2 +- .../stylesheets/fontawesome_custom.scss | 4 + app/assets/stylesheets/framework/common.scss | 1 - app/helpers/environments_helper.rb | 2 +- app/presenters/clusters/cluster_presenter.rb | 2 +- .../_metrics_dashboard_yml_loading.html.haml | 2 +- .../services/prometheus/_metrics.html.haml | 2 +- .../background_verification.md | 6 +- .../geo/disaster_recovery/planned_failover.md | 6 +- .../geo/replication/configuration.md | 4 +- .../geo/replication/disable_geo.md | 2 +- .../geo/replication/docker_registry.md | 2 +- .../geo/replication/object_storage.md | 2 +- .../geo/replication/remove_geo_node.md | 2 +- .../geo/replication/troubleshooting.md | 6 +- doc/administration/geo/replication/tuning.md | 2 +- .../replication/version_specific_updates.md | 2 +- doc/development/telemetry/event_dictionary.md | 369 ++++++++++++++++++ doc/development/telemetry/usage_ping.md | 362 +---------------- doc/user/admin_area/settings/index.md | 2 +- .../coverage_fuzzing/index.md | 6 + spec/helpers/environments_helper_spec.rb | 2 +- .../clusters/cluster_presenter_spec.rb | 2 +- 26 files changed, 690 insertions(+), 389 deletions(-) create mode 100644 doc/development/telemetry/event_dictionary.md diff --git a/.gitignore b/.gitignore index 151c75d474a..13df8ea2c58 100644 --- a/.gitignore +++ b/.gitignore @@ -95,3 +95,286 @@ webpack-dev-server.json apollo.config.js /tmp/matching_foss_tests.txt ee/changelogs/unreleased-ee + +# Removed in 02ea9bc792b9236ea8854154ea5caef1a03b07b4 +db/schema_migrations/20171230123729 +db/schema_migrations/20180101160629 +db/schema_migrations/20180101160630 +db/schema_migrations/20180102220145 +db/schema_migrations/20180103123548 +db/schema_migrations/20180104131052 +db/schema_migrations/20180105212544 +db/schema_migrations/20180109183319 +db/schema_migrations/20180113220114 +db/schema_migrations/20180115094742 +db/schema_migrations/20180115113902 +db/schema_migrations/20180115201419 +db/schema_migrations/20180116193854 +db/schema_migrations/20180119121225 +db/schema_migrations/20180119135717 +db/schema_migrations/20180119160751 +db/schema_migrations/20180122154930 +db/schema_migrations/20180122162010 +db/schema_migrations/20180125214301 +db/schema_migrations/20180129193323 +db/schema_migrations/20180201102129 +db/schema_migrations/20180201110056 +db/schema_migrations/20180201145907 +db/schema_migrations/20180204200836 +db/schema_migrations/20180206200543 +db/schema_migrations/20180208183958 +db/schema_migrations/20180209115333 +db/schema_migrations/20180209165249 +db/schema_migrations/20180212030105 +db/schema_migrations/20180212101828 +db/schema_migrations/20180212101928 +db/schema_migrations/20180212102028 +db/schema_migrations/20180213131630 +db/schema_migrations/20180214093516 +db/schema_migrations/20180214155405 +db/schema_migrations/20180215181245 +db/schema_migrations/20180216120000 +db/schema_migrations/20180216120010 +db/schema_migrations/20180216120020 +db/schema_migrations/20180216120030 +db/schema_migrations/20180216120040 +db/schema_migrations/20180216120050 +db/schema_migrations/20180216121020 +db/schema_migrations/20180216121030 +db/schema_migrations/20180219153455 +db/schema_migrations/20180220150310 +db/schema_migrations/20180221151752 +db/schema_migrations/20180222043024 +db/schema_migrations/20180223120443 +db/schema_migrations/20180223124427 +db/schema_migrations/20180223144945 +db/schema_migrations/20180226050030 +db/schema_migrations/20180227182112 +db/schema_migrations/20180228172924 +db/schema_migrations/20180301010859 +db/schema_migrations/20180301084653 +db/schema_migrations/20180302152117 +db/schema_migrations/20180305095250 +db/schema_migrations/20180305100050 +db/schema_migrations/20180305144721 +db/schema_migrations/20180306074045 +db/schema_migrations/20180306134842 +db/schema_migrations/20180306164012 +db/schema_migrations/20180307012445 +db/schema_migrations/20180308052825 +db/schema_migrations/20180308125206 +db/schema_migrations/20180309121820 +db/schema_migrations/20180309160427 +db/schema_migrations/20180314100728 +db/schema_migrations/20180314145917 +db/schema_migrations/20180315160435 +db/schema_migrations/20180319190020 +db/schema_migrations/20180320182229 +db/schema_migrations/20180323150945 +db/schema_migrations/20180326202229 +db/schema_migrations/20180327101207 +db/schema_migrations/20180330121048 +db/schema_migrations/20180403035759 +db/schema_migrations/20180405101928 +db/schema_migrations/20180405142733 +db/schema_migrations/20180408143354 +db/schema_migrations/20180408143355 +db/schema_migrations/20180409170809 +db/schema_migrations/20180413022611 +db/schema_migrations/20180416155103 +db/schema_migrations/20180417090132 +db/schema_migrations/20180417101040 +db/schema_migrations/20180417101940 +db/schema_migrations/20180418053107 +db/schema_migrations/20180420010016 +db/schema_migrations/20180420010616 +db/schema_migrations/20180420080616 +db/schema_migrations/20180423204600 +db/schema_migrations/20180424090541 +db/schema_migrations/20180424134533 +db/schema_migrations/20180424151928 +db/schema_migrations/20180424160449 +db/schema_migrations/20180425075446 +db/schema_migrations/20180425131009 +db/schema_migrations/20180425205249 +db/schema_migrations/20180426102016 +db/schema_migrations/20180430101916 +db/schema_migrations/20180430143705 +db/schema_migrations/20180502122856 +db/schema_migrations/20180503131624 +db/schema_migrations/20180503141722 +db/schema_migrations/20180503150427 +db/schema_migrations/20180503175053 +db/schema_migrations/20180503175054 +db/schema_migrations/20180503193542 +db/schema_migrations/20180503193953 +db/schema_migrations/20180503200320 +db/schema_migrations/20180504195842 +db/schema_migrations/20180507083701 +db/schema_migrations/20180508055821 +db/schema_migrations/20180508100222 +db/schema_migrations/20180508102840 +db/schema_migrations/20180508135515 +db/schema_migrations/20180511090724 +db/schema_migrations/20180511131058 +db/schema_migrations/20180511174224 +db/schema_migrations/20180512061621 +db/schema_migrations/20180514161336 +db/schema_migrations/20180515005612 +db/schema_migrations/20180515121227 +db/schema_migrations/20180517082340 +db/schema_migrations/20180523042841 +db/schema_migrations/20180523125103 +db/schema_migrations/20180524132016 +db/schema_migrations/20180529093006 +db/schema_migrations/20180529152628 +db/schema_migrations/20180530135500 +db/schema_migrations/20180531185349 +db/schema_migrations/20180531220618 +db/schema_migrations/20180601213245 +db/schema_migrations/20180603190921 +db/schema_migrations/20180604123514 +db/schema_migrations/20180607071808 +db/schema_migrations/20180608091413 +db/schema_migrations/20180608110058 +db/schema_migrations/20180608201435 +db/schema_migrations/20180612103626 +db/schema_migrations/20180613081317 +db/schema_migrations/20180625113853 +db/schema_migrations/20180626125654 +db/schema_migrations/20180628124813 +db/schema_migrations/20180629153018 +db/schema_migrations/20180629191052 +db/schema_migrations/20180702120647 +db/schema_migrations/20180702124358 +db/schema_migrations/20180702134423 +db/schema_migrations/20180704145007 +db/schema_migrations/20180704204006 +db/schema_migrations/20180705160945 +db/schema_migrations/20180706223200 +db/schema_migrations/20180710162338 +db/schema_migrations/20180711103851 +db/schema_migrations/20180711103922 +db/schema_migrations/20180713092803 +db/schema_migrations/20180717125853 +db/schema_migrations/20180718005113 +db/schema_migrations/20180720023512 +db/schema_migrations/20180722103201 +db/schema_migrations/20180723135214 +db/schema_migrations/20180726172057 +db/schema_migrations/20180807153545 +db/schema_migrations/20180808162000 +db/schema_migrations/20180809195358 +db/schema_migrations/20180813101999 +db/schema_migrations/20180813102000 +db/schema_migrations/20180814153625 +db/schema_migrations/20180815040323 +db/schema_migrations/20180815160409 +db/schema_migrations/20180815170510 +db/schema_migrations/20180815175440 +db/schema_migrations/20180816161409 +db/schema_migrations/20180816193530 +db/schema_migrations/20180824202952 +db/schema_migrations/20180826111825 +db/schema_migrations/20180831164905 +db/schema_migrations/20180831164907 +db/schema_migrations/20180831164908 +db/schema_migrations/20180831164909 +db/schema_migrations/20180831164910 +db/schema_migrations/20180901171833 +db/schema_migrations/20180901200537 +db/schema_migrations/20180902070406 +db/schema_migrations/20180906101639 +db/schema_migrations/20180907015926 +db/schema_migrations/20180910115836 +db/schema_migrations/20180910153412 +db/schema_migrations/20180910153413 +db/schema_migrations/20180912111628 +db/schema_migrations/20180913142237 +db/schema_migrations/20180914162043 +db/schema_migrations/20180914201132 +db/schema_migrations/20180916011959 +db/schema_migrations/20180917172041 +db/schema_migrations/20180924141949 +db/schema_migrations/20180924190739 +db/schema_migrations/20180924201039 +db/schema_migrations/20180925200829 +db/schema_migrations/20180927073410 +db/schema_migrations/20181002172433 +db/schema_migrations/20181005110927 +db/schema_migrations/20181005125926 +db/schema_migrations/20181006004100 +db/schema_migrations/20181008145341 +db/schema_migrations/20181008145359 +db/schema_migrations/20181008200441 +db/schema_migrations/20181009190428 +db/schema_migrations/20181010133639 +db/schema_migrations/20181010235606 +db/schema_migrations/20181013005024 +db/schema_migrations/20181014203236 +db/schema_migrations/20181015155839 +db/schema_migrations/20181016141739 +db/schema_migrations/20181016152238 +db/schema_migrations/20181017001059 +db/schema_migrations/20181019032400 +db/schema_migrations/20181019032408 +db/schema_migrations/20181019105553 +db/schema_migrations/20181022135539 +db/schema_migrations/20181022173835 +db/schema_migrations/20181023104858 +db/schema_migrations/20181023144439 +db/schema_migrations/20181025115728 +db/schema_migrations/20181026091631 +db/schema_migrations/20181026143227 +db/schema_migrations/20181027114222 +db/schema_migrations/20181028120717 +db/schema_migrations/20181030135124 +db/schema_migrations/20181030154446 +db/schema_migrations/20181031145139 +db/schema_migrations/20181031190558 +db/schema_migrations/20181031190559 +db/schema_migrations/20181101091005 +db/schema_migrations/20181101091124 +db/schema_migrations/20181101144347 +db/schema_migrations/20181101191341 +db/schema_migrations/20181105201455 +db/schema_migrations/20181106135939 +db/schema_migrations/20181107054254 +db/schema_migrations/20181108091549 +db/schema_migrations/20181112103239 +db/schema_migrations/20181115140140 +db/schema_migrations/20181116050532 +db/schema_migrations/20181116141415 +db/schema_migrations/20181116141504 +db/schema_migrations/20181119081539 +db/schema_migrations/20181119132520 +db/schema_migrations/20181120082911 +db/schema_migrations/20181120091639 +db/schema_migrations/20181120151656 +db/schema_migrations/20181121101842 +db/schema_migrations/20181121101843 +db/schema_migrations/20181121111200 +db/schema_migrations/20181122160027 +db/schema_migrations/20181123042307 +db/schema_migrations/20181123135036 +db/schema_migrations/20181123144235 +db/schema_migrations/20181126150622 +db/schema_migrations/20181126153547 +db/schema_migrations/20181128123704 +db/schema_migrations/20181129104854 +db/schema_migrations/20181129104944 +db/schema_migrations/20181130102132 +db/schema_migrations/20181203002526 +db/schema_migrations/20181205171941 +db/schema_migrations/20181211092510 +db/schema_migrations/20181211092514 +db/schema_migrations/20181212104941 +db/schema_migrations/20181212171634 +db/schema_migrations/20181219130552 +db/schema_migrations/20181219145520 +db/schema_migrations/20181219145521 +# Removed in 71a3b0e470c64fccbb902390b1f856ee1547a978 +db/schema_migrations/20190225160300 +# Removed in 44f9d16edca328e5bb234b853f0d670ee0b30a26 +db/schema_migrations/20200615101135 + diff --git a/app/assets/javascripts/incidents_settings/constants.js b/app/assets/javascripts/incidents_settings/constants.js index e68198f84e0..77f7ee2c4a3 100644 --- a/app/assets/javascripts/incidents_settings/constants.js +++ b/app/assets/javascripts/incidents_settings/constants.js @@ -46,7 +46,7 @@ export const I18N_ALERT_SETTINGS_FORM = { export const NO_ISSUE_TEMPLATE_SELECTED = { key: '', name: __('No template selected') }; export const TAKING_INCIDENT_ACTION_DOCS_LINK = - '/help/user/project/integrations/prometheus#taking-action-on-incidents-ultimate'; + '/help/operations/metrics/alerts#trigger-actions-from-alerts'; export const ISSUE_TEMPLATES_DOCS_LINK = '/help/user/project/description_templates#creating-issue-templates'; diff --git a/app/assets/javascripts/pipelines/components/graph/graph_component.vue b/app/assets/javascripts/pipelines/components/graph/graph_component.vue index 6b890688a48..f5bf6a6ed34 100644 --- a/app/assets/javascripts/pipelines/components/graph/graph_component.vue +++ b/app/assets/javascripts/pipelines/components/graph/graph_component.vue @@ -170,7 +170,7 @@ export default { v-for="(stage, index) in graph" :key="stage.name" :class="{ - 'has-upstream prepend-left-64': hasUpstream(index), + 'has-upstream gl-ml-11': hasUpstream(index), 'has-only-one-job': hasOnlyOneJob(stage), 'gl-mr-26': shouldAddRightMargin(index), }" diff --git a/app/assets/javascripts/pipelines/components/graph/linked_pipelines_column.vue b/app/assets/javascripts/pipelines/components/graph/linked_pipelines_column.vue index c4dfd3382a2..d82885ff8de 100644 --- a/app/assets/javascripts/pipelines/components/graph/linked_pipelines_column.vue +++ b/app/assets/javascripts/pipelines/components/graph/linked_pipelines_column.vue @@ -27,7 +27,7 @@ export default { computed: { columnClass() { const positionValues = { - right: 'prepend-left-64', + right: 'gl-ml-11', left: 'gl-mr-7', }; return `graph-position-${this.graphPosition} ${positionValues[this.graphPosition]}`; diff --git a/app/assets/stylesheets/fontawesome_custom.scss b/app/assets/stylesheets/fontawesome_custom.scss index 4363008b0d4..1fadc618bd1 100644 --- a/app/assets/stylesheets/fontawesome_custom.scss +++ b/app/assets/stylesheets/fontawesome_custom.scss @@ -336,6 +336,10 @@ content: '\f010'; } +.fa-share::before { + content: '\f064'; +} + .fa-book::before { content: '\f02d'; } diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss index 0c1f19e9420..2ff0e2c995f 100644 --- a/app/assets/stylesheets/framework/common.scss +++ b/app/assets/stylesheets/framework/common.scss @@ -400,7 +400,6 @@ img.emoji { .prepend-top-20 { margin-top: 20px; } .prepend-left-15 { margin-left: 15px; } .prepend-left-20 { margin-left: 20px; } -.prepend-left-64 { margin-left: 64px; } .append-right-20 { margin-right: 20px; } .append-bottom-20 { margin-bottom: 20px; } .ml-10 { margin-left: 4.5rem; } diff --git a/app/helpers/environments_helper.rb b/app/helpers/environments_helper.rb index b522a9dfb4f..c83bf702f50 100644 --- a/app/helpers/environments_helper.rb +++ b/app/helpers/environments_helper.rb @@ -105,7 +105,7 @@ module EnvironmentsHelper def static_metrics_data { 'documentation-path' => help_page_path('administration/monitoring/prometheus/index.md'), - 'add-dashboard-documentation-path' => help_page_path('user/project/integrations/prometheus.md', anchor: 'adding-a-new-dashboard-to-your-project'), + 'add-dashboard-documentation-path' => help_page_path('operations/metrics/dashboards/index.md', anchor: 'add-a-new-dashboard-to-your-project'), 'empty-getting-started-svg-path' => image_path('illustrations/monitoring/getting_started.svg'), 'empty-loading-svg-path' => image_path('illustrations/monitoring/loading.svg'), 'empty-no-data-svg-path' => image_path('illustrations/monitoring/no_data.svg'), diff --git a/app/presenters/clusters/cluster_presenter.rb b/app/presenters/clusters/cluster_presenter.rb index c0da5310ca4..25693af4881 100644 --- a/app/presenters/clusters/cluster_presenter.rb +++ b/app/presenters/clusters/cluster_presenter.rb @@ -80,7 +80,7 @@ module Clusters 'clusters-path': clusterable.index_path, 'dashboard-endpoint': clusterable.metrics_dashboard_path(cluster), 'documentation-path': help_page_path('user/project/clusters/index', anchor: 'monitoring-your-kubernetes-cluster-ultimate'), - 'add-dashboard-documentation-path': help_page_path('user/project/integrations/prometheus.md', anchor: 'adding-a-new-dashboard-to-your-project'), + 'add-dashboard-documentation-path': help_page_path('operations/metrics/dashboards/index.md', anchor: 'add-a-new-dashboard-to-your-project'), 'empty-getting-started-svg-path': image_path('illustrations/monitoring/getting_started.svg'), 'empty-loading-svg-path': image_path('illustrations/monitoring/loading.svg'), 'empty-no-data-svg-path': image_path('illustrations/monitoring/no_data.svg'), diff --git a/app/views/projects/blob/viewers/_metrics_dashboard_yml_loading.html.haml b/app/views/projects/blob/viewers/_metrics_dashboard_yml_loading.html.haml index 31a0d514444..aedfb64d3e4 100644 --- a/app/views/projects/blob/viewers/_metrics_dashboard_yml_loading.html.haml +++ b/app/views/projects/blob/viewers/_metrics_dashboard_yml_loading.html.haml @@ -1,4 +1,4 @@ = icon('spinner spin fw') = _('Metrics Dashboard YAML definition') + '…' -= link_to _('Learn more'), help_page_path('user/project/integrations/prometheus.md') += link_to _('Learn more'), help_page_path('operations/metrics/dashboards/yaml.md') diff --git a/app/views/projects/services/prometheus/_metrics.html.haml b/app/views/projects/services/prometheus/_metrics.html.haml index 9f5160f3dd5..79f5e846bd7 100644 --- a/app/views/projects/services/prometheus/_metrics.html.haml +++ b/app/views/projects/services/prometheus/_metrics.html.haml @@ -5,7 +5,7 @@ .col-lg-3 %p = s_('PrometheusService|Common metrics are automatically monitored based on a library of metrics from popular exporters.') - = link_to s_('PrometheusService|More information'), help_page_path('user/project/integrations/prometheus_library/index'), target: '_blank', rel: "noopener noreferrer" + = link_to s_('PrometheusService|More information'), help_page_path('user/project/integrations/prometheus'), target: '_blank', rel: "noopener noreferrer" .col-lg-9 .card.js-panel-monitored-metrics{ data: { active_metrics: active_common_project_prometheus_metrics_path(project, :json), metrics_help_path: help_page_path('user/project/integrations/prometheus_library/index') } } diff --git a/doc/administration/geo/disaster_recovery/background_verification.md b/doc/administration/geo/disaster_recovery/background_verification.md index c51634fd597..58b8c754183 100644 --- a/doc/administration/geo/disaster_recovery/background_verification.md +++ b/doc/administration/geo/disaster_recovery/background_verification.md @@ -58,14 +58,14 @@ Feature.enable('geo_repository_verification') ## Repository verification -Navigate to the **Admin Area >** **{location-dot}** **Geo** dashboard on the **primary** node and expand +Navigate to the **Admin Area > Geo** dashboard on the **primary** node and expand the **Verification information** tab for that node to view automatic checksumming status for repositories and wikis. Successes are shown in green, pending work in gray, and failures in red. ![Verification status](img/verification-status-primary.png) -Navigate to the **Admin Area >** **{location-dot}** **Geo** dashboard on the **secondary** node and expand +Navigate to the **Admin Area > Geo** dashboard on the **secondary** node and expand the **Verification information** tab for that node to view automatic verification status for repositories and wikis. As with checksumming, successes are shown in green, pending work in gray, and failures in red. @@ -92,7 +92,7 @@ data. The default and recommended re-verification interval is 7 days, though an interval as short as 1 day can be set. Shorter intervals reduce risk but increase load and vice versa. -Navigate to the **Admin Area >** **{location-dot}** **Geo** dashboard on the **primary** node, and +Navigate to the **Admin Area > Geo** dashboard on the **primary** node, and click the **Edit** button for the **primary** node to customize the minimum re-verification interval: diff --git a/doc/administration/geo/disaster_recovery/planned_failover.md b/doc/administration/geo/disaster_recovery/planned_failover.md index 817f6859322..84410bc79ca 100644 --- a/doc/administration/geo/disaster_recovery/planned_failover.md +++ b/doc/administration/geo/disaster_recovery/planned_failover.md @@ -110,7 +110,7 @@ The maintenance window won't end until Geo replication and verification is completely finished. To keep the window as short as possible, you should ensure these processes are close to 100% as possible during active use. -Navigate to the **Admin Area >** **{location-dot}** **Geo** dashboard on the **secondary** node to +Navigate to the **Admin Area > Geo** dashboard on the **secondary** node to review status. Replicated objects (shown in green) should be close to 100%, and there should be no failures (shown in red). If a large proportion of objects aren't yet replicated (shown in gray), consider giving the node more @@ -136,7 +136,7 @@ This [content was moved to another location](background_verification.md). ### Notify users of scheduled maintenance On the **primary** node, navigate to **Admin Area >** **{bullhorn}** **Messages**, add a broadcast -message. You can check under **Admin Area >** **{location-dot}** **Geo** to estimate how long it +message. You can check under **Admin Area > Geo** to estimate how long it will take to finish syncing. An example message would be: > A scheduled maintenance will take place at XX:XX UTC. We expect it to take @@ -194,7 +194,7 @@ access to the **primary** node during the maintenance window. and wait for all queues except those with `geo` in the name to drop to 0. These queues contain work that has been submitted by your users; failing over before it is completed will cause the work to be lost. -1. On the **primary** node, navigate to **Admin Area >** **{location-dot}** **Geo** and wait for the +1. On the **primary** node, navigate to **Admin Area > Geo** and wait for the following conditions to be true of the **secondary** node you are failing over to: - All replication meters to each 100% replicated, 0% failures. diff --git a/doc/administration/geo/replication/configuration.md b/doc/administration/geo/replication/configuration.md index dcd48cf2e76..25c8e7c408a 100644 --- a/doc/administration/geo/replication/configuration.md +++ b/doc/administration/geo/replication/configuration.md @@ -191,7 +191,7 @@ keys must be manually replicated to the **secondary** node. gitlab-ctl reconfigure ``` -1. Visit the **primary** node's **Admin Area >** **{location-dot}** **Geo** +1. Visit the **primary** node's **Admin Area > Geo** (`/admin/geo/nodes`) in your browser. 1. Click the **New node** button. ![Add secondary node](img/adding_a_secondary_node.png) @@ -264,7 +264,7 @@ method to be enabled. Navigate to **Admin Area > Settings** Your **secondary** node is now configured! You can login to the **secondary** node with the same credentials you used for the -**primary** node. Visit the **secondary** node's **Admin Area >** **{location-dot}** **Geo** +**primary** node. Visit the **secondary** node's **Admin Area > Geo** (`/admin/geo/nodes`) in your browser to check if it's correctly identified as a **secondary** Geo node and if Geo is enabled. diff --git a/doc/administration/geo/replication/disable_geo.md b/doc/administration/geo/replication/disable_geo.md index cbbbf559374..aed8e5fc3bc 100644 --- a/doc/administration/geo/replication/disable_geo.md +++ b/doc/administration/geo/replication/disable_geo.md @@ -33,7 +33,7 @@ in order to do that. ## Remove the primary node from the UI -1. Go to **Admin Area >** **{location-dot}** **Geo** (`/admin/geo/nodes`). +1. Go to **Admin Area > Geo** (`/admin/geo/nodes`). 1. Click the **Remove** button for the **primary** node. 1. Confirm by clicking **Remove** when the prompt appears. diff --git a/doc/administration/geo/replication/docker_registry.md b/doc/administration/geo/replication/docker_registry.md index 75ddbe4e813..5403edc69da 100644 --- a/doc/administration/geo/replication/docker_registry.md +++ b/doc/administration/geo/replication/docker_registry.md @@ -122,7 +122,7 @@ generate a short-lived JWT that is pull-only-capable to access the ### Verify replication -To verify Container Registry replication is working, go to **Admin Area >** **{location-dot}** **Geo** +To verify Container Registry replication is working, go to **Admin Area > Geo** (`/admin/geo/nodes`) on the **secondary** node. The initial replication, or "backfill", will probably still be in progress. You can monitor the synchronization process on each Geo node from the **primary** node's **Geo Nodes** dashboard in your browser. diff --git a/doc/administration/geo/replication/object_storage.md b/doc/administration/geo/replication/object_storage.md index 65e320dbf92..159e2524198 100644 --- a/doc/administration/geo/replication/object_storage.md +++ b/doc/administration/geo/replication/object_storage.md @@ -33,7 +33,7 @@ whether they are stored on the local filesystem or in object storage. To enable GitLab replication, you must: -1. Go to **Admin Area >** **{location-dot}** **Geo**. +1. Go to **Admin Area > Geo**. 1. Press **Edit** on the **secondary** node. 1. Enable the **Allow this secondary node to replicate content on Object Storage** checkbox. diff --git a/doc/administration/geo/replication/remove_geo_node.md b/doc/administration/geo/replication/remove_geo_node.md index 9db1d88a11f..2b01231241c 100644 --- a/doc/administration/geo/replication/remove_geo_node.md +++ b/doc/administration/geo/replication/remove_geo_node.md @@ -9,7 +9,7 @@ type: howto **Secondary** nodes can be removed from the Geo cluster using the Geo admin page of the **primary** node. To remove a **secondary** node: -1. Navigate to **Admin Area >** **{location-dot}** **Geo** (`/admin/geo/nodes`). +1. Navigate to **Admin Area > Geo** (`/admin/geo/nodes`). 1. Click the **Remove** button for the **secondary** node you want to remove. 1. Confirm by clicking **Remove** when the prompt appears. diff --git a/doc/administration/geo/replication/troubleshooting.md b/doc/administration/geo/replication/troubleshooting.md index 421eb88b017..30742f137db 100644 --- a/doc/administration/geo/replication/troubleshooting.md +++ b/doc/administration/geo/replication/troubleshooting.md @@ -26,7 +26,7 @@ Before attempting more advanced troubleshooting: ### Check the health of the **secondary** node -Visit the **primary** node's **Admin Area >** **{location-dot}** **Geo** (`/admin/geo/nodes`) in +Visit the **primary** node's **Admin Area > Geo** (`/admin/geo/nodes`) in your browser. We perform the following health checks on each **secondary** node to help identify if something is wrong: @@ -132,7 +132,7 @@ Geo finds the current machine's Geo node name in `/etc/gitlab/gitlab.rb` by: - Using the `gitlab_rails['geo_node_name']` setting. - If that is not defined, using the `external_url` setting. -This name is used to look up the node with the same **Name** in **Admin Area >** **{location-dot}** **Geo**. +This name is used to look up the node with the same **Name** in **Admin Area > Geo**. To check if the current machine has a node name that matches a node in the database, run the check task: @@ -839,7 +839,7 @@ If you are able to log in to the **primary** node, but you receive this error when attempting to log into a **secondary**, you should check that the Geo node's URL matches its external URL. -1. On the primary, visit **Admin Area >** **{location-dot}** **Geo**. +1. On the primary, visit **Admin Area > Geo**. 1. Find the affected **secondary** and click **Edit**. 1. Ensure the **URL** field matches the value found in `/etc/gitlab/gitlab.rb` in `external_url "https://gitlab.example.com"` on the frontend server(s) of diff --git a/doc/administration/geo/replication/tuning.md b/doc/administration/geo/replication/tuning.md index 0e2b0a3fcb6..162ca40d665 100644 --- a/doc/administration/geo/replication/tuning.md +++ b/doc/administration/geo/replication/tuning.md @@ -9,7 +9,7 @@ type: howto ## Changing the sync capacity values -In the Geo admin page at **Admin Area >** **{location-dot}** **Geo** (`/admin/geo/nodes`), +In the Geo admin page at **Admin Area > Geo** (`/admin/geo/nodes`), there are several variables that can be tuned to improve performance of Geo: - Repository sync capacity. diff --git a/doc/administration/geo/replication/version_specific_updates.md b/doc/administration/geo/replication/version_specific_updates.md index 0f36e2e0797..d26ea3633dc 100644 --- a/doc/administration/geo/replication/version_specific_updates.md +++ b/doc/administration/geo/replication/version_specific_updates.md @@ -214,7 +214,7 @@ Replicating over SSH has been deprecated, and support for this option will be removed in a future release. To switch to HTTP/HTTPS replication, log into the **primary** node as an admin and visit -**Admin Area >** **{location-dot}** **Geo** (`/admin/geo/nodes`). For each **secondary** node listed, +**Admin Area > Geo** (`/admin/geo/nodes`). For each **secondary** node listed, press the "Edit" button, change the "Repository cloning" setting from "SSH (deprecated)" to "HTTP/HTTPS", and press "Save changes". This should take effect immediately. diff --git a/doc/development/telemetry/event_dictionary.md b/doc/development/telemetry/event_dictionary.md new file mode 100644 index 00000000000..2e1ba215b4c --- /dev/null +++ b/doc/development/telemetry/event_dictionary.md @@ -0,0 +1,369 @@ +--- +stage: Growth +group: Telemetry +info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers +--- + +# Event Dictionary + +An event dictionary is a single source of truth that outlines what events and properties you track, why you're tracking them, and where they are tracked. This is a living document that is updated any time a new event is planned or implemented. + +## Usage Ping + +| Statistic | Section | Stage | Tier | Edition | Description | +| --------------------------------------------------------- | ------------------------------------ | ------------- | ---------------- | ------- | -------------------------------------------------------------------------- | +| `uuid` | | | | | | +| `hostname` | | | | | | +| `version` | | | | | | +| `installation_type` | | | | | | +| `active_user_count` | | | | | | +| `recorded_at` | | | | | | +| `recording_ce_finished_at` | | | | CE+EE | When the core features were computed | +| `recording_ee_finished_at` | | | | EE | When the EE-specific features were computed | +| `edition` | | | | | | +| `license_md5` | | | | | | +| `license_id` | | | | | | +| `historical_max_users` | | | | | | +| `Name` | `licensee` | | | | | +| `Email` | `licensee` | | | | | +| `Company` | `licensee` | | | | | +| `license_user_count` | | | | | | +| `license_starts_at` | | | | | | +| `license_expires_at` | | | | | | +| `license_plan` | | | | | | +| `license_trial` | | | | | | +| `assignee_lists` | `counts` | | | | | +| `boards` | `counts` | | | | | +| `ci_builds` | `counts` | `verify` | | | Unique builds in project | +| `ci_internal_pipelines` | `counts` | `verify` | | | Total pipelines in GitLab repositories | +| `ci_external_pipelines` | `counts` | `verify` | | | Total pipelines in external repositories | +| `ci_pipeline_config_auto_devops` | `counts` | `verify` | | | Total pipelines from an Auto DevOps template | +| `ci_pipeline_config_repository` | `counts` | `verify` | | | Total Pipelines from templates in repository | +| `ci_runners` | `counts` | `verify` | | | Total configured Runners in project | +| `ci_triggers` | `counts` | `verify` | | | Total configured Triggers in project | +| `ci_pipeline_schedules` | `counts` | `verify` | | | Pipeline schedules in GitLab | +| `auto_devops_enabled` | `counts` | `configure` | | | Projects with Auto DevOps template enabled | +| `auto_devops_disabled` | `counts` | `configure` | | | Projects with Auto DevOps template disabled | +| `deploy_keys` | `counts` | | | | | +| `deployments` | `counts` | `release` | | | Total deployments | +| `deployments` | `counts_monthly` | `release` | | | Total deployments last 28 days | +| `dast_jobs` | `counts` | | | | | +| `successful_deployments` | `counts` | `release` | | | Total successful deployments | +| `successful_deployments` | `counts_monthly` | `release` | | | Total successful deployments last 28 days | +| `failed_deployments` | `counts` | `release` | | | Total failed deployments | +| `failed_deployments` | `counts_monthly` | `release` | | | Total failed deployments last 28 days | +| `environments` | `counts` | `release` | | | Total available and stopped environments | +| `clusters` | `counts` | `configure` | | | Total GitLab Managed clusters both enabled and disabled | +| `clusters_enabled` | `counts` | `configure` | | | Total GitLab Managed clusters currently enabled | +| `project_clusters_enabled` | `counts` | `configure` | | | Total GitLab Managed clusters attached to projects | +| `group_clusters_enabled` | `counts` | `configure` | | | Total GitLab Managed clusters attached to groups | +| `instance_clusters_enabled` | `counts` | `configure` | | | Total GitLab Managed clusters attached to the instance | +| `clusters_disabled` | `counts` | `configure` | | | Total GitLab Managed disabled clusters | +| `project_clusters_disabled` | `counts` | `configure` | | | Total GitLab Managed disabled clusters previously attached to projects | +| `group_clusters_disabled` | `counts` | `configure` | | | Total GitLab Managed disabled clusters previously attached to groups | +| `instance_clusters_disabled` | `counts` | `configure` | | | Total GitLab Managed disabled clusters previously attached to the instance | +| `clusters_platforms_eks` | `counts` | `configure` | | | Total GitLab Managed clusters provisioned with GitLab on AWS EKS | +| `clusters_platforms_gke` | `counts` | `configure` | | | Total GitLab Managed clusters provisioned with GitLab on GCE GKE | +| `clusters_platforms_user` | `counts` | `configure` | | | Total GitLab Managed clusters that are user provisioned | +| `clusters_applications_helm` | `counts` | `configure` | | | Total GitLab Managed clusters with Helm enabled | +| `clusters_applications_ingress` | `counts` | `configure` | | | Total GitLab Managed clusters with Ingress enabled | +| `clusters_applications_cert_managers` | `counts` | `configure` | | | Total GitLab Managed clusters with Cert Manager enabled | +| `clusters_applications_crossplane` | `counts` | `configure` | | | Total GitLab Managed clusters with Crossplane enabled | +| `clusters_applications_prometheus` | `counts` | `configure` | | | Total GitLab Managed clusters with Prometheus enabled | +| `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` | | | | | +| `groups` | `counts` | | | | | +| `issues` | `counts` | | | | | +| `issues_created_from_gitlab_error_tracking_ui` | `counts` | `monitor` | | | | +| `issues_with_associated_zoom_link` | `counts` | `monitor` | | | | +| `issues_using_zoom_quick_actions` | `counts` | `monitor` | | | | +| `issues_with_embedded_grafana_charts_approx` | `counts` | `monitor` | | | | +| `issues_with_health_status` | `counts` | | | | | +| `keys` | `counts` | | | | | +| `label_lists` | `counts` | | | | | +| `lfs_objects` | `counts` | | | | | +| `milestone_lists` | `counts` | | | | | +| `milestones` | `counts` | | | | | +| `pages_domains` | `counts` | `release` | | | Total GitLab Pages domains | +| `pool_repositories` | `counts` | | | | | +| `projects` | `counts` | | | | | +| `projects_imported_from_github` | `counts` | | | | | +| `projects_with_repositories_enabled` | `counts` | | | | | +| `projects_with_error_tracking_enabled` | `counts` | `monitor` | | | | +| `protected_branches` | `counts` | | | | | +| `releases` | `counts` | `release` | | | Unique release tags | +| `remote_mirrors` | `counts` | | | | | +| `requirements_created` | `counts` | | | | | +| `snippets` | `counts` | 'create' | | CE+EE | | +| `snippets` | `counts_monthly` | 'create' | | CE+EE | | +| `personal_snippets` | `counts` | 'create' | | CE+EE | | +| `personal_snippets` | `counts_monthly` | 'create' | | CE+EE | | +| `project_snippets` | `counts` | 'create' | | CE+EE | | +| `project_snippets` | `counts_monthly` | 'create' | | CE+EE | | +| `suggestions` | `counts` | | | | | +| `todos` | `counts` | | | | | +| `uploads` | `counts` | | | | | +| `web_hooks` | `counts` | | | | | +| `projects_alerts_active` | `counts` | | | | | +| `projects_asana_active` | `counts` | | | | | +| `projects_assembla_active` | `counts` | | | | | +| `projects_bamboo_active` | `counts` | | | | | +| `projects_bugzilla_active` | `counts` | | | | | +| `projects_buildkite_active` | `counts` | | | | | +| `projects_campfire_active` | `counts` | | | | | +| `projects_custom_issue_tracker_active` | `counts` | | | | | +| `projects_discord_active` | `counts` | | | | | +| `projects_drone_ci_active` | `counts` | | | | | +| `projects_emails_on_push_active` | `counts` | | | | | +| `projects_external_wiki_active` | `counts` | | | | | +| `projects_flowdock_active` | `counts` | | | | | +| `projects_github_active` | `counts` | | | | | +| `projects_hangouts_chat_active` | `counts` | | | | | +| `projects_hipchat_active` | `counts` | | | | | +| `projects_irker_active` | `counts` | | | | | +| `projects_jenkins_active` | `counts` | | | | | +| `projects_jira_active` | `counts` | | | | | +| `projects_mattermost_active` | `counts` | | | | | +| `projects_mattermost_slash_commands_active` | `counts` | | | | | +| `projects_microsoft_teams_active` | `counts` | | | | | +| `projects_packagist_active` | `counts` | | | | | +| `projects_pipelines_email_active` | `counts` | | | | | +| `projects_pivotaltracker_active` | `counts` | | | | | +| `projects_prometheus_active` | `counts` | | | | | +| `projects_pushover_active` | `counts` | | | | | +| `projects_redmine_active` | `counts` | | | | | +| `projects_slack_active` | `counts` | | | | | +| `projects_slack_slash_commands_active` | `counts` | | | | | +| `projects_teamcity_active` | `counts` | | | | | +| `projects_unify_circuit_active` | `counts` | | | | | +| `projects_webex_teams_active` | `counts` | | | | | +| `projects_youtrack_active` | `counts` | | | | | +| `projects_jira_server_active` | `counts` | | | | | +| `projects_jira_cloud_active` | `counts` | | | | | +| `projects_jira_dvcs_cloud_active` | `counts` | | | | | +| `projects_jira_dvcs_server_active` | `counts` | | | | | +| `projects_jira_issuelist_active` | `counts` | `create` | | EE | Total Jira Issue feature enabled | +| `labels` | `counts` | | | | | +| `merge_requests` | `counts` | | | | | +| `merge_requests_users` | `counts` | | | | | +| `notes` | `counts` | | | | | +| `wiki_pages_create` | `counts` | | | | | +| `wiki_pages_update` | `counts` | | | | | +| `wiki_pages_delete` | `counts` | | | | | +| `web_ide_commits` | `counts` | | | | | +| `web_ide_views` | `counts` | | | | | +| `web_ide_merge_requests` | `counts` | | | | | +| `web_ide_previews` | `counts` | | | | | +| `snippet_comment` | `counts` | | | | | +| `commit_comment` | `counts` | | | | | +| `merge_request_comment` | `counts` | | | | | +| `snippet_create` | `counts` | | | | | +| `snippet_update` | `counts` | | | | | +| `navbar_searches` | `counts` | | | | | +| `cycle_analytics_views` | `counts` | | | | | +| `productivity_analytics_views` | `counts` | | | | | +| `source_code_pushes` | `counts` | | | | | +| `merge_request_create` | `counts` | | | | | +| `design_management_designs_create` | `counts` | | | | | +| `design_management_designs_update` | `counts` | | | | | +| `design_management_designs_delete` | `counts` | | | | | +| `licenses_list_views` | `counts` | | | | | +| `user_preferences_group_overview_details` | `counts` | | | | | +| `user_preferences_group_overview_security_dashboard` | `counts` | | | | | +| `ingress_modsecurity_logging` | `counts` | | | | | +| `ingress_modsecurity_blocking` | `counts` | | | | | +| `ingress_modsecurity_disabled` | `counts` | | | | | +| `ingress_modsecurity_not_installed` | `counts` | | | | | +| `dependency_list_usages_total` | `counts` | | | | | +| `epics` | `counts` | | | | | +| `feature_flags` | `counts` | | | | | +| `geo_nodes` | `counts` | `geo` | | | Number of sites in a Geo deployment | +| `geo_event_log_max_id` | `counts` | `geo` | | | Number of replication events on a Geo primary | +| `incident_issues` | `counts` | `monitor` | | | Issues created by the alert bot | +| `alert_bot_incident_issues` | `counts` | `monitor` | | | Issues created by the alert bot | +| `incident_labeled_issues` | `counts` | `monitor` | | | Issues with the incident label | +| `issues_created_gitlab_alerts` | `counts` | `monitor` | | | Issues created from alerts by non-alert bot users | +| `issues_created_manually_from_alerts` | `counts` | `monitor` | | | Issues created from alerts by non-alert bot users | +| `issues_created_from_alerts` | `counts` | `monitor` | | | Issues created from Prometheus and alert management alerts | +| `ldap_group_links` | `counts` | | | | | +| `ldap_keys` | `counts` | | | | | +| `ldap_users` | `counts` | | | | | +| `pod_logs_usages_total` | `counts` | | | | | +| `projects_enforcing_code_owner_approval` | `counts` | | | | | +| `projects_mirrored_with_pipelines_enabled` | `counts` | `release` | | | Projects with repository mirroring enabled | +| `projects_reporting_ci_cd_back_to_github` | `counts` | `verify` | | | Projects with a GitHub service pipeline enabled | +| `projects_with_packages` | `counts` | `package` | | | Projects with package registry configured | +| `projects_with_prometheus_alerts` | `counts` | `monitor` | | | Projects with Prometheus alerting enabled | +| `projects_with_tracing_enabled` | `counts` | `monitor` | | | Projects with tracing enabled | +| `projects_with_alerts_service_enabled` | `counts` | `monitor` | | | Projects with alerting service enabled | +| `template_repositories` | `counts` | | | | | +| `container_scanning_jobs` | `counts` | | | | | +| `dependency_scanning_jobs` | `counts` | | | | | +| `license_management_jobs` | `counts` | | | | | +| `sast_jobs` | `counts` | | | | | +| `status_page_projects` | `counts` | `monitor` | | | Projects with status page enabled | +| `status_page_issues` | `counts` | `monitor` | | | Issues published to a Status Page | +| `status_page_incident_publishes` | `counts` | `monitor` | | | Cumulative count of usages of publish operation | +| `status_page_incident_unpublishes` | `counts` | `monitor` | | | Cumulative count of usages of unpublish operation | +| `epics_deepest_relationship_level` | `counts` | | | | | +| `operations_dashboard_default_dashboard` | `counts` | `monitor` | | | Active users with enabled operations dashboard | +| `operations_dashboard_users_with_projects_added` | `counts` | `monitor` | | | Active users with projects on operations dashboard | +| `container_registry_enabled` | | | | | | +| `dependency_proxy_enabled` | | | | | | +| `gitlab_shared_runners_enabled` | | | | | | +| `gravatar_enabled` | | | | | | +| `ldap_enabled` | | | | | | +| `mattermost_enabled` | | | | | | +| `omniauth_enabled` | | | | | | +| `prometheus_enabled` | | | | | Whether the bundled Prometheus is enabled | +| `prometheus_metrics_enabled` | | | | | | +| `reply_by_email_enabled` | | | | | | +| `average` | `avg_cycle_analytics - code` | | | | | +| `sd` | `avg_cycle_analytics - code` | | | | | +| `missing` | `avg_cycle_analytics - code` | | | | | +| `average` | `avg_cycle_analytics - test` | | | | | +| `sd` | `avg_cycle_analytics - test` | | | | | +| `missing` | `avg_cycle_analytics - test` | | | | | +| `average` | `avg_cycle_analytics - review` | | | | | +| `sd` | `avg_cycle_analytics - review` | | | | | +| `missing` | `avg_cycle_analytics - review` | | | | | +| `average` | `avg_cycle_analytics - staging` | | | | | +| `sd` | `avg_cycle_analytics - staging` | | | | | +| `missing` | `avg_cycle_analytics - staging` | | | | | +| `average` | `avg_cycle_analytics - production` | | | | | +| `sd` | `avg_cycle_analytics - production` | | | | | +| `missing` | `avg_cycle_analytics - production` | | | | | +| `total` | `avg_cycle_analytics` | | | | | +| `g_analytics_contribution` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/contribution_analytics | +| `g_analytics_insights` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/insights | +| `g_analytics_issues` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/issues_analytics | +| `g_analytics_productivity` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/analytics/productivity_analytics | +| `g_analytics_valuestream` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/analytics/value_stream_analytics | +| `p_analytics_pipelines` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/pipelines/charts | +| `p_analytics_code_reviews` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/-/analytics/code_reviews | +| `p_analytics_valuestream` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/-/value_stream_analytics | +| `p_analytics_insights` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/insights | +| `p_analytics_issues` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/-/analytics/issues_analytics | +| `p_analytics_repo` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/-/graphs/master/charts | +| `i_analytics_cohorts` | `analytics_unique_visits` | `manage` | | | Visits to /-/instance_statistics/cohorts | +| `i_analytics_dev_ops_score` | `analytics_unique_visits` | `manage` | | | Visits to /-/instance_statistics/dev_ops_score | +| `analytics_unique_visits_for_any_target` | `analytics_unique_visits` | `manage` | | | Visits to any of the pages listed above per week | +| `analytics_unique_visits_for_any_target_monthly` | `analytics_unique_visits` | `manage` | | | Visits to any of the pages listed above per 28 days | +| `clusters_applications_cert_managers` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with certificate managers enabled | +| `clusters_applications_helm` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with Helm enabled | +| `clusters_applications_ingress` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with Ingress enabled | +| `clusters_applications_knative` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with Knative enabled | +| `clusters_management_project` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with project management enabled | +| `clusters_disabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Total non-"GitLab Managed clusters" | +| `clusters_enabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Total GitLab Managed clusters | +| `clusters_platforms_gke` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with Google Cloud installed | +| `clusters_platforms_eks` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with AWS installed | +| `clusters_platforms_user` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters that are user provided | +| `instance_clusters_disabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters disabled on instance | +| `instance_clusters_enabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters enabled on instance | +| `group_clusters_disabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters disabled on group | +| `group_clusters_enabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters enabled on group | +| `project_clusters_disabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters disabled on project | +| `project_clusters_enabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters enabled on project | +| `projects_slack_notifications_active` | `usage_activity_by_stage` | `configure` | | EE | Unique projects with Slack service enabled | +| `projects_slack_slash_active` | `usage_activity_by_stage` | `configure` | | EE | Unique projects with Slack '/' commands enabled | +| `projects_with_prometheus_alerts` | `usage_activity_by_stage` | `configure` | | EE | Projects with Prometheus enabled and no alerts | +| `deploy_keys` | `usage_activity_by_stage` | `create` | | CE+EE | | +| `keys` | `usage_activity_by_stage` | `create` | | CE+EE | | +| `merge_requests` | `usage_activity_by_stage` | `create` | | CE+EE | | +| `projects_with_disable_overriding_approvers_per_merge_request` | `usage_activity_by_stage` | `create` | | CE+EE | | +| `projects_without_disable_overriding_approvers_per_merge_request` | `usage_activity_by_stage` | `create` | | CE+EE | | +| `remote_mirrors` | `usage_activity_by_stage` | `create` | | CE+EE | | +| `snippets` | `usage_activity_by_stage` | `create` | | CE+EE | | +| `merge_requests_users` | `usage_activity_by_stage_monthly` | `create` | | CE+EE | Unique count of users who used a merge request | +| `action_monthly_active_users_project_repo` | `usage_activity_by_stage_monthly` | `create` | | CE+EE | Unique count of users who pushed to a project repo | +| `action_monthly_active_users_design_management` | `usage_activity_by_stage_monthly` | `create` | | CE+EE | Unique count of users who interacted with the design system management | +| `action_monthly_active_users_wiki_repo` | `usage_activity_by_stage_monthly` | `create` | | CE+EE | Unique count of users who created or updated a wiki repo | +| `projects_enforcing_code_owner_approval` | `usage_activity_by_stage` | `create` | | EE | | +| `merge_requests_with_optional_codeowners` | `usage_activity_by_stage` | `create` | | EE | | +| `merge_requests_with_required_codeowners` | `usage_activity_by_stage` | `create` | | EE | | +| `projects_imported_from_github` | `usage_activity_by_stage` | `create` | | EE | | +| `projects_with_repositories_enabled` | `usage_activity_by_stage` | `create` | | EE | | +| `protected_branches` | `usage_activity_by_stage` | `create` | | EE | | +| `suggestions` | `usage_activity_by_stage` | `create` | | EE | | +| `approval_project_rules` | `usage_activity_by_stage` | `create` | | EE | Number of project approval rules | +| `approval_project_rules_with_target_branch` | `usage_activity_by_stage` | `create` | | EE | Number of project approval rules with not default target branch | +| `merge_requests_with_added_rules` | `usage_activity_by_stage` | `create` | | EE | Merge Requests with added rules | +| `clusters` | `usage_activity_by_stage` | `monitor` | | CE+EE | | +| `clusters_applications_prometheus` | `usage_activity_by_stage` | `monitor` | | CE+EE | | +| `operations_dashboard_default_dashboard` | `usage_activity_by_stage` | `monitor` | | CE+EE | | +| `operations_dashboard_users_with_projects_added` | `usage_activity_by_stage` | `monitor` | | EE | | +| `projects_prometheus_active` | `usage_activity_by_stage` | `monitor` | | EE | | +| `projects_with_error_tracking_enabled` | `usage_activity_by_stage` | `monitor` | | EE | | +| `projects_with_tracing_enabled` | `usage_activity_by_stage` | `monitor` | | EE | | +| `events` | `usage_activity_by_stage` | `manage` | | CE+EE | | +| `groups` | `usage_activity_by_stage` | `manage` | | CE+EE | | +| `users_created_at` | `usage_activity_by_stage` | `manage` | | CE+EE | | +| `omniauth_providers` | `usage_activity_by_stage` | `manage` | | CE+EE | | +| `ldap_keys` | `usage_activity_by_stage` | `manage` | | EE | | +| `ldap_users` | `usage_activity_by_stage` | `manage` | | EE | | +| `value_stream_management_customized_group_stages` | `usage_activity_by_stage` | `manage` | | EE | | +| `projects_with_compliance_framework` | `usage_activity_by_stage` | `manage` | | EE | | +| `ldap_servers` | `usage_activity_by_stage` | `manage` | | EE | | +| `ldap_group_sync_enabled` | `usage_activity_by_stage` | `manage` | | EE | | +| `ldap_admin_sync_enabled` | `usage_activity_by_stage` | `manage` | | EE | | +| `group_saml_enabled` | `usage_activity_by_stage` | `manage` | | EE | | +| `issues` | `usage_activity_by_stage` | `plan` | | CE+EE | | +| `notes` | `usage_activity_by_stage` | `plan` | | CE+EE | | +| `projects` | `usage_activity_by_stage` | `plan` | | CE+EE | | +| `todos` | `usage_activity_by_stage` | `plan` | | CE+EE | | +| `assignee_lists` | `usage_activity_by_stage` | `plan` | | EE | | +| `epics` | `usage_activity_by_stage` | `plan` | | EE | | +| `label_lists` | `usage_activity_by_stage` | `plan` | | EE | | +| `milestone_lists` | `usage_activity_by_stage` | `plan` | | EE | | +| `projects_jira_active` | `usage_activity_by_stage` | `plan` | | EE | | +| `projects_jira_dvcs_server_active` | `usage_activity_by_stage` | `plan` | | EE | | +| `projects_jira_dvcs_server_active` | `usage_activity_by_stage` | `plan` | | EE | | +| `service_desk_enabled_projects` | `usage_activity_by_stage` | `plan` | | CE+EE | | +| `service_desk_issues` | `usage_activity_by_stage` | `plan` | | CE+EE | | +| `deployments` | `usage_activity_by_stage` | `release` | | CE+EE | Total deployments | +| `failed_deployments` | `usage_activity_by_stage` | `release` | | CE+EE | Total failed deployments | +| `projects_mirrored_with_pipelines_enabled` | `usage_activity_by_stage` | `release` | | EE | Projects with repository mirroring enabled | +| `releases` | `usage_activity_by_stage` | `release` | | CE+EE | Unique release tags in project | +| `successful_deployments` | `usage_activity_by_stage` | `release` | | CE+EE | Total successful deployments | +| `user_preferences_group_overview_security_dashboard` | `usage_activity_by_stage` | `secure` | | | | +| `sast_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running sast jobs | +| `dependency_scanning_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running dependency jobs | +| `container_scanning_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running container scanning jobs | +| `dast_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running dast jobs | +| `secret_detection_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running secret detection jobs | +| `coverage_fuzzing_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running coverage jobs | +| `ci_builds` | `usage_activity_by_stage` | `verify` | | CE+EE | Unique builds in project | +| `ci_external_pipelines` | `usage_activity_by_stage` | `verify` | | CE+EE | Total pipelines in external repositories | +| `ci_internal_pipelines` | `usage_activity_by_stage` | `verify` | | CE+EE | Total pipelines in GitLab repositories | +| `ci_pipeline_config_auto_devops` | `usage_activity_by_stage` | `verify` | | CE+EE | Total pipelines from an Auto DevOps template | +| `ci_pipeline_config_repository` | `usage_activity_by_stage` | `verify` | | CE+EE | Pipelines from templates in repository | +| `ci_pipeline_schedules` | `usage_activity_by_stage` | `verify` | | CE+EE | Pipeline schedules in GitLab | +| `ci_pipelines` | `usage_activity_by_stage` | `verify` | | CE+EE | Total pipelines | +| `ci_triggers` | `usage_activity_by_stage` | `verify` | | CE+EE | Triggers enabled | +| `clusters_applications_runner` | `usage_activity_by_stage` | `verify` | | CE+EE | Unique clusters with Runner enabled | +| `projects_reporting_ci_cd_back_to_github` | `usage_activity_by_stage` | `verify` | | EE | Unique projects with a GitHub pipeline enabled | +| `merge_requests_users` | `usage_activity_by_stage_monthly` | `create` | | | Unique count of users who used a merge request | +| `duration_s` | `topology` | `enablement` | | | Time it took to collect topology data | +| `application_requests_per_hour` | `topology` | `enablement` | | | Number of requests to the web application per hour | +| `failures` | `topology` | `enablement` | | | Contains information about failed queries | +| `nodes` | `topology` | `enablement` | | | The list of server nodes on which GitLab components are running | +| `node_memory_total_bytes` | `topology > nodes` | `enablement` | | | The total available memory of this node | +| `node_cpus` | `topology > nodes` | `enablement` | | | The number of CPU cores of this node | +| `node_uname_info` | `topology > nodes` | `enablement` | | | The basic hardware architecture and OS release information on this node | +| `node_services` | `topology > nodes` | `enablement` | | | The list of GitLab services running on this node | +| `name` | `topology > nodes > node_services` | `enablement` | | | The name of the GitLab service running on this node | +| `process_count` | `topology > nodes > node_services` | `enablement` | | | The number of processes running for this service | +| `process_memory_rss` | `topology > nodes > node_services` | `enablement` | | | The average Resident Set Size of a service process | +| `process_memory_uss` | `topology > nodes > node_services` | `enablement` | | | The average Unique Set Size of a service process | +| `process_memory_pss` | `topology > nodes > node_services` | `enablement` | | | The average Proportional Set Size of a service process | +| `server` | `topology > nodes > node_services` | `enablement` | | | The type of web server used (Unicorn or Puma) | +| `network_policy_forwards` | `counts` | `defend` | | EE | Cumulative count of forwarded packets by Container Network | +| `network_policy_drops` | `counts` | `defend` | | EE | Cumulative count of dropped packets by Container Network | +| `vendor` | `container_registry_server` | `package` | | CE+EE | The Container Registry vendor (GitLab or third-party) | +| `version` | `container_registry_server` | `package` | | CE+EE | The Container Registry version (only when vendor is GitLab) | diff --git a/doc/development/telemetry/usage_ping.md b/doc/development/telemetry/usage_ping.md index be1cc6ee872..12ed81bada2 100644 --- a/doc/development/telemetry/usage_ping.md +++ b/doc/development/telemetry/usage_ping.md @@ -321,7 +321,7 @@ We also use `#database-lab` and [explain.depesz.com](https://explain.depesz.com/ ### 4. Add the metric definition -When adding, changing, or updating metrics, please update the [Usage Statistics definition table](#usage-statistics-definitions). +When adding, changing, or updating metrics, please update the [Event dictionary Usage Ping table](event_dictionary.md#usage-ping). ### 5. Add new metric to Versions Application @@ -387,366 +387,6 @@ with any of the other services that are running. That is not how node metrics ar always runs as a process alongside other GitLab components on any given node. From Usage Ping's perspective none of the node data would therefore appear to be associated to any of the services running, since they all appear to be running on different hosts. To alleviate this problem, the `node_exporter` in GCK was arbitrarily "assigned" to the `web` service, meaning only for this service `node_*` metrics will appear in Usage Ping. -## Usage Statistics definitions - -| Statistic | Section | Stage | Tier | Edition | Description | -| --------------------------------------------------------- | ------------------------------------ | ------------- | ---------------- | ------- | -------------------------------------------------------------------------- | -| `uuid` | | | | | | -| `hostname` | | | | | | -| `version` | | | | | | -| `installation_type` | | | | | | -| `active_user_count` | | | | | | -| `recorded_at` | | | | | | -| `recording_ce_finished_at` | | | | CE+EE | When the core features were computed | -| `recording_ee_finished_at` | | | | EE | When the EE-specific features were computed | -| `edition` | | | | | | -| `license_md5` | | | | | | -| `license_id` | | | | | | -| `historical_max_users` | | | | | | -| `Name` | `licensee` | | | | | -| `Email` | `licensee` | | | | | -| `Company` | `licensee` | | | | | -| `license_user_count` | | | | | | -| `license_starts_at` | | | | | | -| `license_expires_at` | | | | | | -| `license_plan` | | | | | | -| `license_trial` | | | | | | -| `assignee_lists` | `counts` | | | | | -| `boards` | `counts` | | | | | -| `ci_builds` | `counts` | `verify` | | | Unique builds in project | -| `ci_internal_pipelines` | `counts` | `verify` | | | Total pipelines in GitLab repositories | -| `ci_external_pipelines` | `counts` | `verify` | | | Total pipelines in external repositories | -| `ci_pipeline_config_auto_devops` | `counts` | `verify` | | | Total pipelines from an Auto DevOps template | -| `ci_pipeline_config_repository` | `counts` | `verify` | | | Total Pipelines from templates in repository | -| `ci_runners` | `counts` | `verify` | | | Total configured Runners in project | -| `ci_triggers` | `counts` | `verify` | | | Total configured Triggers in project | -| `ci_pipeline_schedules` | `counts` | `verify` | | | Pipeline schedules in GitLab | -| `auto_devops_enabled` | `counts` | `configure` | | | Projects with Auto DevOps template enabled | -| `auto_devops_disabled` | `counts` | `configure` | | | Projects with Auto DevOps template disabled | -| `deploy_keys` | `counts` | | | | | -| `deployments` | `counts` | `release` | | | Total deployments | -| `deployments` | `counts_monthly` | `release` | | | Total deployments last 28 days | -| `dast_jobs` | `counts` | | | | | -| `successful_deployments` | `counts` | `release` | | | Total successful deployments | -| `successful_deployments` | `counts_monthly` | `release` | | | Total successful deployments last 28 days | -| `failed_deployments` | `counts` | `release` | | | Total failed deployments | -| `failed_deployments` | `counts_monthly` | `release` | | | Total failed deployments last 28 days | -| `environments` | `counts` | `release` | | | Total available and stopped environments | -| `clusters` | `counts` | `configure` | | | Total GitLab Managed clusters both enabled and disabled | -| `clusters_enabled` | `counts` | `configure` | | | Total GitLab Managed clusters currently enabled | -| `project_clusters_enabled` | `counts` | `configure` | | | Total GitLab Managed clusters attached to projects | -| `group_clusters_enabled` | `counts` | `configure` | | | Total GitLab Managed clusters attached to groups | -| `instance_clusters_enabled` | `counts` | `configure` | | | Total GitLab Managed clusters attached to the instance | -| `clusters_disabled` | `counts` | `configure` | | | Total GitLab Managed disabled clusters | -| `project_clusters_disabled` | `counts` | `configure` | | | Total GitLab Managed disabled clusters previously attached to projects | -| `group_clusters_disabled` | `counts` | `configure` | | | Total GitLab Managed disabled clusters previously attached to groups | -| `instance_clusters_disabled` | `counts` | `configure` | | | Total GitLab Managed disabled clusters previously attached to the instance | -| `clusters_platforms_eks` | `counts` | `configure` | | | Total GitLab Managed clusters provisioned with GitLab on AWS EKS | -| `clusters_platforms_gke` | `counts` | `configure` | | | Total GitLab Managed clusters provisioned with GitLab on GCE GKE | -| `clusters_platforms_user` | `counts` | `configure` | | | Total GitLab Managed clusters that are user provisioned | -| `clusters_applications_helm` | `counts` | `configure` | | | Total GitLab Managed clusters with Helm enabled | -| `clusters_applications_ingress` | `counts` | `configure` | | | Total GitLab Managed clusters with Ingress enabled | -| `clusters_applications_cert_managers` | `counts` | `configure` | | | Total GitLab Managed clusters with Cert Manager enabled | -| `clusters_applications_crossplane` | `counts` | `configure` | | | Total GitLab Managed clusters with Crossplane enabled | -| `clusters_applications_prometheus` | `counts` | `configure` | | | Total GitLab Managed clusters with Prometheus enabled | -| `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` | | | | | -| `groups` | `counts` | | | | | -| `issues` | `counts` | | | | | -| `issues_created_from_gitlab_error_tracking_ui` | `counts` | `monitor` | | | | -| `issues_with_associated_zoom_link` | `counts` | `monitor` | | | | -| `issues_using_zoom_quick_actions` | `counts` | `monitor` | | | | -| `issues_with_embedded_grafana_charts_approx` | `counts` | `monitor` | | | | -| `issues_with_health_status` | `counts` | | | | | -| `keys` | `counts` | | | | | -| `label_lists` | `counts` | | | | | -| `lfs_objects` | `counts` | | | | | -| `milestone_lists` | `counts` | | | | | -| `milestones` | `counts` | | | | | -| `pages_domains` | `counts` | `release` | | | Total GitLab Pages domains | -| `pool_repositories` | `counts` | | | | | -| `projects` | `counts` | | | | | -| `projects_imported_from_github` | `counts` | | | | | -| `projects_with_repositories_enabled` | `counts` | | | | | -| `projects_with_error_tracking_enabled` | `counts` | `monitor` | | | | -| `protected_branches` | `counts` | | | | | -| `releases` | `counts` | `release` | | | Unique release tags | -| `remote_mirrors` | `counts` | | | | | -| `requirements_created` | `counts` | | | | | -| `snippets` | `counts` | 'create' | | CE+EE | | -| `snippets` | `counts_monthly` | 'create' | | CE+EE | | -| `personal_snippets` | `counts` | 'create' | | CE+EE | | -| `personal_snippets` | `counts_monthly` | 'create' | | CE+EE | | -| `project_snippets` | `counts` | 'create' | | CE+EE | | -| `project_snippets` | `counts_monthly` | 'create' | | CE+EE | | -| `suggestions` | `counts` | | | | | -| `todos` | `counts` | | | | | -| `uploads` | `counts` | | | | | -| `web_hooks` | `counts` | | | | | -| `projects_alerts_active` | `counts` | | | | | -| `projects_asana_active` | `counts` | | | | | -| `projects_assembla_active` | `counts` | | | | | -| `projects_bamboo_active` | `counts` | | | | | -| `projects_bugzilla_active` | `counts` | | | | | -| `projects_buildkite_active` | `counts` | | | | | -| `projects_campfire_active` | `counts` | | | | | -| `projects_custom_issue_tracker_active` | `counts` | | | | | -| `projects_discord_active` | `counts` | | | | | -| `projects_drone_ci_active` | `counts` | | | | | -| `projects_emails_on_push_active` | `counts` | | | | | -| `projects_external_wiki_active` | `counts` | | | | | -| `projects_flowdock_active` | `counts` | | | | | -| `projects_github_active` | `counts` | | | | | -| `projects_hangouts_chat_active` | `counts` | | | | | -| `projects_hipchat_active` | `counts` | | | | | -| `projects_irker_active` | `counts` | | | | | -| `projects_jenkins_active` | `counts` | | | | | -| `projects_jira_active` | `counts` | | | | | -| `projects_mattermost_active` | `counts` | | | | | -| `projects_mattermost_slash_commands_active` | `counts` | | | | | -| `projects_microsoft_teams_active` | `counts` | | | | | -| `projects_packagist_active` | `counts` | | | | | -| `projects_pipelines_email_active` | `counts` | | | | | -| `projects_pivotaltracker_active` | `counts` | | | | | -| `projects_prometheus_active` | `counts` | | | | | -| `projects_pushover_active` | `counts` | | | | | -| `projects_redmine_active` | `counts` | | | | | -| `projects_slack_active` | `counts` | | | | | -| `projects_slack_slash_commands_active` | `counts` | | | | | -| `projects_teamcity_active` | `counts` | | | | | -| `projects_unify_circuit_active` | `counts` | | | | | -| `projects_webex_teams_active` | `counts` | | | | | -| `projects_youtrack_active` | `counts` | | | | | -| `projects_jira_server_active` | `counts` | | | | | -| `projects_jira_cloud_active` | `counts` | | | | | -| `projects_jira_dvcs_cloud_active` | `counts` | | | | | -| `projects_jira_dvcs_server_active` | `counts` | | | | | -| `projects_jira_issuelist_active` | `counts` | `create` | | EE | Total Jira Issue feature enabled | -| `labels` | `counts` | | | | | -| `merge_requests` | `counts` | | | | | -| `merge_requests_users` | `counts` | | | | | -| `notes` | `counts` | | | | | -| `wiki_pages_create` | `counts` | | | | | -| `wiki_pages_update` | `counts` | | | | | -| `wiki_pages_delete` | `counts` | | | | | -| `web_ide_commits` | `counts` | | | | | -| `web_ide_views` | `counts` | | | | | -| `web_ide_merge_requests` | `counts` | | | | | -| `web_ide_previews` | `counts` | | | | | -| `snippet_comment` | `counts` | | | | | -| `commit_comment` | `counts` | | | | | -| `merge_request_comment` | `counts` | | | | | -| `snippet_create` | `counts` | | | | | -| `snippet_update` | `counts` | | | | | -| `navbar_searches` | `counts` | | | | | -| `cycle_analytics_views` | `counts` | | | | | -| `productivity_analytics_views` | `counts` | | | | | -| `source_code_pushes` | `counts` | | | | | -| `merge_request_create` | `counts` | | | | | -| `design_management_designs_create` | `counts` | | | | | -| `design_management_designs_update` | `counts` | | | | | -| `design_management_designs_delete` | `counts` | | | | | -| `licenses_list_views` | `counts` | | | | | -| `user_preferences_group_overview_details` | `counts` | | | | | -| `user_preferences_group_overview_security_dashboard` | `counts` | | | | | -| `ingress_modsecurity_logging` | `counts` | | | | | -| `ingress_modsecurity_blocking` | `counts` | | | | | -| `ingress_modsecurity_disabled` | `counts` | | | | | -| `ingress_modsecurity_not_installed` | `counts` | | | | | -| `dependency_list_usages_total` | `counts` | | | | | -| `epics` | `counts` | | | | | -| `feature_flags` | `counts` | | | | | -| `geo_nodes` | `counts` | `geo` | | | Number of sites in a Geo deployment | -| `geo_event_log_max_id` | `counts` | `geo` | | | Number of replication events on a Geo primary | -| `incident_issues` | `counts` | `monitor` | | | Issues created by the alert bot | -| `alert_bot_incident_issues` | `counts` | `monitor` | | | Issues created by the alert bot | -| `incident_labeled_issues` | `counts` | `monitor` | | | Issues with the incident label | -| `issues_created_gitlab_alerts` | `counts` | `monitor` | | | Issues created from alerts by non-alert bot users | -| `issues_created_manually_from_alerts` | `counts` | `monitor` | | | Issues created from alerts by non-alert bot users | -| `issues_created_from_alerts` | `counts` | `monitor` | | | Issues created from Prometheus and alert management alerts | -| `ldap_group_links` | `counts` | | | | | -| `ldap_keys` | `counts` | | | | | -| `ldap_users` | `counts` | | | | | -| `pod_logs_usages_total` | `counts` | | | | | -| `projects_enforcing_code_owner_approval` | `counts` | | | | | -| `projects_mirrored_with_pipelines_enabled` | `counts` | `release` | | | Projects with repository mirroring enabled | -| `projects_reporting_ci_cd_back_to_github` | `counts` | `verify` | | | Projects with a GitHub service pipeline enabled | -| `projects_with_packages` | `counts` | `package` | | | Projects with package registry configured | -| `projects_with_prometheus_alerts` | `counts` | `monitor` | | | Projects with Prometheus alerting enabled | -| `projects_with_tracing_enabled` | `counts` | `monitor` | | | Projects with tracing enabled | -| `projects_with_alerts_service_enabled` | `counts` | `monitor` | | | Projects with alerting service enabled | -| `template_repositories` | `counts` | | | | | -| `container_scanning_jobs` | `counts` | | | | | -| `dependency_scanning_jobs` | `counts` | | | | | -| `license_management_jobs` | `counts` | | | | | -| `sast_jobs` | `counts` | | | | | -| `status_page_projects` | `counts` | `monitor` | | | Projects with status page enabled | -| `status_page_issues` | `counts` | `monitor` | | | Issues published to a Status Page | -| `status_page_incident_publishes` | `counts` | `monitor` | | | Cumulative count of usages of publish operation | -| `status_page_incident_unpublishes` | `counts` | `monitor` | | | Cumulative count of usages of unpublish operation | -| `epics_deepest_relationship_level` | `counts` | | | | | -| `operations_dashboard_default_dashboard` | `counts` | `monitor` | | | Active users with enabled operations dashboard | -| `operations_dashboard_users_with_projects_added` | `counts` | `monitor` | | | Active users with projects on operations dashboard | -| `container_registry_enabled` | | | | | | -| `dependency_proxy_enabled` | | | | | | -| `gitlab_shared_runners_enabled` | | | | | | -| `gravatar_enabled` | | | | | | -| `ldap_enabled` | | | | | | -| `mattermost_enabled` | | | | | | -| `omniauth_enabled` | | | | | | -| `prometheus_enabled` | | | | | Whether the bundled Prometheus is enabled | -| `prometheus_metrics_enabled` | | | | | | -| `reply_by_email_enabled` | | | | | | -| `average` | `avg_cycle_analytics - code` | | | | | -| `sd` | `avg_cycle_analytics - code` | | | | | -| `missing` | `avg_cycle_analytics - code` | | | | | -| `average` | `avg_cycle_analytics - test` | | | | | -| `sd` | `avg_cycle_analytics - test` | | | | | -| `missing` | `avg_cycle_analytics - test` | | | | | -| `average` | `avg_cycle_analytics - review` | | | | | -| `sd` | `avg_cycle_analytics - review` | | | | | -| `missing` | `avg_cycle_analytics - review` | | | | | -| `average` | `avg_cycle_analytics - staging` | | | | | -| `sd` | `avg_cycle_analytics - staging` | | | | | -| `missing` | `avg_cycle_analytics - staging` | | | | | -| `average` | `avg_cycle_analytics - production` | | | | | -| `sd` | `avg_cycle_analytics - production` | | | | | -| `missing` | `avg_cycle_analytics - production` | | | | | -| `total` | `avg_cycle_analytics` | | | | | -| `g_analytics_contribution` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/contribution_analytics | -| `g_analytics_insights` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/insights | -| `g_analytics_issues` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/issues_analytics | -| `g_analytics_productivity` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/analytics/productivity_analytics | -| `g_analytics_valuestream` | `analytics_unique_visits` | `manage` | | | Visits to /groups/:group/-/analytics/value_stream_analytics | -| `p_analytics_pipelines` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/pipelines/charts | -| `p_analytics_code_reviews` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/-/analytics/code_reviews | -| `p_analytics_valuestream` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/-/value_stream_analytics | -| `p_analytics_insights` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/insights | -| `p_analytics_issues` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/-/analytics/issues_analytics | -| `p_analytics_repo` | `analytics_unique_visits` | `manage` | | | Visits to /:group/:project/-/graphs/master/charts | -| `i_analytics_cohorts` | `analytics_unique_visits` | `manage` | | | Visits to /-/instance_statistics/cohorts | -| `i_analytics_dev_ops_score` | `analytics_unique_visits` | `manage` | | | Visits to /-/instance_statistics/dev_ops_score | -| `analytics_unique_visits_for_any_target` | `analytics_unique_visits` | `manage` | | | Visits to any of the pages listed above per week | -| `analytics_unique_visits_for_any_target_monthly` | `analytics_unique_visits` | `manage` | | | Visits to any of the pages listed above per 28 days | -| `clusters_applications_cert_managers` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with certificate managers enabled | -| `clusters_applications_helm` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with Helm enabled | -| `clusters_applications_ingress` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with Ingress enabled | -| `clusters_applications_knative` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with Knative enabled | -| `clusters_management_project` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with project management enabled | -| `clusters_disabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Total non-"GitLab Managed clusters" | -| `clusters_enabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Total GitLab Managed clusters | -| `clusters_platforms_gke` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with Google Cloud installed | -| `clusters_platforms_eks` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters with AWS installed | -| `clusters_platforms_user` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters that are user provided | -| `instance_clusters_disabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters disabled on instance | -| `instance_clusters_enabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters enabled on instance | -| `group_clusters_disabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters disabled on group | -| `group_clusters_enabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters enabled on group | -| `project_clusters_disabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters disabled on project | -| `project_clusters_enabled` | `usage_activity_by_stage` | `configure` | | CE+EE | Unique clusters enabled on project | -| `projects_slack_notifications_active` | `usage_activity_by_stage` | `configure` | | EE | Unique projects with Slack service enabled | -| `projects_slack_slash_active` | `usage_activity_by_stage` | `configure` | | EE | Unique projects with Slack '/' commands enabled | -| `projects_with_prometheus_alerts` | `usage_activity_by_stage` | `configure` | | EE | Projects with Prometheus enabled and no alerts | -| `deploy_keys` | `usage_activity_by_stage` | `create` | | CE+EE | | -| `keys` | `usage_activity_by_stage` | `create` | | CE+EE | | -| `merge_requests` | `usage_activity_by_stage` | `create` | | CE+EE | | -| `projects_with_disable_overriding_approvers_per_merge_request` | `usage_activity_by_stage` | `create` | | CE+EE | | -| `projects_without_disable_overriding_approvers_per_merge_request` | `usage_activity_by_stage` | `create` | | CE+EE | | -| `remote_mirrors` | `usage_activity_by_stage` | `create` | | CE+EE | | -| `snippets` | `usage_activity_by_stage` | `create` | | CE+EE | | -| `merge_requests_users` | `usage_activity_by_stage_monthly` | `create` | | CE+EE | Unique count of users who used a merge request | -| `action_monthly_active_users_project_repo` | `usage_activity_by_stage_monthly` | `create` | | CE+EE | Unique count of users who pushed to a project repo | -| `action_monthly_active_users_design_management` | `usage_activity_by_stage_monthly` | `create` | | CE+EE | Unique count of users who interacted with the design system management | -| `action_monthly_active_users_wiki_repo` | `usage_activity_by_stage_monthly` | `create` | | CE+EE | Unique count of users who created or updated a wiki repo | -| `projects_enforcing_code_owner_approval` | `usage_activity_by_stage` | `create` | | EE | | -| `merge_requests_with_optional_codeowners` | `usage_activity_by_stage` | `create` | | EE | | -| `merge_requests_with_required_codeowners` | `usage_activity_by_stage` | `create` | | EE | | -| `projects_imported_from_github` | `usage_activity_by_stage` | `create` | | EE | | -| `projects_with_repositories_enabled` | `usage_activity_by_stage` | `create` | | EE | | -| `protected_branches` | `usage_activity_by_stage` | `create` | | EE | | -| `suggestions` | `usage_activity_by_stage` | `create` | | EE | | -| `approval_project_rules` | `usage_activity_by_stage` | `create` | | EE | Number of project approval rules | -| `approval_project_rules_with_target_branch` | `usage_activity_by_stage` | `create` | | EE | Number of project approval rules with not default target branch | -| `merge_requests_with_added_rules` | `usage_activity_by_stage` | `create` | | EE | Merge Requests with added rules | -| `clusters` | `usage_activity_by_stage` | `monitor` | | CE+EE | | -| `clusters_applications_prometheus` | `usage_activity_by_stage` | `monitor` | | CE+EE | | -| `operations_dashboard_default_dashboard` | `usage_activity_by_stage` | `monitor` | | CE+EE | | -| `operations_dashboard_users_with_projects_added` | `usage_activity_by_stage` | `monitor` | | EE | | -| `projects_prometheus_active` | `usage_activity_by_stage` | `monitor` | | EE | | -| `projects_with_error_tracking_enabled` | `usage_activity_by_stage` | `monitor` | | EE | | -| `projects_with_tracing_enabled` | `usage_activity_by_stage` | `monitor` | | EE | | -| `events` | `usage_activity_by_stage` | `manage` | | CE+EE | | -| `groups` | `usage_activity_by_stage` | `manage` | | CE+EE | | -| `users_created_at` | `usage_activity_by_stage` | `manage` | | CE+EE | | -| `omniauth_providers` | `usage_activity_by_stage` | `manage` | | CE+EE | | -| `ldap_keys` | `usage_activity_by_stage` | `manage` | | EE | | -| `ldap_users` | `usage_activity_by_stage` | `manage` | | EE | | -| `value_stream_management_customized_group_stages` | `usage_activity_by_stage` | `manage` | | EE | | -| `projects_with_compliance_framework` | `usage_activity_by_stage` | `manage` | | EE | | -| `ldap_servers` | `usage_activity_by_stage` | `manage` | | EE | | -| `ldap_group_sync_enabled` | `usage_activity_by_stage` | `manage` | | EE | | -| `ldap_admin_sync_enabled` | `usage_activity_by_stage` | `manage` | | EE | | -| `group_saml_enabled` | `usage_activity_by_stage` | `manage` | | EE | | -| `issues` | `usage_activity_by_stage` | `plan` | | CE+EE | | -| `notes` | `usage_activity_by_stage` | `plan` | | CE+EE | | -| `projects` | `usage_activity_by_stage` | `plan` | | CE+EE | | -| `todos` | `usage_activity_by_stage` | `plan` | | CE+EE | | -| `assignee_lists` | `usage_activity_by_stage` | `plan` | | EE | | -| `epics` | `usage_activity_by_stage` | `plan` | | EE | | -| `label_lists` | `usage_activity_by_stage` | `plan` | | EE | | -| `milestone_lists` | `usage_activity_by_stage` | `plan` | | EE | | -| `projects_jira_active` | `usage_activity_by_stage` | `plan` | | EE | | -| `projects_jira_dvcs_server_active` | `usage_activity_by_stage` | `plan` | | EE | | -| `projects_jira_dvcs_server_active` | `usage_activity_by_stage` | `plan` | | EE | | -| `service_desk_enabled_projects` | `usage_activity_by_stage` | `plan` | | CE+EE | | -| `service_desk_issues` | `usage_activity_by_stage` | `plan` | | CE+EE | | -| `deployments` | `usage_activity_by_stage` | `release` | | CE+EE | Total deployments | -| `failed_deployments` | `usage_activity_by_stage` | `release` | | CE+EE | Total failed deployments | -| `projects_mirrored_with_pipelines_enabled` | `usage_activity_by_stage` | `release` | | EE | Projects with repository mirroring enabled | -| `releases` | `usage_activity_by_stage` | `release` | | CE+EE | Unique release tags in project | -| `successful_deployments` | `usage_activity_by_stage` | `release` | | CE+EE | Total successful deployments | -| `user_preferences_group_overview_security_dashboard` | `usage_activity_by_stage` | `secure` | | | | -| `sast_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running sast jobs | -| `dependency_scanning_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running dependency jobs | -| `container_scanning_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running container scanning jobs | -| `dast_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running dast jobs | -| `secret_detection_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running secret detection jobs | -| `coverage_fuzzing_pipeline` | `usage_activity_by_stage_monthly` | `secure` | | EE | Number of pipelines running coverage jobs | -| `ci_builds` | `usage_activity_by_stage` | `verify` | | CE+EE | Unique builds in project | -| `ci_external_pipelines` | `usage_activity_by_stage` | `verify` | | CE+EE | Total pipelines in external repositories | -| `ci_internal_pipelines` | `usage_activity_by_stage` | `verify` | | CE+EE | Total pipelines in GitLab repositories | -| `ci_pipeline_config_auto_devops` | `usage_activity_by_stage` | `verify` | | CE+EE | Total pipelines from an Auto DevOps template | -| `ci_pipeline_config_repository` | `usage_activity_by_stage` | `verify` | | CE+EE | Pipelines from templates in repository | -| `ci_pipeline_schedules` | `usage_activity_by_stage` | `verify` | | CE+EE | Pipeline schedules in GitLab | -| `ci_pipelines` | `usage_activity_by_stage` | `verify` | | CE+EE | Total pipelines | -| `ci_triggers` | `usage_activity_by_stage` | `verify` | | CE+EE | Triggers enabled | -| `clusters_applications_runner` | `usage_activity_by_stage` | `verify` | | CE+EE | Unique clusters with Runner enabled | -| `projects_reporting_ci_cd_back_to_github` | `usage_activity_by_stage` | `verify` | | EE | Unique projects with a GitHub pipeline enabled | -| `merge_requests_users` | `usage_activity_by_stage_monthly` | `create` | | | Unique count of users who used a merge request | -| `duration_s` | `topology` | `enablement` | | | Time it took to collect topology data | -| `application_requests_per_hour` | `topology` | `enablement` | | | Number of requests to the web application per hour | -| `failures` | `topology` | `enablement` | | | Contains information about failed queries, including types of exceptions and names of unsupported services | -| `nodes` | `topology` | `enablement` | | | The list of server nodes on which GitLab components are running | -| `node_memory_total_bytes` | `topology > nodes` | `enablement` | | | The total available memory of this node | -| `node_cpus` | `topology > nodes` | `enablement` | | | The number of CPU cores of this node | -| `node_uname_info` | `topology > nodes` | `enablement` | | | The basic hardware architecture and OS release information on this node | -| `node_services` | `topology > nodes` | `enablement` | | | The list of GitLab services running on this node | -| `name` | `topology > nodes > node_services` | `enablement` | | | The name of the GitLab service running on this node | -| `process_count` | `topology > nodes > node_services` | `enablement` | | | The number of processes running for this service | -| `process_memory_rss` | `topology > nodes > node_services` | `enablement` | | | The average Resident Set Size of a service process | -| `process_memory_uss` | `topology > nodes > node_services` | `enablement` | | | The average Unique Set Size of a service process | -| `process_memory_pss` | `topology > nodes > node_services` | `enablement` | | | The average Proportional Set Size of a service process | -| `server` | `topology > nodes > node_services` | `enablement` | | | The type of web server used (Unicorn or Puma) | -| `network_policy_forwards` | `counts` | `defend` | | EE | Cumulative count of forwarded packets by Container Network | -| `network_policy_drops` | `counts` | `defend` | | EE | Cumulative count of dropped packets by Container Network | -| `vendor` | `container_registry_server` | `package` | | CE+EE | The Container Registry vendor (GitLab or third-party) | -| `version` | `container_registry_server` | `package` | | CE+EE | The Container Registry version (only when vendor is GitLab) | - ## Example Usage Ping payload The following is example content of the Usage Ping payload. diff --git a/doc/user/admin_area/settings/index.md b/doc/user/admin_area/settings/index.md index 8f8e916b6cc..db6dbb7f38b 100644 --- a/doc/user/admin_area/settings/index.md +++ b/doc/user/admin_area/settings/index.md @@ -95,7 +95,7 @@ Access the default page for admin area settings by navigating to **Admin Area > | Option | Description | | ------ | ----------- | -| Geo | Geo allows you to replicate your GitLab instance to other geographical locations. Redirects to **Admin Area >** **{location-dot}** **Geo > Settings**, and will no longer be available at **Admin Area > Settings >** **{location-dot}** **Geo** in [GitLab 13.0](https://gitlab.com/gitlab-org/gitlab/-/issues/36896). | +| Geo | Geo allows you to replicate your GitLab instance to other geographical locations. Redirects to **Admin Area > Geo > Settings**, and will no longer be available at **Admin Area > Settings > Geo** in [GitLab 13.0](https://gitlab.com/gitlab-org/gitlab/-/issues/36896). | ## Preferences diff --git a/doc/user/application_security/coverage_fuzzing/index.md b/doc/user/application_security/coverage_fuzzing/index.md index c202a8d303a..98508669f0a 100644 --- a/doc/user/application_security/coverage_fuzzing/index.md +++ b/doc/user/application_security/coverage_fuzzing/index.md @@ -110,6 +110,12 @@ any option available in the underlying fuzzing engine. | `COVERAGE_FUZZING_BRANCH` | The branch for long-running fuzzing jobs. The default is `master`. | | `CI_SEED_CORPUS` | Path to a seed corpus directory. The default is empty. | +The files in the seed corpus (`CI_SEED_CORPUS`), if provided, aren't updated unless you commit new +files to your Git repository. There's usually no need to frequently update the seed corpus. As part +of the GitLab artifacts system, GitLab saves in a corpus directory the new test cases that every run +generates. In any subsequent runs, GitLab also reuses the generated corpus together with the seed +corpus. + ### Additional Configuration The `gitlab-cov-fuzz` command passes all arguments it receives to the underlying fuzzing engine. You diff --git a/spec/helpers/environments_helper_spec.rb b/spec/helpers/environments_helper_spec.rb index 90d6096654e..691a9e05ba9 100644 --- a/spec/helpers/environments_helper_spec.rb +++ b/spec/helpers/environments_helper_spec.rb @@ -23,7 +23,7 @@ RSpec.describe EnvironmentsHelper do 'metrics-dashboard-base-path' => environment_metrics_path(environment), 'current-environment-name' => environment.name, 'documentation-path' => help_page_path('administration/monitoring/prometheus/index.md'), - 'add-dashboard-documentation-path' => help_page_path('user/project/integrations/prometheus.md', anchor: 'adding-a-new-dashboard-to-your-project'), + 'add-dashboard-documentation-path' => help_page_path('operations/metrics/dashboards/index.md', anchor: 'add-a-new-dashboard-to-your-project'), 'empty-getting-started-svg-path' => match_asset_path('/assets/illustrations/monitoring/getting_started.svg'), 'empty-loading-svg-path' => match_asset_path('/assets/illustrations/monitoring/loading.svg'), 'empty-no-data-svg-path' => match_asset_path('/assets/illustrations/monitoring/no_data.svg'), diff --git a/spec/presenters/clusters/cluster_presenter_spec.rb b/spec/presenters/clusters/cluster_presenter_spec.rb index 5b75b281297..e99b04fda8d 100644 --- a/spec/presenters/clusters/cluster_presenter_spec.rb +++ b/spec/presenters/clusters/cluster_presenter_spec.rb @@ -265,7 +265,7 @@ RSpec.describe Clusters::ClusterPresenter do is_expected.to include('clusters-path': clusterable_presenter.index_path, 'dashboard-endpoint': clusterable_presenter.metrics_dashboard_path(cluster), 'documentation-path': help_page_path('user/project/clusters/index', anchor: 'monitoring-your-kubernetes-cluster-ultimate'), - 'add-dashboard-documentation-path': help_page_path('user/project/integrations/prometheus.md', anchor: 'adding-a-new-dashboard-to-your-project'), + 'add-dashboard-documentation-path': help_page_path('operations/metrics/dashboards/index.md', anchor: 'add-a-new-dashboard-to-your-project'), 'empty-getting-started-svg-path': match_asset_path('/assets/illustrations/monitoring/getting_started.svg'), 'empty-loading-svg-path': match_asset_path('/assets/illustrations/monitoring/loading.svg'), 'empty-no-data-svg-path': match_asset_path('/assets/illustrations/monitoring/no_data.svg'),