Provisioning of prometheus datasource and dashboards
- dashboard with details for micrometer(jvm, hikari, http requests) stats.
- dashboard with details for JVM consumption on basic levels.
Issue-ID: POLICY-3892
Change-Id: Ibe9c220c35755b9c60f2ef5d6c4b56849a9ba59a
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
diff --git a/csit/metrics/dashboard.yaml b/csit/metrics/dashboard.yaml
new file mode 100644
index 0000000..b6e31e4
--- /dev/null
+++ b/csit/metrics/dashboard.yaml
@@ -0,0 +1,33 @@
+#
+# ===========LICENSE_START====================================================
+# Copyright (C) 2022 Nordix Foundation.
+# ============================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END=====================================================
+#
+
+apiVersion: 1
+
+providers:
+ - name: 'Policy Framework'
+ orgId: 1
+ folder: 'Policy Framework'
+ folderUid: ''
+ type: file
+ disableDeletion: false
+ updateIntervalSeconds: 60
+ allowUiUpdates: true
+ editable: true
+ options:
+ path: /var/lib/grafana/dashboards
+ foldersFromFilesStructure: true