summaryrefslogtreecommitdiffstats
path: root/metrics-proxy/src/main/resources
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2019-05-07 15:58:04 +0200
committergjoranv <gv@verizonmedia.com>2019-05-10 10:56:39 +0200
commitcf508533e0def83dcc4702d4ff83ad07e31f5b75 (patch)
treee173872e05ddc43aef1ce533e284f6cf1b18a9da /metrics-proxy/src/main/resources
parent1e98247ac92f391bf8af18627354f2374255f32b (diff)
New metrics-proxy
Diffstat (limited to 'metrics-proxy/src/main/resources')
-rw-r--r--metrics-proxy/src/main/resources/configdefinitions/application-dimensions.def5
-rw-r--r--metrics-proxy/src/main/resources/configdefinitions/consumers.def10
-rw-r--r--metrics-proxy/src/main/resources/configdefinitions/monitoring.def8
-rw-r--r--metrics-proxy/src/main/resources/configdefinitions/node-dimensions.def5
-rw-r--r--metrics-proxy/src/main/resources/configdefinitions/rpc-connector.def4
-rw-r--r--metrics-proxy/src/main/resources/configdefinitions/vespa-services.def10
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