<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/config/initializers/lograge.rb, branch import-github-scb</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Migrate correlation and tracing code to LabKit</title>
<updated>2019-04-18T07:57:16+00:00</updated>
<author>
<name>Andrew Newdigate</name>
<email>andrew@gitlab.com</email>
</author>
<published>2019-02-18T20:57:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4f4de36cacbcd137e9db2a7b1449bb803bf1f395'/>
<id>4f4de36cacbcd137e9db2a7b1449bb803bf1f395</id>
<content type='text'>
This change is a fairly straightforward refactor to extract the tracing
and correlation-id code from the gitlab rails codebase into the new
LabKit-Ruby project.

The corresponding import into LabKit-Ruby was in
https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1

The code itself remains very similar for now.

Extracting it allows us to reuse it in other projects, such as
Gitaly-Ruby. This will give us the advantages of correlation-ids and
distributed tracing in that project too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change is a fairly straightforward refactor to extract the tracing
and correlation-id code from the gitlab rails codebase into the new
LabKit-Ruby project.

The corresponding import into LabKit-Ruby was in
https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1

The code itself remains very similar for now.

Extracting it allows us to reuse it in other projects, such as
Gitaly-Ruby. This will give us the advantages of correlation-ids and
distributed tracing in that project too.
</pre>
</div>
</content>
</entry>
<entry>
<title>Log Gitaly RPC duration to api_json.log and production_json.log</title>
<updated>2019-03-27T11:01:21+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-03-27T10:56:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=74ff33a3fdb83cd03c41436b4ae10ca48075f0e9'/>
<id>74ff33a3fdb83cd03c41436b4ae10ca48075f0e9</id>
<content type='text'>
This makes it easier to debug Gitaly performance issues in the field.

This commit also makes the tracking of query time thread-safe via
RequestStore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it easier to debug Gitaly performance issues in the field.

This commit also makes the tracking of query time thread-safe via
RequestStore.
</pre>
</div>
</content>
</entry>
<entry>
<title>Log queue duration in production_json.log</title>
<updated>2019-02-12T14:58:55+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-02-11T00:43:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=51ca79228bc2d22b12d47ba177610d228793dc94'/>
<id>51ca79228bc2d22b12d47ba177610d228793dc94</id>
<content type='text'>
`queue_duration` is a useful metric that is currently in api_json.log
but not in production_json.log. We should add it because it tells us how
long the request sat in Workhorse before Unicorn processed it. Having
this field enables the support team to better troubleshoot when delays
began to happen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`queue_duration` is a useful metric that is currently in api_json.log
but not in production_json.log. We should add it because it tells us how
long the request sat in Workhorse before Unicorn processed it. Having
this field enables the support team to better troubleshoot when delays
began to happen.
</pre>
</div>
</content>
</entry>
<entry>
<title>Log and pass correlation-id between Unicorn, Sidekiq and Gitaly</title>
<updated>2018-12-06T19:46:14+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2018-12-05T20:54:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=39c1731a53d1014eab7c876d70632b1abf738712'/>
<id>39c1731a53d1014eab7c876d70632b1abf738712</id>
<content type='text'>
The Correlation ID is taken or generated from received X-Request-ID.
Then it is being passed to all executed services (sidekiq workers
or gitaly calls).

The Correlation ID is logged in all structured logs as `correlation_id`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Correlation ID is taken or generated from received X-Request-ID.
Then it is being passed to all executed services (sidekiq workers
or gitaly calls).

The Correlation ID is logged in all structured logs as `correlation_id`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add User-Agent to production_json.log</title>
<updated>2018-09-05T21:43:09+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2018-09-05T21:40:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=93005b4e811a41da2c845b7c1ab558625c338a72'/>
<id>93005b4e811a41da2c845b7c1ab558625c338a72</id>
<content type='text'>
This will help production gain more visibility which browsers may be
having issues.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will help production gain more visibility which browsers may be
having issues.
</pre>
</div>
</content>
</entry>
<entry>
<title>Log response body to production_json.log when a controller responds with a 422 status</title>
<updated>2018-06-06T20:16:15+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2018-06-06T07:47:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=5d3abdf9a7c0260c708a46e2fd232b0490940f80'/>
<id>5d3abdf9a7c0260c708a46e2fd232b0490940f80</id>
<content type='text'>
We have a number of import errors occurring with 422 errors, and
it's hard to determine why they are happening. This change will
surface the errors in the log lines.

Relates to #47365
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have a number of import errors occurring with 422 errors, and
it's hard to determine why they are happening. This change will
surface the errors in the log lines.

Relates to #47365
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump lograge to 0.10.0 and remove monkey patch</title>
<updated>2018-04-23T20:00:02+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2018-04-23T19:57:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=69246ec8d2bcbffeeb5265d16be85a158f767a4e'/>
<id>69246ec8d2bcbffeeb5265d16be85a158f767a4e</id>
<content type='text'>
lograge 0.10.0 contains the `Location` query string fix in
https://github.com/roidrage/lograge/pull/241 among other minor changes:
https://github.com/roidrage/lograge/blob/master/CHANGELOG.md
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lograge 0.10.0 contains the `Location` query string fix in
https://github.com/roidrage/lograge/pull/241 among other minor changes:
https://github.com/roidrage/lograge/blob/master/CHANGELOG.md
</pre>
</div>
</content>
</entry>
<entry>
<title>Strip any query string parameters from Location headers from lograge</title>
<updated>2018-03-20T23:38:36+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2018-03-20T23:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=467aa65e115a7d7350f41c4936833cf0e6837807'/>
<id>467aa65e115a7d7350f41c4936833cf0e6837807</id>
<content type='text'>
Port of https://github.com/roidrage/lograge/pull/241
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Port of https://github.com/roidrage/lograge/pull/241
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for open-ended parameter's in lograge causing elastic memory issues</title>
<updated>2018-02-28T15:45:41+00:00</updated>
<author>
<name>Andrew Newdigate</name>
<email>andrew@gitlab.com</email>
</author>
<published>2018-02-28T15:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e62a6cca0842d1b876cd1743e06ffcd14a12339f'/>
<id>e62a6cca0842d1b876cd1743e06ffcd14a12339f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Detect n+1 issues involving Gitaly</title>
<updated>2017-09-19T10:55:37+00:00</updated>
<author>
<name>Andrew Newdigate</name>
<email>andrew@gitlab.com</email>
</author>
<published>2017-09-19T10:55:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=64d7ec0a9e3ffd6233ccfbe9100f8a9391c648e5'/>
<id>64d7ec0a9e3ffd6233ccfbe9100f8a9391c648e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
