summaryrefslogtreecommitdiffstats
path: root/metrics-proxy/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Add test and benchmark for smaps parsing and avoid using regex.Henning Baldersheim2021-12-151-17/+24
|
* Only take regex cost when necessaryHenning Baldersheim2021-12-151-1/+3
|
* Unify on Map.of/copyOfHenning Baldersheim2021-12-152-9/+6
|
* Use the simple computeIfAbsent method.Henning Baldersheim2021-12-151-13/+3
|
* Test depends on order...Henning Baldersheim2021-12-151-4/+4
|
* Zero out the builders as soon as they are used to avoid keeping both alive ↵Henning Baldersheim2021-12-154-27/+32
| | | | when building a large array.
* Merge pull request #20525 from vespa-engine/bratseth/cleanup-654gjoranv2021-12-153-30/+4
|\ | | | | No functional changes
| * No functional changesJon Bratseth2021-12-153-30/+4
| |
* | Avoid creating many sets and lists containing the same list of consumers.Henning Baldersheim2021-12-153-49/+28
|/ | | | Use a dictionary to keep track of the unique ones.
* 1 - Make the first sample period at least 5s long.Henning Baldersheim2021-12-142-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 Baldersheim2021-12-141-1/+3
|
* Precompute mapping from MetricId to Map<ConfiguredMetric, Set<ConsumerId>> ↵Henning Baldersheim2021-12-132-20/+27
| | | | to avoid costly streaming and filtering on every metric.
* Move utilitity methods to correct class and make static.Henning Baldersheim2021-12-132-37/+35
|
* No functional changesJon Bratseth2021-12-091-0/+1
|
* Use debug logging for exceptions known to happen during normal operations ↵Henning Baldersheim2021-12-011-7/+10
| | | | when reconfiguring system.
* Update 2020 Oath copyrights.gjoranv2021-10-2759-59/+59
|
* Update 2019 Oath copyrights.gjoranv2021-10-273-3/+3
|
* Lower log levelHarald Musum2021-10-271-2/+2
|
* Add missiung copyrightsJon Bratseth2021-10-201-0/+1
|
* Update ↵Jon Bratseth2021-10-141-1/+1
| | | | metrics-proxy/src/main/java/ai/vespa/metricsproxy/service/SystemPoller.java
* Prevent division by zeroHenning Baldersheim2021-10-141-4/+9
|
* cpu.util -> cpu_utilHenning Baldersheim2021-10-141-4/+8
|
* Make system metrics testable.Henning Baldersheim2021-10-143-50/+86
|
* Add cpu.util as per service metrics.Henning Baldersheim2021-10-131-16/+35
|
* Do not start metrics poller thread in constructor.Henning Baldersheim2021-10-081-5/+5
| | | | | That is controlled by the handler. Also use an atomic reference to ensure visibility.
* Update Verizon Media copyright notices.gjoranv2021-10-077-7/+7
|
* Drain the input stream on error, an just return an HealthMetric.getUnknown.Henning Baldersheim2021-09-233-6/+6
|
* Merge pull request #19233 from ↵v7.470.24Harald Musum2021-09-211-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 Baldersheim2021-09-211-3/+3
| |
* | Add synchronization.Henning Baldersheim2021-09-211-2/+5
| |
* | Cache the connection target and reuse to avoid ssl renegotiation.Henning Baldersheim2021-09-211-19/+22
|/
* Remove unneeded throws clauseHenning Baldersheim2021-09-211-1/+1
|
* Ensure stream is closed.Henning Baldersheim2021-09-212-5/+5
|
* GC unused classHenning Baldersheim2021-09-211-14/+0
|
* Stop the polling thread prior to shutting down the http client.Henning Baldersheim2021-09-213-11/+11
|
* Must concatenate as message is not a Throwable.Henning Baldersheim2021-09-171-1/+1
|
* GC unused importHenning Baldersheim2021-09-171-1/+0
|
* We do not need the stack trace for expected warnings.Henning Baldersheim2021-09-171-2/+8
|
* Use an async http client with only 2 threads.Henning Baldersheim2021-09-162-59/+59
|
* Empty snapshots are not valid.Henning Baldersheim2021-09-161-1/+4
|
* Reduce loglevelHenning Baldersheim2021-09-161-2/+2
|
* Try to fix unstable unit testsHarald Musum2021-09-162-10/+8
| | | | Make taskTimeout volatile
* In order to avoid possible deadlock when calling yourself for metrics when ↵Henning Baldersheim2021-09-154-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 javadocHarald Musum2021-09-091-2/+0
|
* Revert "Revert "Consume and process metrics as they are parsed.""Harald Musum2021-09-095-128/+141
|
* Revert "Consume and process metrics as they are parsed."Harald Musum2021-09-095-141/+128
|
* Consume and process metrics as they are parsed.Henning Baldersheim2021-09-095-128/+141
| | | | This avoids avoid pooling up many metric objects prior to processing and reduces memory pressure.
* Use the one in vespajlib.Henning Baldersheim2021-09-092-2/+2
|
* Refactor metric aggregation in preparation for inline metric handling.Henning Baldersheim2021-09-091-11/+23
|
* Merge pull request #19030 from ↵Henning Baldersheim2021-09-082-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…