summaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/metrics/simple/runtime
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-04-13 17:03:46 +0200
committergjoranv <gv@verizonmedia.com>2021-04-13 17:03:46 +0200
commit3f46e126abf3da75ae561ff9f5070b977b3004e3 (patch)
tree581403a84038d1299edf14d5ed54aeae0541d5cc /container-core/src/main/java/com/yahoo/metrics/simple/runtime
parent94611f2c72d033a15b251b59781ff7dddfef63fe (diff)
Add java source from simplemetrics.
Diffstat (limited to 'container-core/src/main/java/com/yahoo/metrics/simple/runtime')
-rw-r--r--container-core/src/main/java/com/yahoo/metrics/simple/runtime/MetricProperties.java20
-rw-r--r--container-core/src/main/java/com/yahoo/metrics/simple/runtime/package-info.java12
2 files changed, 32 insertions, 0 deletions
diff --git a/container-core/src/main/java/com/yahoo/metrics/simple/runtime/MetricProperties.java b/container-core/src/main/java/com/yahoo/metrics/simple/runtime/MetricProperties.java
new file mode 100644
index 00000000000..9c3ecec10fc
--- /dev/null
+++ b/container-core/src/main/java/com/yahoo/metrics/simple/runtime/MetricProperties.java
@@ -0,0 +1,20 @@
+// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.metrics.simple.runtime;
+
+import java.nio.file.Path;
+import java.nio.file.Paths;
+
+/**
+ * Constants used by Vespa to make the simple metrics implementation available
+ * to other components.
+ *
+ * @author Steinar Knutsen
+ */
+public final class MetricProperties {
+
+ private MetricProperties() {
+ }
+
+ public static final String BUNDLE_SYMBOLIC_NAME = "simplemetrics";
+
+}
diff --git a/container-core/src/main/java/com/yahoo/metrics/simple/runtime/package-info.java b/container-core/src/main/java/com/yahoo/metrics/simple/runtime/package-info.java
new file mode 100644
index 00000000000..e7c7cd166eb
--- /dev/null
+++ b/container-core/src/main/java/com/yahoo/metrics/simple/runtime/package-info.java
@@ -0,0 +1,12 @@
+// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+/**
+ * Settings and properties used for setting up the simple metrics library in a
+ * container.
+ *
+ * @author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
+ */
+@ExportPackage
+package com.yahoo.metrics.simple.runtime;
+
+import com.yahoo.osgi.annotation.ExportPackage;
+