19 Commits

Author SHA1 Message Date
Witek Bedyk
449d74a6d6 Add openSUSE Slowroll access metrics 2024-07-24 16:11:07 +02:00
Witek Bedyk
f999eaa4d3 Add IPv4 and IPv6 handling in one file
Access logs for both protocls are now stored in a single file.
The change refactors the code to handle it properly.
Upgrade InfluxDB client.
2024-02-05 13:38:04 +01:00
Witek Bedyk
37221978c8 Drop redundant unique_product_flavor 2023-05-08 16:11:07 +02:00
Witek Bedyk
776f941efb Fixes
* getting first array item
* regex group renumbering
* syntax
2023-05-04 14:03:50 +02:00
Witek Bedyk
a4cb59644e Refactor 'unique_product' object 2023-05-02 17:00:45 +02:00
Witek Bedyk
908cc8ec32 Parse flavor type to cached data 2023-05-02 16:59:57 +02:00
Witek Bedyk
47a0d831d9 Filter out access logs with error code 2023-03-29 15:51:42 +02:00
Witek Bedyk
4bd9387196 Make REGEX_LINE backwards compatible 2023-01-25 13:35:52 +01:00
Witek Bedyk
b1f175e5ff Fix regex for access logs parsing 2023-01-24 11:28:50 +01:00
Witek Bedyk
c8d2cf77ce Fix handling missing log files 2021-11-18 13:14:56 +01:00
Ludwig Nussel
cb668a6e39 metrics: accept more flavors 2021-02-08 11:13:45 +01:00
Witek Bedyk
d9736fb662
Revert "Retrieve packages download statistics" 2020-08-26 11:09:13 +02:00
Witek Bedyk
d4d03287d6 Bugfixes
* do not iterate over the end of an array in check_next_element
* include openSUSE 15.2 as valid product
* fix packages list files path
2020-07-29 17:44:54 +02:00
Witek Bedyk
4fe6d771cc [metrics-access] Fix packages path 2020-07-28 13:47:57 +02:00
Witek Bedyk
9d4a45e576 Optimize searching access logs
* Use binary search for parsing accessed packages
* Write packages statistics to InfluxDB
2020-07-24 16:55:29 +02:00
Witek Bedyk
adc3750f2b Parse and count packages 2020-07-16 11:00:01 +02:00
Jimmy Berry
dc9afe2adf metrics/access/ingest: detect product image paths and included in dump. 2018-09-14 15:50:37 -05:00
Jimmy Berry
6df56b1e08 metrics/access/ingest: update pattern to handle most recent log format. 2018-06-21 08:15:26 -05:00
Jimmy Berry
6fecfcb128 metrics/access: initial ingest script. 2018-06-18 21:29:23 -05:00