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">
16 <div class=
"row mb-3">
17 <div class=
"col-lg-5 d-flex">
18 <div class=
"col-md-3 timepicker">
19 <label for=
"timepicker"
21 i18n
>Grafana Time Picker
</label>
23 <div class=
"col-sm-4">
24 <select id=
"timepicker"
28 (ngModelChange)=
"onTimepickerChange($event)">
29 <option *
ngFor=
"let key of grafanaTimes"
30 [ngValue]=
"key.value">{{ key.name }}
34 <div class=
"col-sm-1">
35 <button class=
"btn btn-light ms-3"
37 title=
"Reset Settings"
39 <i [ngClass]=
"[icons.undo]"></i>
42 <div class=
"col-sm-1">
43 <button class=
"btn btn-light ms-3"
45 title=
"Show hidden information"
46 (click)=
"showMessage = !showMessage">
47 <i [ngClass]=
"[icons.infoCircle, icons.large]"></i>
56 <cd-alert-panel type=
"info"
60 (dismissed)=
"showMessage = false"
61 i18n
>If no embedded Grafana Dashboard appeared below, please follow
<a [href]=
"grafanaSrc"
64 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>
70 <div class=
"grafana-container">
75 [ngClass]=
"panelStyle"