chunk-2d0c55f2.3c2e3ee6.js 1.03 KB
 1
 2
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c55f2"],{"3f8a":function(e,r,t){"use strict";t.r(r);var a=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticStyle:{height:"90vh"}},[t("iframe",{attrs:{width:"100%",height:"100%",src:e.src,frameborder:"0"}})])},n=[],c=(t("96cf"),t("1da1")),s=t("bc3a"),i=t.n(s),o={name:"OD",data:function(){return{src:"",params:"/d/qDDyJZ6Wz/od?orgId=1"}},created:function(){this.config()},methods:{config:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function r(){var t,a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,i.a.get("/config");case 3:t=r.sent,a=t.data,e.src=a.grafana_url+e.params,r.next=11;break;case 8:r.prev=8,r.t0=r["catch"](0),e.$toasted.error("Error fetching Grafana URL!");case 11:case"end":return r.stop()}}),r,null,[[0,8]])})))()}}},u=o,f=t("2877"),d=Object(f["a"])(u,a,n,!1,null,"b3fd727c",null);r["default"]=d.exports}}]);
//# sourceMappingURL=chunk-2d0c55f2.3c2e3ee6.js.map