X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharm%2Fgrafana%2Ffiles%2Fdefault_datasources.yaml;fp=installers%2Fcharm%2Fgrafana%2Ffiles%2Fdefault_datasources.yaml;h=9dc0b8fedb39a5185dcf6d646e0afea798003690;hb=7527a6348d19ef4afbc11a20cec7f419aaf59c7d;hp=0000000000000000000000000000000000000000;hpb=b17e76b6df29ad727711175c2b6830a9db984a1d;p=osm%2Fdevops.git diff --git a/installers/charm/grafana/files/default_datasources.yaml b/installers/charm/grafana/files/default_datasources.yaml new file mode 100644 index 00000000..9dc0b8fe --- /dev/null +++ b/installers/charm/grafana/files/default_datasources.yaml @@ -0,0 +1,31 @@ +# Copyright 2021 Canonical Ltd. +# +# 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. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact: legal@canonical.com +# +# To get in touch with the maintainers, please contact: +# osm-charmers@lists.launchpad.net +## + +--- +datasources: + - access: proxy + editable: true + is_default: true + name: osm_prometheus + orgId: 1 + type: prometheus + version: 1 + url: http://$prometheus_host:$prometheus_port