Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | 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 | 2 | -59/+59 |
| | |||||
* | 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 | 2 | -10/+8 |
| | | | | Make taskTimeout volatile | ||||
* | In order to avoid possible deadlock when calling yourself for metrics when ↵ | Henning Baldersheim | 2021-09-15 | 4 | -40/+128 |
| | | | | | | TTL expires, we only fetch metrics in the background. If it is present use it, if not it will be there next time. | ||||
* | Fix javadoc | Harald Musum | 2021-09-09 | 1 | -2/+0 |
| | |||||
* | Revert "Revert "Consume and process metrics as they are parsed."" | Harald Musum | 2021-09-09 | 5 | -128/+141 |
| | |||||
* | Revert "Consume and process metrics as they are parsed." | Harald Musum | 2021-09-09 | 5 | -141/+128 |
| | |||||
* | Consume and process metrics as they are parsed. | Henning Baldersheim | 2021-09-09 | 5 | -128/+141 |
| | | | | This avoids avoid pooling up many metric objects prior to processing and reduces memory pressure. | ||||
* | Use the one in vespajlib. | Henning Baldersheim | 2021-09-09 | 2 | -2/+2 |
| | |||||
* | Refactor metric aggregation in preparation for inline metric handling. | Henning Baldersheim | 2021-09-09 | 1 | -11/+23 |
| | |||||
* | Merge pull request #19030 from ↵ | Henning Baldersheim | 2021-09-08 | 2 | -15/+14 |
|\ | | | | | | | | | vespa-engine/balder/keep-an-unmodifiable-set-instead-of-creating-a-copy-on-use Instead of creatin a new Set of consumers every time, just keep an un… |