summaryrefslogtreecommitdiff
path: root/internal/metrics
Commit message (Collapse)AuthorAgeFilesLines
* Exclude Gitaly unavailable error from error rateIgor Drozdov2022-05-211-9/+0
| | | | | | | When a user hits repository rate limit, Gitaly returns an error that the request can't be handled (Gitaly unavailable) We should avoid this error to avoid exceeding the error rate
* Log canceled requests into separate metricsIgor Drozdov2022-05-171-0/+10
| | | | When a request get canceled we don't want to consider it an error
* Add additional metrics to gitlab-sshdIgor Drozdov2022-04-131-15/+41
| | | | | | | | | - Observe time to establish a session - Log the duration of the successfully established connection - Observe total time to handle the connection - Log the duration of the successfully executed connection - Observe the count of ssh connections - Observe the count of failed ssh connections
* Reuse Gitaly conns and SidechannelIgor Drozdov2022-03-071-3/+16
| | | | | | | | When gitlab-sshd has been introduced we've started running our own SSH server. In this case we're able to cache and reuse Gitaly connections and Registry. It helps to reduce memory usage.
* Add more metrics for gitlab-sshdIgor Drozdov2022-02-211-13/+64
| | | | | | - Counter of HTTP merge requests - Gauge of HTTP requests currently being performed - Gauge of connections currently handled by gitlab sshd
* Prometheus metrics for HTTP requestsIgor Drozdov2021-07-211-0/+63
A RoundTripper for tracking the duration of an http request is introduced