Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | | ||||||
* | | Cache the connection target and reuse to avoid ssl renegotiation. | Henning Baldersheim | 2021-09-21 | 1 | -19/+22 | |
|/ | ||||||
* | Remove unneeded throws clause | Henning Baldersheim | 2021-09-21 | 1 | -1/+1 | |
| | ||||||
* | Ensure stream is closed. | Henning Baldersheim | 2021-09-21 | 2 | -5/+5 | |
| | ||||||
* | GC unused class | Henning Baldersheim | 2021-09-21 | 1 | -14/+0 | |
| | ||||||
* | Stop the polling thread prior to shutting down the http client. | Henning Baldersheim | 2021-09-21 | 3 | -11/+11 | |
| | ||||||
* | Must concatenate as message is not a Throwable. | Henning Baldersheim | 2021-09-17 | 1 | -1/+1 | |
| | ||||||
* | GC unused import | Henning Baldersheim | 2021-09-17 | 1 | -1/+0 | |
| | ||||||
* | We do not need the stack trace for expected warnings. | Henning Baldersheim | 2021-09-17 | 1 | -2/+8 | |
| | ||||||
* | Use an async http client with only 2 threads. | Henning Baldersheim | 2021-09-16 | 4 | -80/+88 | |
| | ||||||
* | Empty snapshots are not valid. | Henning Baldersheim | 2021-09-16 | 1 | -1/+4 | |
| | ||||||
* | Reduce loglevel | Henning Baldersheim | 2021-09-16 | 1 | -2/+2 | |
| | ||||||
* | Try to fix unstable unit tests | Harald Musum | 2021-09-16 | 4 | -21/+15 | |
| | | | | Make taskTimeout volatile | |||||
* | In order to avoid possible deadlock when calling yourself for metrics when ↵ | Henning Baldersheim | 2021-09-15 | 7 | -65/+162 | |
| | | | | | | TTL expires, we only fetch metrics in the background. If it is present use it, if not it will be there next time. |