summaryrefslogtreecommitdiffstats
path: root/metrics-proxy
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #23138 from vespa-engine/bjorncs/metrics-proxyBjørn Christian Seime2022-06-215-78/+54
|\ | | | | Bjorncs/metrics proxy
| * Re-enable testsBjørn Christian Seime2022-06-162-9/+1
| |
| * Use synchronous http clientBjørn Christian Seime2022-06-163-69/+53
| |
* | Sync initial directory permissions and ownership with fixdir settingsTor Egge2022-06-201-0/+2
|/ | | | | | from vespa-prestart.sh, fixddir settings from start-configserver and start-telegraf.sh and FixDataDirectory settings from standalone-container.sh.
* Temporarily ignore tests in RpcHealthMetricsTestBjørn Christian Seime2022-06-141-0/+3
|
* Temporarily ignore testsBjørn Christian Seime2022-06-141-0/+5
|
* Specify timeout for non-blocking I/O in http clientsBjørn Christian Seime2022-06-133-6/+13
|
* Specify global test timeoutBjørn Christian Seime2022-06-132-0/+11
|
* Stabilize metrics-proxy testsBjørn Christian Seime2022-06-102-11/+12
| | | | | Synchronize access to 'response' field. Handle null response. Ensure output stream is closed. Specify timeout for request connection from pool.
* Remove temporary dependency on 'jetty-http' with test scopeBjørn Christian Seime2022-06-081-7/+0
|
* Set project version to 8-SNAPSHOTgjoranv2022-06-081-2/+2
|
* Don't provide Jetty bundles from 'container' artifactBjørn Christian Seime2022-06-081-0/+2
| | | | Add dependency on 'jetty-http' with scope test instead of adding false dependencies with 'container-test'.
* install_jar CMake functionHåkon Hallingstad2022-05-201-1/+1
|
* Use '@Inject' from 'annotations' in multiple bundlesBjørn Christian Seime2022-05-0610-10/+10
|
* Increase timeout from 20s to 60s to allow overloaded nodes a chance to ↵Henning Baldersheim2022-05-052-2/+4
| | | | complete within timeout.
* Only log when failure is unexpected.Henning Baldersheim2022-04-301-1/+3
|
* Silence ConnectTimeoutExceptionHenning Baldersheim2022-04-291-1/+2
|
* Reduce default timeout for metrics requests from 300s to 25s to ensure it is ↵Henning Baldersheim2022-01-251-1/+0
| | | | shorter than shutdown timeout targeted to be 30s
* Support producing all clauses in a referenced conditionJon Bratseth2022-01-191-3/+3
|
* Increase timeout to reduce timing issue in test.Henning Baldersheim2022-01-071-2/+2
|
* Make parse method public to enable testing.Henning Baldersheim2021-12-191-1/+1
|
* GC unused loggerHenning Baldersheim2021-12-191-2/+0
|
* - Refactor and speedup MetricParser.handleValue.Henning Baldersheim2021-12-192-61/+66
| | | | | - Only use streaming jackson parsing - Aggregate hash codes to make unique dimension keys.
* Use the Instant as a timestamp to make it clear what it is instead of just a ↵Henning Baldersheim2021-12-187-26/+33
| | | | | | generic long. Make sure to use it correctly for the system metrics.
* Add test for dimensions incorrectly containing nullHenning Baldersheim2021-12-171-0/+25
|
* Handle that metrics can arrive with a dimension set to null. Skip and log it ↵Henning Baldersheim2021-12-173-20/+41
| | | | | | as debug. Let exceptions through in the tests so that we do not hide errors there.
* Get stacktrace for exceptions.Henning Baldersheim2021-12-171-5/+4
|
* Drop using hamcrest matchers and stick to simple assertEquals/True/FalseHenning Baldersheim2021-12-179-132/+119
|
* Preserve number typeHenning Baldersheim2021-12-172-27/+27
|
* Even if we do not filter by consumer on the services, we can do it early in ↵Henning Baldersheim2021-12-174-26/+75
| | | | | | | the metrics-proxy. This is especially benefiscal for the most frequent requests like autoscaling which only looks at a small set (1%) of the metrics. This both reduces memory footprint and saves cpu.
* numbers outside of the range of a long are forced to have a decimal ↵Henning Baldersheim2021-12-173-6/+42
| | | | punctuation to enforce parsing as non integer number.
* Avoid creating a temporary YamasArrayJsonModel which contains a copy of the ↵Henning Baldersheim2021-12-1610-186/+173
| | | | | | MetricsPacket list that is used just for simple json printing with an ObjectMapper. Insteda do it the old school by genrating the json with the core api which is streaming.
* Add test and benchmark for smaps parsing and avoid using regex.Henning Baldersheim2021-12-152-27/+101
|
* 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-159-46/+48
|\ | | | | No functional changes
| * No functional changesJon Bratseth2021-12-159-46/+48
| |
* | 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
|