Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

On this page

sylphx observability source_maps

Every sylphx observability source_maps command: its argument, its flags and a run line.

The source_maps commands of Sylphx Observability, as the CLI spells them: the same calls as the source_maps API page, typed for the shell. Install, sign in and the grammar are on the CLI index.

#create

Uploads a source map for one release and minified file. Uploading the same release and file again replaces it.

CLI

Shell
sylphx observability source-maps create --parent orgs/acme/projects/shop/envs/production --release … --file-url … --content …

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/source_maps · scope observability:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--parentstringThe parent to create in; defaults to the linked project or the key's scope.
--meta.labelskey=valueCaller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value.
--meta.annotationskey=valueCaller-writable, unindexed annotations. Repeat the flag for each value.
--meta.display-namestringCaller-writable human-readable name.
--releasestringThe release the map belongs to, as sent in ErrorEvent.release. Required.
--file-urlstringThe minified file the map describes: its URL (https://app.example.com/assets/index-3f2a.js) or its path (/assets/index-3f2a.js). A frame matches on the URL path. Required.
--contentstringThe source map JSON (revision 3), at most 16 MiB. Written, never read back. Required.

#get

Gets a source map (without its content).

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx observability source-maps get orgs/acme/projects/shop/envs/production/source_maps/source-map

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/source_maps/source-map · scope observability:read · effect read · Request, response and examples

#list

Lists source maps, newest first; filter by release.

PARENT — optional: the CLI fills it from the linked project or the key's scope when it is left out.

CLI

Shell
sylphx observability source-maps list orgs/acme/projects/shop/envs/production

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/source_maps · scope observability:read · effect read · Request, response and examples

Flags

FlagTypeWhat it does
--page-sizeintAt most this many, up to 100.
--page-tokenstringThe next_page_token of the previous page.
--filterstringAIP-160 filter; release = "…" only.