Skip to content

Commit c47c15a

Browse files
authored
chore(cockpit): add product datasource retention (scaleway#2306)
1 parent 89ba931 commit c47c15a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

api/cockpit/v1/cockpit_sdk.go

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -727,14 +727,20 @@ type AlertManager struct {
727727

728728
// GetConfigResponse: Cockpit configuration.
729729
type GetConfigResponse struct {
730-
// MetricsRetention: metrics retention configuration.
731-
MetricsRetention *GetConfigResponseRetention `json:"metrics_retention"`
730+
// CustomMetricsRetention: custom metrics retention configuration.
731+
CustomMetricsRetention *GetConfigResponseRetention `json:"custom_metrics_retention"`
732732

733-
// LogsRetention: logs retention configuration.
734-
LogsRetention *GetConfigResponseRetention `json:"logs_retention"`
733+
// CustomLogsRetention: custom logs retention configuration.
734+
CustomLogsRetention *GetConfigResponseRetention `json:"custom_logs_retention"`
735735

736-
// TracesRetention: traces retention configuration.
737-
TracesRetention *GetConfigResponseRetention `json:"traces_retention"`
736+
// CustomTracesRetention: custom traces retention configuration.
737+
CustomTracesRetention *GetConfigResponseRetention `json:"custom_traces_retention"`
738+
739+
// ProductMetricsRetention: scaleway metrics retention configuration.
740+
ProductMetricsRetention *GetConfigResponseRetention `json:"product_metrics_retention"`
741+
742+
// ProductLogsRetention: scaleway logs retention configuration.
743+
ProductLogsRetention *GetConfigResponseRetention `json:"product_logs_retention"`
738744
}
739745

740746
// GlobalAPICreateGrafanaUserRequest: Create a Grafana user.

0 commit comments

Comments
 (0)