Skip to content

Commit a450ab9

Browse files
authored
docs(cockpit): get_cockpit_metrics_request (#1634)
1 parent dcd7218 commit a450ab9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/cockpit/v1beta1/cockpit_sdk.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,10 @@ type GetCockpitMetricsRequest struct {
465465
// ProjectID: project ID.
466466
ProjectID string `json:"-"`
467467
// StartDate: start date.
468+
// Start date, if omited, query will be instant query and End Date will be used as query time.
468469
StartDate *time.Time `json:"-"`
469470
// EndDate: end date.
471+
// End date, if omited set to now.
470472
EndDate *time.Time `json:"-"`
471473
// MetricName: metric name.
472474
MetricName *string `json:"-"`

0 commit comments

Comments
 (0)