summaryrefslogtreecommitdiffstats
path: root/metrics-proxy
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge pull request #18661 from ↵Henning Baldersheim2021-08-021-3/+2
|\ | | | | | | | | vespa-engine/balder/reduce-metrics-proxy-max-memory-footprint Balder/reduce metrics proxy max memory footprint
| * SimplifyHenning Baldersheim2021-08-021-3/+2
| |
* | Don't serialize metrics to StringOla Aunrønning2021-08-022-2/+36
|/
* Use provided apache http client bundle from containerBjørn Christian Seime2021-07-061-0/+6
|
* Revert "Use provided apache http client bundle from container [run-systemtest]"Harald Musum2021-07-051-6/+0
|
* Use provided apache http client bundle from containerBjørn Christian Seime2021-07-051-0/+6
|
* Remove docker-apiMartin Polden2021-06-291-1/+1
|
* Revert "Reapply "Use provided apache http client bundle from container""Bjørn Christian Seime2021-06-231-6/+0
|
* Reapply "Use provided apache http client bundle from container"Bjørn Christian Seime2021-06-231-0/+6
|
* Revert "Reapply "Use provided apache http client bundle from container" ↵Harald Musum2021-06-221-6/+0
| | | | [run-systemtest]""
* Revert "Revert "Reapply "Use provided apache http client bundle from ↵Harald Musum2021-06-221-0/+6
| | | | container" [run-systemtest]""
* Revert "Reapply "Use provided apache http client bundle from container" ↵Harald Musum2021-06-221-6/+0
| | | | [run-systemtest]"
* Reapply "Use provided apache http client bundle from container"Bjørn Christian Seime2021-06-221-0/+6
| | | | This reverts commit 89c9ae74e5aa065981ea55fe326369df64219c6b.
* Revert "Use provided apache http client bundle from container"Bjørn Christian Seime2021-06-221-6/+0
| | | | This reverts commit a181d8d9de3f4e73daab9ee0d62fd25f094fce2f.
* Use provided apache http client bundle from containerBjørn Christian Seime2021-06-171-0/+6
|
* drop empty buffers instead of using small buffersHåvard Pettersen2021-06-152-2/+2
|
* admin/slobrok.0 does not always exist ....... anymore.Henning Baldersheim2021-05-272-3/+3
|
* More lazy debug log message generationJon Marius Venstad2021-04-287-13/+13
|
* Remove deps to container-di for modules that only used Provider.gjoranv2021-04-121-6/+0
|