Skip to content

Commit c74c0c4

Browse files
authored
feat(cockpit): add traces infos to plan (#954)
1 parent 5300fc3 commit c74c0c4

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

packages/clients/src/api/cockpit/v1beta1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ const unmarshalPlan = (data: unknown) => {
163163
retentionLogsInterval: data.retention_logs_interval,
164164
retentionMetricsInterval: data.retention_metrics_interval,
165165
retentionPrice: data.retention_price,
166+
retentionTracesInterval: data.retention_traces_interval,
166167
sampleIngestionPrice: data.sample_ingestion_price,
168+
tracesIngestionPrice: data.traces_ingestion_price,
167169
} as Plan
168170
}
169171

packages/clients/src/api/cockpit/v1beta1/types.gen.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,18 @@ export interface Plan {
193193
id: string
194194
/** Name of a given pricing plan. */
195195
name: PlanName
196-
/** Retention for metrics. */
196+
/** Interval of time during which Scaleway's Cockpit keeps your metrics. */
197197
retentionMetricsInterval?: string
198-
/** Retention for logs. */
198+
/** Interval of time during which Scaleway's Cockpit keeps your logs. */
199199
retentionLogsInterval?: string
200-
/** Ingestion price for 1 million samples in cents. */
200+
/** Interval of time during which Scaleway's Cockpit keeps your traces. */
201+
retentionTracesInterval?: string
202+
/** Ingestion price in cents for 1 million samples. */
201203
sampleIngestionPrice: number
202-
/** Ingestion price for 1 GB of logs in cents. */
204+
/** Ingestion price in cents for 1 GB of logs. */
203205
logsIngestionPrice: number
206+
/** Ingestion price in cents for 1 GB of traces. */
207+
tracesIngestionPrice: number
204208
/** Retention price in euros per month. */
205209
retentionPrice: number
206210
}

0 commit comments

Comments
 (0)