summaryrefslogtreecommitdiffstats
path: root/metrics-proxy
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary return typejonmv2022-10-283-13/+15
|
* Abandon in-flight metrics requests on deconstructjonmv2022-10-283-9/+8
|
* Break fetching metrics when stoppedjonmv2022-10-271-2/+3
|
* Merge pull request #24548 from vespa-engine/arnej/common-handle-env-rootHenning Baldersheim2022-10-252-0/+6
|\ | | | | * apply new common bootstrap
| * * apply new common bootstrapArne Juul2022-10-242-0/+6
| | | | | | | | | | * remove now-duplicated code * prefer using ${VESPA_HOME} environment variable
* | Use only wiremock-jre8, and add version property.gjoranv2022-10-241-1/+1
|/
* Support running Vespa in container as non-rootEirk Nygaard2022-10-211-1/+1
| | | | | | | | This removes the old VESPA_UNPRIVILEGED environment variable. Instead we use the old mechanisme if id of the user starting Vespa is root. If the container is started with a non-root user some sanity checking is done to either fail because wrong permissions are active, or warn the user for possibly too low limits.
* Add deploymentCluster dimensionOla Aunronning2022-10-201-0/+1
|
* Return X-Vespa-Ignored-Fields if fields were ignoredJon Bratseth2022-10-062-1/+2
|
* Require non-null consumer idgjoranv2022-09-271-2/+3
| | | | + remove redundant import
* Ignore case when looking up metrics consumer.gjoranv2022-09-263-6/+21
|
* Add Vespa consumer to host life metricOla Aunrønning2022-08-152-0/+6
|
* Add method to use Duration as timeout to make unit explicit, and avoid many ↵Henning Baldersheim2022-08-123-3/+7
| | | | magic conversions.
* qrserver -> container, part 2Harald Musum2022-08-095-9/+9
|
* qrserver -> containerHarald Musum2022-08-087-32/+28
|
* Remove all dependencies to yoleangjoranv2022-07-131-6/+0
|
* 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
|