正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

Test plan for redis-exporter component upgrade

一貫した開発プロセスとドキュメントを確保するため、GitLabへのすべての貢献は英語で提出する必要があります。そのため、GitLabへの貢献に関するドキュメント(https://docs.gitlab.com/development/に掲載)も英語でのみ提供されています。

以下を希望される場合:

  • コードの貢献を提出する
  • バグの報告または修正
  • 機能や改善の提案
  • ドキュメントへの貢献

これらのページの英語版のガイドラインに従ってください。

このページの英語版にアクセスしてください。

Copy the following test plan to a comment of the merge request that upgrades the component.

## Test plan

- [ ] Check [`redis-exporter` project repository](https://gitlab.com/gitlab-org/build/omnibus-mirror/redis_exporter) for potential breaking changes.
- [ ] Green pipeline with `Trigger:ee-package` and `build-package-on-all-os`.
- [ ] `redis-exporter` starts. Run `sudo gitlab-ctl status redis-exporter` and check output
- [ ] Check the version.
  ```shell
  /opt/gitlab/embedded/bin/redis_exporter -version
  INFO[0000] Redis Metrics Exporter 1.74.0    build date:     sha1:     Go: go1.24.5    GOOS: linux    GOARCH: amd64
  ```
  To ensure `redis-exporter` started successfully.

  ```shell
  sudo gitlab-ctl status redis-exporter
  ```

- [ ] Check that `redis-exporter` endpoint can be queried.

  ```shell
  curl --silent "http://localhost:9121/metrics" | head -n5
  ```

- [ ]  Check that Prometheus scrapes redis metrics by poking metrics endpoint.

  ```shell
  curl --silent "http://localhost:9090/metrics" | grep redis
  ```