aboutsummaryrefslogtreecommitdiffstats
path: root/docker/barometer-grafana/dashboards/configure_grafana.sh
diff options
context:
space:
mode:
authorjabirkkclt <jabir.kanhira.kadavathu@intel.com>2019-12-06 07:58:29 -0800
committerEmma Foley <efoley@redhat.com>2019-12-17 10:53:47 +0000
commit4abee7e46d1602f796f8aebed0a51da9476d0832 (patch)
tree20214e9c998780be0c28521ae26757d985038f40 /docker/barometer-grafana/dashboards/configure_grafana.sh
parented42941aa613ba9612ce53c0e812309d14e35955 (diff)
Updates/Fix on Legal/License Headers
Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: Id29ba83455d2cea21ec634d3e0eee38d84de465b
Diffstat (limited to 'docker/barometer-grafana/dashboards/configure_grafana.sh')
-rwxr-xr-xdocker/barometer-grafana/dashboards/configure_grafana.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/docker/barometer-grafana/dashboards/configure_grafana.sh b/docker/barometer-grafana/dashboards/configure_grafana.sh
index 8ce9689b..9089f832 100755
--- a/docker/barometer-grafana/dashboards/configure_grafana.sh
+++ b/docker/barometer-grafana/dashboards/configure_grafana.sh
@@ -1,16 +1,18 @@
-# Copyright 2017 OPNFV
+# Copyright 2017-2019 Intel Corporation and OPNFV. All rights reserved.
#
# 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
+# 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.
+#
+
curl -u admin:admin -X POST -H 'content-type: application/json'\
http://127.0.0.1:3000/api/datasources -d \
'{"name":"collectd","type":"influxdb","url":"http://localhost:8086","access":"proxy","isDefault":true,"database":"collectd","user":"admin","password":"admin","basicAuth":false}'