summaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@vespa.ai>2023-10-09 12:10:01 +0200
committerJon Bratseth <bratseth@vespa.ai>2023-10-09 12:10:01 +0200
commit3424380e68539de60ccf383ef2020c815a1e7f73 (patch)
treef6e0d751d8cb23fa72311eda64666102db5e403e /metrics
parent96c29caed67d013be683f74f2c0f9b2e9b73b38d (diff)
Correct copyright headers
Diffstat (limited to 'metrics')
-rw-r--r--metrics/src/main/java/ai/vespa/metrics/RoutingLayerMetrics.java3
-rw-r--r--metrics/src/main/java/ai/vespa/metrics/docs/MetricDocumentation.java2
-rw-r--r--metrics/src/main/java/ai/vespa/metrics/docs/MetricSetDocumentation.java2
-rw-r--r--metrics/src/main/java/ai/vespa/metrics/docs/UnitDocumentation.java2
4 files changed, 4 insertions, 5 deletions
diff --git a/metrics/src/main/java/ai/vespa/metrics/RoutingLayerMetrics.java b/metrics/src/main/java/ai/vespa/metrics/RoutingLayerMetrics.java
index 80f1a43c026..e4c18d08fda 100644
--- a/metrics/src/main/java/ai/vespa/metrics/RoutingLayerMetrics.java
+++ b/metrics/src/main/java/ai/vespa/metrics/RoutingLayerMetrics.java
@@ -4,11 +4,10 @@ package ai.vespa.metrics;
/**
* @author yngveaasheim
*/
-
// Internal hosted Vespa only TODO: Move to a better place
public enum RoutingLayerMetrics implements VespaMetrics {
- WORKER_CONNECTIONS("worker.connections", Unit.CONNECTION, "Yahoo! Internal: Number of connections for the routing worker having most connections per node");
+ WORKER_CONNECTIONS("worker.connections", Unit.CONNECTION, "Internal: Number of connections for the routing worker having most connections per node");
private final String name;
private final Unit unit;
diff --git a/metrics/src/main/java/ai/vespa/metrics/docs/MetricDocumentation.java b/metrics/src/main/java/ai/vespa/metrics/docs/MetricDocumentation.java
index e4275a46fc1..cf4dfb1397b 100644
--- a/metrics/src/main/java/ai/vespa/metrics/docs/MetricDocumentation.java
+++ b/metrics/src/main/java/ai/vespa/metrics/docs/MetricDocumentation.java
@@ -18,7 +18,7 @@ public class MetricDocumentation {
var referenceBuilder = new StringBuilder();
referenceBuilder.append(String.format("""
---
- # Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+ # Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
title: "%s Metrics"
---
diff --git a/metrics/src/main/java/ai/vespa/metrics/docs/MetricSetDocumentation.java b/metrics/src/main/java/ai/vespa/metrics/docs/MetricSetDocumentation.java
index 2fcd80bc853..b046d55c089 100644
--- a/metrics/src/main/java/ai/vespa/metrics/docs/MetricSetDocumentation.java
+++ b/metrics/src/main/java/ai/vespa/metrics/docs/MetricSetDocumentation.java
@@ -44,7 +44,7 @@ public class MetricSetDocumentation {
var referenceBuilder = new StringBuilder();
referenceBuilder.append(String.format("""
---
- # Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+ # Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
title: "%s Metric Set"
---""", name));
metricsByType.keySet()
diff --git a/metrics/src/main/java/ai/vespa/metrics/docs/UnitDocumentation.java b/metrics/src/main/java/ai/vespa/metrics/docs/UnitDocumentation.java
index 1f80b15596b..0bd346b3e53 100644
--- a/metrics/src/main/java/ai/vespa/metrics/docs/UnitDocumentation.java
+++ b/metrics/src/main/java/ai/vespa/metrics/docs/UnitDocumentation.java
@@ -19,7 +19,7 @@ public class UnitDocumentation {
var referenceBuilder = new StringBuilder();
referenceBuilder.append(String.format("""
---
- # Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+ # Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
title: "Metric Units Reference"
---