File tree Expand file tree Collapse file tree 2 files changed +22
-12
lines changed
packages/clients/src/api/cockpit/v1 Expand file tree Collapse file tree 2 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -204,14 +204,20 @@ export const unmarshalGetConfigResponse = (
204204 }
205205
206206 return {
207- logsRetention : data . logs_retention
208- ? unmarshalGetConfigResponseRetention ( data . logs_retention )
207+ customLogsRetention : data . custom_logs_retention
208+ ? unmarshalGetConfigResponseRetention ( data . custom_logs_retention )
209209 : undefined ,
210- metricsRetention : data . metrics_retention
211- ? unmarshalGetConfigResponseRetention ( data . metrics_retention )
210+ customMetricsRetention : data . custom_metrics_retention
211+ ? unmarshalGetConfigResponseRetention ( data . custom_metrics_retention )
212212 : undefined ,
213- tracesRetention : data . traces_retention
214- ? unmarshalGetConfigResponseRetention ( data . traces_retention )
213+ customTracesRetention : data . custom_traces_retention
214+ ? unmarshalGetConfigResponseRetention ( data . custom_traces_retention )
215+ : undefined ,
216+ productLogsRetention : data . product_logs_retention
217+ ? unmarshalGetConfigResponseRetention ( data . product_logs_retention )
218+ : undefined ,
219+ productMetricsRetention : data . product_metrics_retention
220+ ? unmarshalGetConfigResponseRetention ( data . product_metrics_retention )
215221 : undefined ,
216222 } as GetConfigResponse
217223}
Original file line number Diff line number Diff line change @@ -209,12 +209,16 @@ export interface AlertManager {
209209
210210/** Cockpit configuration. */
211211export interface GetConfigResponse {
212- /** Metrics retention configuration. */
213- metricsRetention ?: GetConfigResponseRetention
214- /** Logs retention configuration. */
215- logsRetention ?: GetConfigResponseRetention
216- /** Traces retention configuration. */
217- tracesRetention ?: GetConfigResponseRetention
212+ /** Custom metrics retention configuration. */
213+ customMetricsRetention ?: GetConfigResponseRetention
214+ /** Custom logs retention configuration. */
215+ customLogsRetention ?: GetConfigResponseRetention
216+ /** Custom traces retention configuration. */
217+ customTracesRetention ?: GetConfigResponseRetention
218+ /** Scaleway metrics retention configuration. */
219+ productMetricsRetention ?: GetConfigResponseRetention
220+ /** Scaleway logs retention configuration. */
221+ productLogsRetention ?: GetConfigResponseRetention
218222}
219223
220224/** Create a Grafana user. */
You can’t perform that action at this time.
0 commit comments