1 <!-- Embed dashboard -->
2 <cd-loading-panel *
ngIf=
"loading && grafanaExist"
3 i18n
>Loading panel data...
</cd-loading-panel>
5 <cd-alert-panel type=
"info"
7 i18n
>Please consult the
<cd-doc section=
"grafana"></cd-doc> on
8 how to configure and enable the monitoring functionality.
</cd-alert-panel>
10 <cd-alert-panel type=
"info"
11 *
ngIf=
"!dashboardExist"
12 i18n
>Grafana Dashboard doesn't exist. Please refer to
13 <cd-doc section=
"grafana"></cd-doc> on how to add dashboards to Grafana.
</cd-alert-panel>
15 <ng-container *
ngIf=
"grafanaExist && dashboardExist">
18 <div class=
"form-inline timepicker">
19 <label for=
"timepicker"
21 i18n
>Grafana Time Picker
</label>
23 <select id=
"timepicker"
25 class=
"custom-select my-1 mx-3"
27 (ngModelChange)=
"onTimepickerChange($event)">
28 <option *
ngFor=
"let key of grafanaTimes"
29 [ngValue]=
"key.value">{{ key.name }}
33 <button class=
"btn btn-light my-1"
35 title=
"Reset Settings"
37 <i [ngClass]=
"[icons.undo]"></i>
39 <button class=
"btn btn-light my-1 ml-3"
41 title=
"Show hidden information"
42 (click)=
"showMessage = !showMessage">
43 <i [ngClass]=
"[icons.infoCircle, icons.large]"></i>
52 <cd-alert-panel type=
"info"
56 (dismissed)=
"showMessage = false"
57 i18n
>If no embedded Grafana Dashboard appeared below, please follow
<a [href]=
"grafanaSrc"
60 noreferrer
>this link
</a> to check if Grafana is reachable and there are no HTTPS certificate issues. You may need to reload this page after accepting any Browser certificate exceptions
</cd-alert-panel>
66 <div class=
"grafana-container">
71 [ngClass]=
"panelStyle"