Commit 21579b0 1 parent d0ef8e8 commit 21579b0 Copy full SHA for 21579b0
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Usage data can be downloaded:
11
11
12
12
- from the Usage page: Organization Settings -> Other -> Usage
13
13
- using [ spacectl] ( https://github.com/spacelift-io/spacectl ) command: ` spacectl profile usage-csv `
14
- - via the Spacelift API
14
+ - via the Spacelift API at ` https://<your-spacelift-host>/usageanalytics/csv ` (note: this is not a graphql endpoint)
15
15
16
16
## Analyzing Usage Data
17
17
@@ -20,7 +20,7 @@ Usage data can be downloaded:
20
20
Create a table for worker count and load the CSV file into the table:
21
21
22
22
``` sql
23
- create table worker_info (
23
+ create table worker_count (
24
24
id int ,
25
25
count int ,
26
26
timestamp_unix int ,
@@ -29,7 +29,7 @@ create table worker_info (
29
29
```
30
30
31
31
``` shell
32
- psql -h < host> -U < user> -d < database> -c " \copy worker_info from '<path-to-csv-file>' delimiter ',' csv header"
32
+ psql -h < host> -U < user> -d < database> -c " \copy worker_count from '<path-to-csv-file>' delimiter ',' csv header"
33
33
```
34
34
35
35
And the same for run minutes:
You can’t perform that action at this time.
0 commit comments