debian-mirror-gitlab/doc/administration/monitoring/prometheus/registry_exporter.md

28 lines
1,010 B
Markdown
Raw Normal View History

2020-05-24 23:13:21 +05:30
---
stage: Monitor
2021-04-29 21:17:54 +05:30
group: Monitor
2021-02-22 17:27:13 +05:30
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/#assignments
2020-05-24 23:13:21 +05:30
---
2021-03-11 19:13:27 +05:30
# Registry exporter **(FREE SELF)**
2020-01-01 13:55:28 +05:30
2020-03-13 15:44:24 +05:30
> [Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/2884) in GitLab 11.9.
2020-01-01 13:55:28 +05:30
The Registry exporter allows you to measure various Registry metrics.
To enable it:
1. [Enable Prometheus](index.md#configuring-prometheus).
1. Edit `/etc/gitlab/gitlab.rb` and enable [debug mode](https://docs.docker.com/registry/#debug) for the Registry:
```ruby
registry['debug_addr'] = "localhost:5001" # localhost:5001/metrics
```
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
for the changes to take effect.
2021-02-22 17:27:13 +05:30
Prometheus automatically begins collecting performance data from
2020-01-01 13:55:28 +05:30
the registry exporter exposed under `localhost:5001/metrics`.
[← Back to the main Prometheus page](index.md)