Skip to content
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
8 changes: 6 additions & 2 deletions provider-dev/docgen/provider-data/headerContent2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ stackql.exe shell --auth=$Auth
```
</details>

## Token spend and cost as rows
## Example Queries

Try the following queries using `stackql shell`, or run them from a script or CI pipeline with `stackql exec`.

### Token spend and cost as rows

Usage and cost are bucketed time series. Each row is one time bucket (`start_time`, `end_time`) and its `results` array holds the per-group breakdown, fanned out with `json_each` and read with `json_extract`.

Expand Down Expand Up @@ -90,7 +94,7 @@ WHERE start_time = 1781481600
AND "limit" = 180;
```

## Governance and audit
### Governance and audit

Projects, their service accounts, and their API keys as rows:

Expand Down
8 changes: 6 additions & 2 deletions website/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ stackql.exe shell --auth=$Auth
```
</details>

## Token spend and cost as rows
## Example Queries

Try the following queries using `stackql shell`, or run them from a script or CI pipeline with `stackql exec`.

### Token spend and cost as rows

Usage and cost are bucketed time series. Each row is one time bucket (`start_time`, `end_time`) and its `results` array holds the per-group breakdown, fanned out with `json_each` and read with `json_extract`.

Expand Down Expand Up @@ -128,7 +132,7 @@ WHERE start_time = 1781481600
AND "limit" = 180;
```

## Governance and audit
### Governance and audit

Projects, their service accounts, and their API keys as rows:

Expand Down