mirror of
https://github.com/ceph/ceph
synced 2025-03-30 07:19:14 +00:00
Merge pull request #36735 from rhcs-dashboard/fix-this-week-endpoint
mgr/dashboard: remove "This week/month/year" and "Today" time stamps of Grafana in dashboard Reviewed-by: Alfonso Martínez <almartin@redhat.com> Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
This commit is contained in:
commit
218d2df473
@ -72,10 +72,6 @@ export class GrafanaComponent implements OnInit, OnChanges {
|
||||
name: $localize`Yesterday`,
|
||||
value: 'from=now-1d%2Fd&to=now-1d%2Fd'
|
||||
},
|
||||
{
|
||||
name: $localize`Today`,
|
||||
value: 'from=now%2Fd&to=now%2Fd'
|
||||
},
|
||||
{
|
||||
name: $localize`Today so far`,
|
||||
value: 'from=now%2Fd&to=now'
|
||||
@ -96,10 +92,6 @@ export class GrafanaComponent implements OnInit, OnChanges {
|
||||
name: $localize`Previous week`,
|
||||
value: 'from=now-1w%2Fw&to=now-1w%2Fw'
|
||||
},
|
||||
{
|
||||
name: $localize`This week`,
|
||||
value: 'from=now%2Fw&to=now%2Fw'
|
||||
},
|
||||
{
|
||||
name: $localize`This week so far`,
|
||||
value: 'from=now%2Fw&to=now'
|
||||
@ -112,10 +104,6 @@ export class GrafanaComponent implements OnInit, OnChanges {
|
||||
name: $localize`Previous month`,
|
||||
value: 'from=now-1M%2FM&to=now-1M%2FM'
|
||||
},
|
||||
{
|
||||
name: $localize`This month`,
|
||||
value: 'from=now%2FM&to=now%2FM'
|
||||
},
|
||||
{
|
||||
name: $localize`This month so far`,
|
||||
value: 'from=now%2FM&to=now'
|
||||
@ -140,10 +128,6 @@ export class GrafanaComponent implements OnInit, OnChanges {
|
||||
name: $localize`Previous year`,
|
||||
value: 'from=now-1y%2Fy&to=now-1y%2Fy'
|
||||
},
|
||||
{
|
||||
name: $localize`This year`,
|
||||
value: 'from=now%2Fy&to=now%2Fy'
|
||||
},
|
||||
{
|
||||
name: $localize`This year so far`,
|
||||
value: 'from=now%2Fy&to=now'
|
||||
|
Loading…
Reference in New Issue
Block a user