Commit 2986342f authored by Nick Thomas's avatar Nick Thomas

Merge branch 'labkit-update' into 'master'

Filter title, description, text, and body from logs

See merge request gitlab-org/gitlab-workhorse!405
parents 481296c7 f1846e91
...@@ -6,6 +6,7 @@ import ( ...@@ -6,6 +6,7 @@ import (
raven "github.com/getsentry/raven-go" raven "github.com/getsentry/raven-go"
//lint:ignore SA1019 this was recently deprecated. Update workhorse to use labkit errortracking package.
correlation "gitlab.com/gitlab-org/labkit/correlation/raven" correlation "gitlab.com/gitlab-org/labkit/correlation/raven"
) )
......
...@@ -12,7 +12,6 @@ var parameterMatches = []string{ ...@@ -12,7 +12,6 @@ var parameterMatches = []string{
`key$`, `key$`,
`signature`, `signature`,
`^authorization$`, `^authorization$`,
`^note$`,
`^certificate$`, `^certificate$`,
`^encrypted_key$`, `^encrypted_key$`,
`^hook$`, `^hook$`,
...@@ -22,6 +21,11 @@ var parameterMatches = []string{ ...@@ -22,6 +21,11 @@ var parameterMatches = []string{
`^trace$`, `^trace$`,
`^variables$`, `^variables$`,
`^content$`, `^content$`,
`^body$`,
`^description$`,
`^note$`,
`^text$`,
`^title$`,
} }
var headerMatches = []string{ var headerMatches = []string{
......
...@@ -603,72 +603,72 @@ ...@@ -603,72 +603,72 @@
{ {
"checksumSHA1": "86VccaJApU9EEq4KKen8DX9gMUM=", "checksumSHA1": "86VccaJApU9EEq4KKen8DX9gMUM=",
"path": "gitlab.com/gitlab-org/labkit/correlation", "path": "gitlab.com/gitlab-org/labkit/correlation",
"revision": "503c162155664d5a8d6d84a7dac51960dc0119ec", "revision": "905271af7abbfaa1d3549f46ac0394c50cef9b28",
"revisionTime": "2019-07-12T13:09:19Z", "revisionTime": "2019-07-31T06:18:35Z",
"version": "master", "version": "master",
"versionExact": "master" "versionExact": "master"
}, },
{ {
"checksumSHA1": "UFBFulprWZHuL9GHhjCKoHXm+Ww=", "checksumSHA1": "UFBFulprWZHuL9GHhjCKoHXm+Ww=",
"path": "gitlab.com/gitlab-org/labkit/correlation/grpc", "path": "gitlab.com/gitlab-org/labkit/correlation/grpc",
"revision": "503c162155664d5a8d6d84a7dac51960dc0119ec", "revision": "905271af7abbfaa1d3549f46ac0394c50cef9b28",
"revisionTime": "2019-07-12T13:09:19Z", "revisionTime": "2019-07-31T06:18:35Z",
"version": "master", "version": "master",
"versionExact": "master" "versionExact": "master"
}, },
{ {
"checksumSHA1": "jg7lyicpIcxuznj6pg+Wg0MKm7o=", "checksumSHA1": "jg7lyicpIcxuznj6pg+Wg0MKm7o=",
"path": "gitlab.com/gitlab-org/labkit/correlation/raven", "path": "gitlab.com/gitlab-org/labkit/correlation/raven",
"revision": "503c162155664d5a8d6d84a7dac51960dc0119ec", "revision": "905271af7abbfaa1d3549f46ac0394c50cef9b28",
"revisionTime": "2019-07-12T13:09:19Z", "revisionTime": "2019-07-31T06:18:35Z",
"version": "master", "version": "master",
"versionExact": "master" "versionExact": "master"
}, },
{ {
"checksumSHA1": "3/0keVU4UZOoFSNajbtnexV6Ou4=", "checksumSHA1": "3/0keVU4UZOoFSNajbtnexV6Ou4=",
"path": "gitlab.com/gitlab-org/labkit/log", "path": "gitlab.com/gitlab-org/labkit/log",
"revision": "503c162155664d5a8d6d84a7dac51960dc0119ec", "revision": "905271af7abbfaa1d3549f46ac0394c50cef9b28",
"revisionTime": "2019-07-12T13:09:19Z", "revisionTime": "2019-07-31T06:18:35Z",
"version": "master", "version": "master",
"versionExact": "master" "versionExact": "master"
}, },
{ {
"checksumSHA1": "yWZietMQ0YjAXj4NEVrQAypOIBU=", "checksumSHA1": "ZLOdEZjgtMyLATnFUv37eZqZFA0=",
"path": "gitlab.com/gitlab-org/labkit/mask", "path": "gitlab.com/gitlab-org/labkit/mask",
"revision": "503c162155664d5a8d6d84a7dac51960dc0119ec", "revision": "905271af7abbfaa1d3549f46ac0394c50cef9b28",
"revisionTime": "2019-07-12T13:09:19Z", "revisionTime": "2019-07-31T06:18:35Z",
"version": "master", "version": "master",
"versionExact": "master" "versionExact": "master"
}, },
{ {
"checksumSHA1": "ZxaskgDxW6muJqpq1qihus7rzGU=", "checksumSHA1": "ZxaskgDxW6muJqpq1qihus7rzGU=",
"path": "gitlab.com/gitlab-org/labkit/tracing", "path": "gitlab.com/gitlab-org/labkit/tracing",
"revision": "503c162155664d5a8d6d84a7dac51960dc0119ec", "revision": "905271af7abbfaa1d3549f46ac0394c50cef9b28",
"revisionTime": "2019-07-12T13:09:19Z", "revisionTime": "2019-07-31T06:18:35Z",
"version": "master", "version": "master",
"versionExact": "master" "versionExact": "master"
}, },
{ {
"checksumSHA1": "uIvjqXAsMQK/Y5FgWRaGydYGbYs=", "checksumSHA1": "uIvjqXAsMQK/Y5FgWRaGydYGbYs=",
"path": "gitlab.com/gitlab-org/labkit/tracing/connstr", "path": "gitlab.com/gitlab-org/labkit/tracing/connstr",
"revision": "503c162155664d5a8d6d84a7dac51960dc0119ec", "revision": "905271af7abbfaa1d3549f46ac0394c50cef9b28",
"revisionTime": "2019-07-12T13:09:19Z", "revisionTime": "2019-07-31T06:18:35Z",
"version": "master", "version": "master",
"versionExact": "master" "versionExact": "master"
}, },
{ {
"checksumSHA1": "IE38In/zPKpmKqvWAAThyaufQak=", "checksumSHA1": "IE38In/zPKpmKqvWAAThyaufQak=",
"path": "gitlab.com/gitlab-org/labkit/tracing/grpc", "path": "gitlab.com/gitlab-org/labkit/tracing/grpc",
"revision": "503c162155664d5a8d6d84a7dac51960dc0119ec", "revision": "905271af7abbfaa1d3549f46ac0394c50cef9b28",
"revisionTime": "2019-07-12T13:09:19Z", "revisionTime": "2019-07-31T06:18:35Z",
"version": "master", "version": "master",
"versionExact": "master" "versionExact": "master"
}, },
{ {
"checksumSHA1": "8KqfTzukh6BKKnDa7AlpeHNW8A4=", "checksumSHA1": "8KqfTzukh6BKKnDa7AlpeHNW8A4=",
"path": "gitlab.com/gitlab-org/labkit/tracing/impl", "path": "gitlab.com/gitlab-org/labkit/tracing/impl",
"revision": "503c162155664d5a8d6d84a7dac51960dc0119ec", "revision": "905271af7abbfaa1d3549f46ac0394c50cef9b28",
"revisionTime": "2019-07-12T13:09:19Z", "revisionTime": "2019-07-31T06:18:35Z",
"version": "master", "version": "master",
"versionExact": "master" "versionExact": "master"
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment