- 27 Jan, 2021 1 commit
-
-
Ahmad Sherif authored
Add ruby GC stats probe See merge request gitlab-org/gitlab-exporter!130
-
- 26 Jan, 2021 2 commits
-
-
Ahmad Sherif authored
Notify code producing `process_*` metrics is obsolete See merge request gitlab-org/gitlab-exporter!126
-
We remove `process_*` metrics probing from Omnibus, so this code should be no longer needed.
-
- 25 Jan, 2021 7 commits
-
-
Ahmad Sherif authored
Optimise `Sidekiq probe` See merge request gitlab-org/gitlab-exporter!133
-
Ahmad Sherif authored
Make Puma an explicit dependency See merge request gitlab-org/gitlab-exporter!134
-
This also bumps Puma from v4.x (which was bundled by Sinatra) to 5.1.1.
-
Ahmad Sherif authored
Optimise `DB probe` See merge request gitlab-org/gitlab-exporter!132
-
Kamil Trzciński authored
This makes: - To re-use Redis connection instead of openning it each time a probe is requested and leaking the connection pool
-
Kamil Trzciński authored
This makes to scrape current Ruby process of `GC.stat` to be able to monitor the memory pressure impact.
-
Kamil Trzciński authored
-
- 21 Jan, 2021 1 commit
-
-
Kamil Trzciński authored
This fixes two memory/CPU aspects of DB probe: - connection re-use across different probes where the same connection string is used - the type mapping is done only once This improves execution and memory usage by: - about `4M-6M` less of memory allocation due to type-mapping re-use - about `30%` execution time due to more efficient connection re-use
-
- 19 Jan, 2021 3 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Run GC major collection after each request See merge request gitlab-org/gitlab-exporter!131
-
We found that this has a positive impact on memory use and gitlab-exporter is not a high-traffic system so the performance hit should be negligible.
-
- 11 Jan, 2021 7 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Update rubocop from 0.42.0 to 0.93.1 See merge request gitlab-org/gitlab-exporter!129
-
Takuya Noguchi authored
Signed-off-by:
Takuya Noguchi <takninnovationresearch@gmail.com>
-
Ahmad Sherif authored
Update Ruby from 2.3 to 2.7 See merge request gitlab-org/gitlab-exporter!128
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Allow to specify which server to use See merge request gitlab-org/gitlab-exporter!127
-
Takuya Noguchi authored
Also updates Bundler from 1.17.3 to 2.1.4 Signed-off-by:
Takuya Noguchi <takninnovationresearch@gmail.com>
-
- 08 Jan, 2021 1 commit
-
-
Matthias Käppler authored
If not specified, default to WEBRick
-
- 30 Nov, 2020 3 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Update bloat queries See merge request gitlab-org/gitlab-exporter!125
-
Ben Kochie authored
Update the bloat queries from their latest upstream versions. Signed-off-by:
Ben Kochie <bjk@gitlab.com>
-
- 24 Nov, 2020 3 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Fix /database_bloat endpoint See merge request gitlab-org/gitlab-exporter!124
-
Stan Hu authored
This was missing the logger introduced in !121.
-
- 23 Nov, 2020 2 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Reduce CPU utilization of row count query Closes #75 See merge request gitlab-org/gitlab-exporter!123
-
- 22 Nov, 2020 1 commit
-
-
Stan Hu authored
Previously, scraping the /database metrics used a significant amount of CPU because each query would rebuild the PG to Ruby data type map. We now memoize this map so we only need to build this map once. Closes https://gitlab.com/gitlab-org/gitlab-exporter/-/issues/75
-
- 18 Nov, 2020 2 commits
-
-
Ahmad Sherif authored
Enable security-related jobs in CI See merge request gitlab-org/gitlab-exporter!122
-
The `bundle install` call in the default specification broke the security related jobs as bundler is not available in the Docker image for these jobs.
-
- 03 Jul, 2020 3 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Log database errors Closes #72 See merge request gitlab-org/gitlab-exporter!121
-
Stan Hu authored
Because we dynamically create these probes, we just allow these unused arguments.
-
- 02 Jul, 2020 1 commit
-
-
Stan Hu authored
Previously all `PG::ConnectionBad` errors were quietly swallowed. We now pass along a logger so that we can see when these errors occur. Closes https://gitlab.com/gitlab-org/gitlab-exporter/-/issues/72
-
- 11 Jun, 2020 2 commits
-
-
Ahmad Sherif authored
Fix application_settings JOIN condition for CiBuildsProbe Closes #71 See merge request gitlab-org/gitlab-exporter!119
-
Ahmad Sherif authored
After https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29981, we cannot assume an application_settings with ID=1 exists. But we know that there will only be one record in that table, so we can change the JOIN condition to TRUE safely. Fixes #71
-
- 10 Jun, 2020 1 commit
-
-
Ahmad Sherif authored
Use Licenses count as an indicator of an EE installation Closes #71 See merge request gitlab-org/gitlab-exporter!118
-