Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Increase timeout to reduce timing issue in test. | Henning Baldersheim | 2022-01-07 | 1 | -2/+2 |
| | |||||
* | 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 | 2 | -61/+66 |
| | | | | | - 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 | 7 | -26/+33 |
| | | | | | | generic long. Make sure to use it correctly for the system metrics. | ||||
* | Add test for dimensions incorrectly containing null | Henning Baldersheim | 2021-12-17 | 1 | -0/+25 |
| | |||||
* | Handle that metrics can arrive with a dimension set to null. Skip and log it ↵ | Henning Baldersheim | 2021-12-17 | 3 | -20/+41 |
| | | | | | | 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 |
| | |||||
* | Drop using hamcrest matchers and stick to simple assertEquals/True/False | Henning Baldersheim | 2021-12-17 | 9 | -132/+119 |
| | |||||
* | Preserve number type | Henning Baldersheim | 2021-12-17 | 2 | -27/+27 |
| | |||||
* | 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 | 3 | -6/+42 |
| | | | | punctuation to enforce parsing as non integer number. | ||||
* | Avoid creating a temporary YamasArrayJsonModel which contains a copy of the ↵ | Henning Baldersheim | 2021-12-16 | 10 | -186/+173 |
| | | | | | | 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 | 2 | -27/+101 |
| | |||||
* | 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 | 9 | -46/+48 |
|\ | | | | | No functional changes | ||||
| * | No functional changes | Jon Bratseth | 2021-12-15 | 9 | -46/+48 |
| | | |||||
* | | Avoid creating many sets and lists containing the same list of consumers. | Henning Baldersheim | 2021-12-15 | 5 | -55/+36 |
|/ | | | | 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 | 2 | -3/+3 |
| | |||||
* | 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 | 93 | -93/+93 |
| | |||||
* | Update 2019 Oath copyrights. | gjoranv | 2021-10-27 | 11 | -11/+11 |
| | |||||
* | Lower log level | Harald Musum | 2021-10-27 | 1 | -2/+2 |
| | |||||
* | Revert "Remove deps to http-utils and add vespajlib where necessary." | gjoranv | 2021-10-21 | 1 | -0/+5 |
| | | | | This reverts commit fe260fe8a98c1d2d19633e16a6308857c9577878. | ||||
* | Add missiung copyrights | Jon Bratseth | 2021-10-20 | 1 | -0/+1 |
| | |||||
* | Upgrade from velocity:1.7 to velocity-engine-core:2.3 | gjoranv | 2021-10-19 | 1 | -1/+8 |
| | |||||
* | Revert "Upgrade from velocity:1.7 to velocity-engine-core:2.3" | Harald Musum | 2021-10-19 | 1 | -1/+1 |
| | |||||
* | Upgrade from velocity:1.7 to velocity-engine-core:2.3 | gjoranv | 2021-10-18 | 1 | -1/+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 | 2 | -11/+18 |
| | |||||
* | cpu.util -> cpu_util | Henning Baldersheim | 2021-10-14 | 2 | -5/+9 |
| | |||||
* | Make system metrics testable. | Henning Baldersheim | 2021-10-14 | 4 | -53/+204 |
| | |||||
* | 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 | 12 | -12/+12 |
| | |||||
* | Update 2019 Yahoo Holdings copyright notices. | gjoranv | 2021-10-07 | 1 | -1/+1 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 1 | -1/+1 |
| | |||||
* | Remove deps to http-utils and add vespajlib where necessary. | gjoranv | 2021-09-30 | 1 | -5/+0 |
| | |||||
* | 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 | 3 | -3/+8 |
|\ | | | | | | | | | 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 | 3 | -3/+8 |
| | | |||||
* | | Add synchronization. | Henning Baldersheim | 2021-09-21 | 1 | -2/+5 |
| | |