- Jun 09, 2023
-
-
Marius Bobin authored
-
- Mar 01, 2023
-
-
Category is not used in the new instrumentation classes framework, this MR removes it
-
- Jan 09, 2023
-
-
Extend the existing LegacyMetricDecorator class to be able to store and the submit errors raised during a metric generation
-
- Jan 03, 2023
-
-
Omar Qunsul authored
We still have many ignored Rubocop Offenses for Database/MultipleDatabases in specs. This is a MR to address validate and fix all of them. Addressing Issue: #362031 Changelog: other
-
- Aug 01, 2022
-
-
Jonathan Schafer authored
This fixes all lib spec file offenses
-
- Jun 15, 2022
-
-
Ahmed Hemdan authored
Changelog: added
-
- Apr 20, 2022
-
-
ServicePing metrics can take a significant time and resources to be collected. This commit attempts to build up tooling that provides insights into collection time of metrics on self-managed instances. It adds decorator class to wraps resulting metrics values. Such approach was selected because upon collection it is not known which metric would get value. Using decorator enables enumeration over resulting ServicePing payload and retrieval of collection time information without to widespread changes to legacy codebase Changelog: added
-
- Jan 19, 2022
-
-
- Dec 12, 2021
-
-
Catalin Irimie authored
Based on the original HLL paper and referenced linear probabilistic counting paper, this should be m*log(m/V) instead of using the alpha(m) constant for small cardinality, as linear counting is used instead.
-
- Dec 07, 2021
-
-
And: - Update spec for email campaign date - Update utils specs to check raised error
-
- Nov 30, 2021
-
-
- Nov 12, 2021
-
-
pbair authored
Remove reference to `ActiveRecord::Base.connection` from the HLL `BatchDistinctCounter`, and instead use the connection from the passed-in relation.
-
- Oct 25, 2021
-
-
- Jul 21, 2021
-
-
alinamihaila authored
-
alinamihaila authored
- Add add_metric method in usage_data.rb - Update docs - Use existing instrumentation classes in usage_data.rb
-
- Jul 20, 2021
-
-
Adam Hegyi authored
This change fixes some of the MultipleDatabases offenses.
-
- Jul 02, 2021
-
-
Doug Stull authored
- follow style guide.
-
- Apr 08, 2021
-
-
Rajendra Kadam authored
-
- Apr 02, 2021
-
-
- Mar 12, 2021
-
-
Peter Leitzen authored
The implementation utilizes `WIDTH_BUCKET` SQL function. Note that this iteration does not use support batching. Convert histogram keys to strings in Usage Ping Return a more meaningful histogram fallback Avoid raising exceptions during usage ping calculations Return fallback also for invalid statements Avoid control flow with exceptions
-
- Mar 10, 2021
-
-
Alper Akgun authored
-
- Feb 24, 2021
-
-
alinamihaila authored
- From lib/gitlab/utils/usage_data.rb - Check is done in Gitlab::UsageDataCounters::HLLRedisCounter - Add related feature flag to i_source_code_code_intelligence this was missing from the event definition
-
- Feb 22, 2021
-
-
Alper Akgun authored
Deals with negative numbers and SQL exports
-
- Feb 19, 2021
-
-
Piotr Skorupa authored
There are instances (e.g. in Gitlab::UsageData) of passing HLLRedisCounter to the block in #redis_usage_data and it's errors wouldn't be rescued to return fallback value. This would potentially result in failing the entire Usage Ping generation. This prevents that and hardens the method. All HLLRedisCounter custom exceptions are rescued, since EventError is their superclass. See !54600
-
- Feb 09, 2021
-
-
Mikołaj Wawrzyniak authored
To house all source related operations for Aggregated Metrics feautre new Sources class has to be added.
-
- Feb 02, 2021
-
-
Igor Drozdov authored
It fixes Ruby warnings and removes the files from deprecations list
-
- Jan 26, 2021
-
-
Mikołaj Wawrzyniak authored
Add wrapper method that allow to save selected usage ping metrics in redis, to use them later on upon aggregated metrics calculation.
-
- Jan 11, 2021
-
-
Mikołaj Wawrzyniak authored
-
- Jan 07, 2021
-
-
- Allow hash options to track_event_in_context - Update helpers and tests - Use Time.current
-
- Jan 05, 2021
-
-
We introduced `prometheus.server_address` setting in `gitlab.yml` which is to be Rails application's SSOT regarding a Prometheus address. Hence, we can deprecate the existing settings `enable` and `listen_address`. Changes: * To `Gitlab::Prometheus::Internal` class methods: * `server_address` method renamed to `uri_without_protocol`, to reflect what the method actually does. * `listen_address` method renamed to `server_address`. * `promtheus_enabled?` method now depends on presence of `server_address`. * To `Gitlab::DatabaseImporters::SelfMonitoring::Project::CreateService` class methods: * `prometheus_listen_address` method renamed to `prometheus_server_address`. * `internal_prometheus_listen_address_uri` renamed to `internal_prometheus_server_address_uri`. Signed-off-by:
Balasankar "Balu" C <balasankarc@autistici.org>
-
- Dec 31, 2020
-
-
Mark Fletcher authored
See tracking issue #296169
-
- Dec 23, 2020
-
-
To enable more flexible operations over hll buckets we need to extract dedicated class to model their behaviour.
-
- Dec 03, 2020
-
-
Mikołaj Wawrzyniak authored
In order to provide designated namespace to house future clases that will be break apart from counter we need to add dedicated namespace.
-
Mikołaj Wawrzyniak authored
Use new Distributed Postgres HLL counter to calculate challanging metrics for Usage Ping
-
- Sep 22, 2020
-
-
Alina Mihaila authored
-
- Sep 21, 2020
-
-
alinamihaila authored
- Now we have the check under base module HLLRedisCounter - Adjust the tests Remove usage ping check tests
-
Kamil Trzciński authored
This does: - add all leftover `development` feature flags - ensures that licensed `feature flags` are actually checked against `type: :licensed` - makes `development` to be `optional: false`, aka `required`
-
- Sep 17, 2020
-
-
alinamihaila authored
-
alinamihaila authored
* Allow to track any value * Add documentation * Add tests
-
- Sep 16, 2020
-
-
Qingyu Zhao authored
- auto detect Prometheus uri scheme - skip Prometheus SSL certificate verification
-