File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 3
3
## Updating components
4
4
5
5
<!-- Keep this list sorted alphabetically. -->
6
+ - [ gitlab-exporter] ( upgrade-gitlab-exporter-testplan.md )
6
7
- [ golang] ( upgrade-golang-testplan.md )
7
8
- [ go-crond] ( upgrade-go-crond-testplan.md )
8
9
- [ Mattermost] ( upgrade-mattermost-testplan.md )
Original file line number Diff line number Diff line change
1
+ # ` gitlab-exporter ` component upgrade test plan
2
+
3
+ <!-- Copy and paste the following into your MR description. -->
4
+ ## Test plan
5
+
6
+ - [ ] Check ` gitlab-exporter ` project repository for potential breaking changes at https://gitlab.com/gitlab-org/ruby/gems/gitlab-exporter .
7
+
8
+ - [ ] Green pipeline with ` Trigger:ee-package ` and ` build-package-on-all-os ` .
9
+
10
+ - [ ] ` gitlab-exporter ` starts. Run ` sudo gitlab-ctl status gitlab-exporter ` and check output
11
+ to ensure ` gitlab-exporter ` started successfully.
12
+
13
+ ``` shell
14
+ sudo gitlab-ctl status gitlab-exporter
15
+ ```
16
+
17
+ - [ ] Check exporter version. Run ` /opt/gitlab/embedded/bin/gem list gitlab-exporter `
18
+
19
+ ``` shell
20
+ /opt/gitlab/embedded/bin/gem list gitlab-exporter
21
+ ```
22
+
23
+ - [ ] Check that ` gitlab-exporter ` endpoint can be queried.
24
+
25
+ ``` shell
26
+ curl --silent http://localhost:9168/metrics | head -n5
27
+ ```
28
+
29
+ - [ ] Check that prometheus scrapes ` gitlab_exporter_database ` , ` gitlab_exporter_ruby ` and ` gitlab_exporter_sidekiq ` by poking metrics endpoint.
30
+
31
+ ``` shell
32
+ curl --silent http://localhost:9090/metrics | grep gitlab_exporter
33
+ ```
You can’t perform that action at this time.
0 commit comments