Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add method to use Duration as timeout to make unit explicit, and avoid many ↵ | Henning Baldersheim | 2022-08-12 | 1 | -1/+3 | |
| | | | | magic conversions. | |||||
* | qrserver -> container, part 2 | Harald Musum | 2022-08-09 | 1 | -2/+2 | |
| | ||||||
* | Use synchronous http client | Bjørn Christian Seime | 2022-06-16 | 3 | -69/+53 | |
| | ||||||
* | Specify timeout for non-blocking I/O in http clients | Bjørn Christian Seime | 2022-06-13 | 2 | -6/+12 | |
| | ||||||
* | Stabilize metrics-proxy tests | Bjørn Christian Seime | 2022-06-10 | 1 | -6/+5 | |
| | | | | | Synchronize access to 'response' field. Handle null response. Ensure output stream is closed. Specify timeout for request connection from pool. | |||||
* | Use '@Inject' from 'annotations' in multiple bundles | Bjørn Christian Seime | 2022-05-06 | 10 | -10/+10 | |
| | ||||||
* | Only log when failure is unexpected. | Henning Baldersheim | 2022-04-30 | 1 | -1/+3 | |
| | ||||||
* | Silence ConnectTimeoutException | Henning Baldersheim | 2022-04-29 | 1 | -1/+2 | |
| | ||||||
* | Reduce default timeout for metrics requests from 300s to 25s to ensure it is ↵ | Henning Baldersheim | 2022-01-25 | 1 | -1/+0 | |
| | | | | shorter than shutdown timeout targeted to be 30s | |||||
* | Support producing all clauses in a referenced condition | Jon Bratseth | 2022-01-19 | 1 | -3/+3 | |
| | ||||||
* | Make parse method public to enable testing. | Henning Baldersheim | 2021-12-19 | 1 | -1/+1 | |
| | ||||||
* | GC unused logger | Henning Baldersheim | 2021-12-19 | 1 | -2/+0 | |
| | ||||||
* | - Refactor and speedup MetricParser.handleValue. | Henning Baldersheim | 2021-12-19 | 1 | -60/+65 | |
| | | | | | - Only use streaming jackson parsing - Aggregate hash codes to make unique dimension keys. | |||||
* | Use the Instant as a timestamp to make it clear what it is instead of just a ↵ | Henning Baldersheim | 2021-12-18 | 5 | -24/+29 | |
| | | | | | | generic long. Make sure to use it correctly for the system metrics. | |||||
* | Handle that metrics can arrive with a dimension set to null. Skip and log it ↵ | Henning Baldersheim | 2021-12-17 | 2 | -9/+16 | |
| | | | | | | as debug. Let exceptions through in the tests so that we do not hide errors there. | |||||
* | Get stacktrace for exceptions. | Henning Baldersheim | 2021-12-17 | 1 | -5/+4 | |
| | ||||||
* | Preserve number type | Henning Baldersheim | 2021-12-17 | 1 | -1/+1 | |
| | ||||||
* | Even if we do not filter by consumer on the services, we can do it early in ↵ | Henning Baldersheim | 2021-12-17 | 4 | -26/+75 | |
| | | | | | | | the metrics-proxy. This is especially benefiscal for the most frequent requests like autoscaling which only looks at a small set (1%) of the metrics. This both reduces memory footprint and saves cpu. | |||||
* | numbers outside of the range of a long are forced to have a decimal ↵ | Henning Baldersheim | 2021-12-17 | 2 | -6/+25 | |
| | | | | punctuation to enforce parsing as non integer number. | |||||
* | Avoid creating a temporary YamasArrayJsonModel which contains a copy of the ↵ | Henning Baldersheim | 2021-12-16 | 7 | -141/+115 | |
| | | | | | | MetricsPacket list that is used just for simple json printing with an ObjectMapper. Insteda do it the old school by genrating the json with the core api which is streaming. | |||||
* | Add test and benchmark for smaps parsing and avoid using regex. | Henning Baldersheim | 2021-12-15 | 1 | -17/+24 | |
| | ||||||
* | Only take regex cost when necessary | Henning Baldersheim | 2021-12-15 | 1 | -1/+3 | |
| | ||||||
* | Unify on Map.of/copyOf | Henning Baldersheim | 2021-12-15 | 2 | -9/+6 | |
| | ||||||
* | Use the simple computeIfAbsent method. | Henning Baldersheim | 2021-12-15 | 1 | -13/+3 | |
| | ||||||
* | Test depends on order... | Henning Baldersheim | 2021-12-15 | 1 | -4/+4 | |
| | ||||||
* | Zero out the builders as soon as they are used to avoid keeping both alive ↵ | Henning Baldersheim | 2021-12-15 | 4 | -27/+32 | |
| | | | | when building a large array. | |||||
* | Merge pull request #20525 from vespa-engine/bratseth/cleanup-654 | gjoranv | 2021-12-15 | 3 | -30/+4 | |
|\ | | | | | No functional changes | |||||
| * | No functional changes | Jon Bratseth | 2021-12-15 | 3 | -30/+4 | |
| | | ||||||
* | | Avoid creating many sets and lists containing the same list of consumers. | Henning Baldersheim | 2021-12-15 | 3 | -49/+28 | |
|/ | | | | Use a dictionary to keep track of the unique ones. | |||||
* | 1 - Make the first sample period at least 5s long. | Henning Baldersheim | 2021-12-14 | 2 | -17/+30 | |
| | | | | | | 2 - Ensure that total cpu usage is sampled first on startup, and last on all remaining samples. This is to avoid the large skew you get when sample interval is shorter than the time used to collect the samples. This should eliminate the sampling noise when metricsproxy is started. | |||||
* | Add debug logging of jiffies. | Henning Baldersheim | 2021-12-14 | 1 | -1/+3 | |
| | ||||||
* | Precompute mapping from MetricId to Map<ConfiguredMetric, Set<ConsumerId>> ↵ | Henning Baldersheim | 2021-12-13 | 2 | -20/+27 | |
| | | | | to avoid costly streaming and filtering on every metric. | |||||
* | Move utilitity methods to correct class and make static. | Henning Baldersheim | 2021-12-13 | 2 | -37/+35 | |
| | ||||||
* | No functional changes | Jon Bratseth | 2021-12-09 | 1 | -0/+1 | |
| | ||||||
* | Use debug logging for exceptions known to happen during normal operations ↵ | Henning Baldersheim | 2021-12-01 | 1 | -7/+10 | |
| | | | | when reconfiguring system. | |||||
* | Update 2020 Oath copyrights. | gjoranv | 2021-10-27 | 59 | -59/+59 | |
| | ||||||
* | Update 2019 Oath copyrights. | gjoranv | 2021-10-27 | 3 | -3/+3 | |
| | ||||||
* | Lower log level | Harald Musum | 2021-10-27 | 1 | -2/+2 | |
| | ||||||
* | Add missiung copyrights | Jon Bratseth | 2021-10-20 | 1 | -0/+1 | |
| | ||||||
* | Update ↵ | Jon Bratseth | 2021-10-14 | 1 | -1/+1 | |
| | | | | metrics-proxy/src/main/java/ai/vespa/metricsproxy/service/SystemPoller.java | |||||
* | Prevent division by zero | Henning Baldersheim | 2021-10-14 | 1 | -4/+9 | |
| | ||||||
* | cpu.util -> cpu_util | Henning Baldersheim | 2021-10-14 | 1 | -4/+8 | |
| | ||||||
* | Make system metrics testable. | Henning Baldersheim | 2021-10-14 | 3 | -50/+86 | |
| | ||||||
* | Add cpu.util as per service metrics. | Henning Baldersheim | 2021-10-13 | 1 | -16/+35 | |
| | ||||||
* | Do not start metrics poller thread in constructor. | Henning Baldersheim | 2021-10-08 | 1 | -5/+5 | |
| | | | | | That is controlled by the handler. Also use an atomic reference to ensure visibility. | |||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 7 | -7/+7 | |
| | ||||||
* | Drain the input stream on error, an just return an HealthMetric.getUnknown. | Henning Baldersheim | 2021-09-23 | 3 | -6/+6 | |
| | ||||||
* | Merge pull request #19233 from ↵v7.470.24 | Harald Musum | 2021-09-21 | 1 | -3/+3 | |
|\ | | | | | | | | | vespa-engine/balder/do-not-poll-default-unless-requested-to-do-so Do not fetch metrics for default consumer unless explicitly asked to … | |||||
| * | Do not fetch metrics for default consumer unless explicitly asked to do so. | Henning Baldersheim | 2021-09-21 | 1 | -3/+3 | |
| | | ||||||
* | | Add synchronization. | Henning Baldersheim | 2021-09-21 | 1 | -2/+5 | |
| | |