aboutsummaryrefslogtreecommitdiffstats
path: root/metrics-proxy
Commit message (Collapse)AuthorAgeFilesLines
* Avoid creating many sets and lists containing the same list of consumers.Henning Baldersheim2021-12-155-55/+36
| | | | 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-092-3/+3
|
* 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-2793-93/+93
|
* Update 2019 Oath copyrights.gjoranv2021-10-2711-11/+11
|
* Lower log levelHarald Musum2021-10-271-2/+2
|
* Revert "Remove deps to http-utils and add vespajlib where necessary."gjoranv2021-10-211-0/+5
| | | | This reverts commit fe260fe8a98c1d2d19633e16a6308857c9577878.
* Add missiung copyrightsJon Bratseth2021-10-201-0/+1
|
* Upgrade from velocity:1.7 to velocity-engine-core:2.3gjoranv2021-10-191-1/+8
|
* Revert "Upgrade from velocity:1.7 to velocity-engine-core:2.3"Harald Musum2021-10-191-1/+1
|
* Upgrade from velocity:1.7 to velocity-engine-core:2.3gjoranv2021-10-181-1/+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-142-11/+18
|
* cpu.util -> cpu_utilHenning Baldersheim2021-10-142-5/+9
|
* Make system metrics testable.Henning Baldersheim2021-10-144-53/+204
|
* 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-0712-12/+12
|
* Update 2019 Yahoo Holdings copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Remove deps to http-utils and add vespajlib where necessary.gjoranv2021-09-301-5/+0
|
* 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-213-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 Baldersheim2021-09-213-3/+8
| |
* | 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-164-80/+88
|
* 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-164-21/+15
| | | | Make taskTimeout volatile
* In order to avoid possible deadlock when calling yourself for metrics when ↵Henning Baldersheim2021-09-157-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.
* Fix javadocHarald Musum2021-09-091-2/+0
|
* Revert "Revert "Consume and process metrics as they are parsed.""Harald Musum2021-09-098-147/+165
|
* Revert "Consume and process metrics as they are parsed."Harald Musum2021-09-098-165/+147
|
* Consume and process metrics as they are parsed.Henning Baldersheim2021-09-098-147/+165
| | | | 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…
| * Instead of creatin a new Set of consumers every time, just keep an ↵Henning Baldersheim2021-09-082-15/+14
| | | | | | | | unmidifiable set that can be used directly. Saves both memory and space.