Sample CollectdPlugin CR for write_prometheus 25/90325/2
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Fri, 21 Jun 2019 17:16:38 +0000 (10:16 -0700)
committerGary Wu <gary.wu@futurewei.com>
Fri, 21 Jun 2019 18:30:50 +0000 (18:30 +0000)
Added sample custom resource CollectdPlugin for enabling
write_prometheus

Issue-ID: ONAPARC-461
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: I9a037beb1efd7abd1842c7b4941377174444a1b4

vnfs/DAaaS/microservices/collectd-operator/deploy/crds/prometheus_collectdplugin_cr.yaml [new file with mode: 0644]

diff --git a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/prometheus_collectdplugin_cr.yaml b/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/prometheus_collectdplugin_cr.yaml
new file mode 100644 (file)
index 0000000..1b8cf9b
--- /dev/null
@@ -0,0 +1,12 @@
+apiVersion: onap.org/v1alpha1
+kind: CollectdPlugin
+metadata:
+  name: prometheus
+spec:
+  # Add fields here
+  pluginName: "write_prometheus"
+  pluginConf: |
+    <Plugin "write_prometheus">
+      Port 9103
+    </Plugin>