Skip to content

feat(cockpit): add traces infos to plan #954

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/clients/src/api/cockpit/v1beta1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ const unmarshalPlan = (data: unknown) => {
retentionLogsInterval: data.retention_logs_interval,
retentionMetricsInterval: data.retention_metrics_interval,
retentionPrice: data.retention_price,
retentionTracesInterval: data.retention_traces_interval,
sampleIngestionPrice: data.sample_ingestion_price,
tracesIngestionPrice: data.traces_ingestion_price,
} as Plan
}

Expand Down
12 changes: 8 additions & 4 deletions packages/clients/src/api/cockpit/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,18 @@ export interface Plan {
id: string
/** Name of a given pricing plan. */
name: PlanName
/** Retention for metrics. */
/** Interval of time during which Scaleway's Cockpit keeps your metrics. */
retentionMetricsInterval?: string
/** Retention for logs. */
/** Interval of time during which Scaleway's Cockpit keeps your logs. */
retentionLogsInterval?: string
/** Ingestion price for 1 million samples in cents. */
/** Interval of time during which Scaleway's Cockpit keeps your traces. */
retentionTracesInterval?: string
/** Ingestion price in cents for 1 million samples. */
sampleIngestionPrice: number
/** Ingestion price for 1 GB of logs in cents. */
/** Ingestion price in cents for 1 GB of logs. */
logsIngestionPrice: number
/** Ingestion price in cents for 1 GB of traces. */
tracesIngestionPrice: number
/** Retention price in euros per month. */
retentionPrice: number
}
Expand Down