aboutsummaryrefslogtreecommitdiffstats
path: root/metrics-proxy
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge pull request #19029 from vespa-engine/balder/use-metricid-dictionaryHenning Baldersheim2021-09-081-1/+7
|\ \ | | | | | | Use a dictionary for metrid ids. There are few unique ones (less than…
| * | Use a dictionary for metrid ids. There are few unique ones (less than 1k), ↵Henning Baldersheim2021-09-081-1/+7
| |/ | | | | | | but many instances.
* / As there are very few unique dimensions, normally in the rannge 5-30, a ↵Henning Baldersheim2021-09-081-1/+7
|/ | | | | | dictionary will significantly reduce memory bloat. One large instance running OOM had 25 unique, but 500k DimensionId objects.
* try to cancel task when we get an exceptionArne Juul2021-09-021-0/+1
|
* Unify on using the MetricId class to avoid creating many instances on the fly.Henning Baldersheim2021-09-0227-108/+103
|
* The metrics proxy is very memory hungry.Henning Baldersheim2021-09-0112-48/+119
| | | | | | This will avoid creating many identical DimensionIds, ServiceIds. It will also prefer using cheap singleton lists where possible. In addition the code relies less on generated Config code.