diff options
Diffstat (limited to 'metrics-proxy/src/main/resources')
6 files changed, 42 insertions, 0 deletions
diff --git a/metrics-proxy/src/main/resources/configdefinitions/application-dimensions.def b/metrics-proxy/src/main/resources/configdefinitions/application-dimensions.def new file mode 100644 index 00000000000..41b384193e5 --- /dev/null +++ b/metrics-proxy/src/main/resources/configdefinitions/application-dimensions.def @@ -0,0 +1,5 @@ +# Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package=ai.vespa.metricsproxy.metric.dimensions + +# Dimensions based on application properties +dimensions{} string diff --git a/metrics-proxy/src/main/resources/configdefinitions/consumers.def b/metrics-proxy/src/main/resources/configdefinitions/consumers.def new file mode 100644 index 00000000000..a1828b1320c --- /dev/null +++ b/metrics-proxy/src/main/resources/configdefinitions/consumers.def @@ -0,0 +1,10 @@ +# Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package=ai.vespa.metricsproxy.core + +# Consumers with metric definitions +consumer[].name string default="" +consumer[].metric[].name string +consumer[].metric[].description string default="" +consumer[].metric[].outputname string +consumer[].metric[].dimension[].key string +consumer[].metric[].dimension[].value string diff --git a/metrics-proxy/src/main/resources/configdefinitions/monitoring.def b/metrics-proxy/src/main/resources/configdefinitions/monitoring.def new file mode 100644 index 00000000000..6fe24c86394 --- /dev/null +++ b/metrics-proxy/src/main/resources/configdefinitions/monitoring.def @@ -0,0 +1,8 @@ +# Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package=ai.vespa.metricsproxy.core + +# The rate at which metrics are passed to the monitoring system. Currently (Apr 2019) only used by SystemPoller. +intervalMinutes int default=5 + +# The name used for this application in the monitoring system +systemName string default=vespa diff --git a/metrics-proxy/src/main/resources/configdefinitions/node-dimensions.def b/metrics-proxy/src/main/resources/configdefinitions/node-dimensions.def new file mode 100644 index 00000000000..917cd165a9f --- /dev/null +++ b/metrics-proxy/src/main/resources/configdefinitions/node-dimensions.def @@ -0,0 +1,5 @@ +# Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package=ai.vespa.metricsproxy.metric.dimensions + +# Dimensions based on node properties +dimensions{} string diff --git a/metrics-proxy/src/main/resources/configdefinitions/rpc-connector.def b/metrics-proxy/src/main/resources/configdefinitions/rpc-connector.def new file mode 100644 index 00000000000..7a8450780de --- /dev/null +++ b/metrics-proxy/src/main/resources/configdefinitions/rpc-connector.def @@ -0,0 +1,4 @@ +# Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package=ai.vespa.metricsproxy.rpc + +port int diff --git a/metrics-proxy/src/main/resources/configdefinitions/vespa-services.def b/metrics-proxy/src/main/resources/configdefinitions/vespa-services.def new file mode 100644 index 00000000000..6fdacfffd42 --- /dev/null +++ b/metrics-proxy/src/main/resources/configdefinitions/vespa-services.def @@ -0,0 +1,10 @@ +# Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package=ai.vespa.metricsproxy.service + +# Services with service id and the http port for the metrics page +service[].configId string +service[].name string default="" +service[].port int default=-1 +service[].healthport int default=-1 +service[].dimension[].key string +service[].dimension[].value string |