Skip to main content

Scaleway Cockpit

@sntxrr/scaleway-cockpitv2026.07.19.2· 6d agoMODELS
01README

Manage a Scaleway Cockpit (Observability) data source — sync state, create metrics/logs/traces data sources, delete, and discover data sources and tokens in a region, via the Cockpit API with X-Auth-Token auth.

02Models1
@sntxrr/scaleway-cockpitv2026.07.19.2scaleway_cockpit.ts

Global Arguments

ArgumentTypeDescription
secretKeystringScaleway API secret key. Wire with ${{ vault.get(scaleway, SCW_SECRET_KEY) }}.
projectIdstringScaleway Project ID that owns the Cockpit data sources and tokens.
regionstringRegion, e.g. fr-par, nl-ams, pl-waw.
dataSourceId?stringID of the Cockpit data source this model manages. Optional — `create`
endpoint?stringOverride the API host. Defaults to https://api.scaleway.com.
fn sync()
Fetch the data source's current state (GetDataSource).
fn create(name: string, type: enum, retentionDays?: number)
Provision a new Cockpit data source (CreateDataSource) and snapshot it.
ArgumentTypeDescription
namestringName of the new data source.
typeenumData source type: metrics, logs, or traces.
retentionDays?numberData retention period in days. Optional; a plan default applies.
fn delete()
Deprovision the Cockpit data source (DeleteDataSource).
fn list()
Discover all Cockpit data sources in the region (factory).

Resources

data-source(infinite)— Snapshot of the Cockpit data source's state
token(infinite)— Snapshot of a Cockpit token's non-secret metadata (never the secret key)
03Previous Versions3
2026.07.19.1
2026.07.18.2
2026.07.18.1
04Stats
A
100 / 100
Downloads
0
Archive size
10.1 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels