Instrument Gitlab::GitAccess/GitAccessWiki
This commit is contained in:
parent
d2bf73b776
commit
c5cb68fd03
2 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,7 @@ Please view this file on the master branch, on stable branches it's out of date.
|
||||||
v 8.8.0 (unreleased)
|
v 8.8.0 (unreleased)
|
||||||
|
|
||||||
v 8.7.0 (unreleased)
|
v 8.7.0 (unreleased)
|
||||||
|
- Gitlab::GitAccess and Gitlab::GitAccessWiki are now instrumented
|
||||||
- The number of InfluxDB points stored per UDP packet can now be configured
|
- The number of InfluxDB points stored per UDP packet can now be configured
|
||||||
- Fix error when cross-project label reference used with non-existent project
|
- Fix error when cross-project label reference used with non-existent project
|
||||||
- Transactions for /internal/allowed now have an "action" tag set
|
- Transactions for /internal/allowed now have an "action" tag set
|
||||||
|
|
|
@ -107,6 +107,10 @@ if Gitlab::Metrics.enabled?
|
||||||
config.instrument_methods(const)
|
config.instrument_methods(const)
|
||||||
config.instrument_instance_methods(const)
|
config.instrument_instance_methods(const)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Instrument the classes used for checking if somebody has push access.
|
||||||
|
config.instrument_instance_methods(Gitlab::GitAccess)
|
||||||
|
config.instrument_instance_methods(Gitlab::GitAccessWiki)
|
||||||
end
|
end
|
||||||
|
|
||||||
GC::Profiler.enable
|
GC::Profiler.enable
|
||||||
|
|
Loading…
Reference in a new issue