Skip to content

Commit fe62343

Browse files
authored
Merge pull request #138 from holaplex/mpw/analytics-chart-update
add schemas to helm chart, update hub-analytics env vars secrets
2 parents 626f76a + 35497ca commit fe62343

File tree

15 files changed

+375
-4
lines changed

15 files changed

+375
-4
lines changed

charts/hub-analytics/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type: application
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
2121

22-
version: 0.2.0
22+
version: 0.2.1
2323

2424
# This is the version number of the application being deployed. This version number should be
2525
# incremented each time you make changes to the application. Versions are not expected to
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
cubes:
2+
- name: collections
3+
sql_table: public.collections
4+
data_source: default
5+
6+
joins:
7+
- name: projects
8+
sql: "{CUBE}.project_id = {projects}.id"
9+
relationship: many_to_one
10+
11+
dimensions:
12+
- name: id
13+
sql: id
14+
type: string
15+
primary_key: true
16+
17+
- name: project_id
18+
sql: project_id
19+
type: string
20+
21+
- name: blockchain
22+
sql: blockchain
23+
type: string
24+
25+
- name: timestamp
26+
sql: timestamp
27+
type: time
28+
29+
measures:
30+
- name: count
31+
type: count
32+
33+
pre_aggregations:
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
cubes:
2+
- name: credits
3+
sql_table: public.credits
4+
data_source: default
5+
6+
joins:
7+
- name: organizations
8+
sql: "{CUBE}.organization_id = {organizations}.id"
9+
relationship: many_to_one
10+
11+
dimensions:
12+
- name: id
13+
sql: id
14+
type: string
15+
primary_key: true
16+
17+
- name: organization_id
18+
sql: organization_id
19+
type: string
20+
21+
- name: timestamp
22+
sql: timestamp
23+
type: time
24+
25+
measures:
26+
- name: count
27+
type: count
28+
29+
- name: amount
30+
sql: amount
31+
type: sum
32+
33+
pre_aggregations:
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
cubes:
2+
- name: customers
3+
sql_table: public.customers
4+
data_source: default
5+
6+
joins:
7+
- name: projects
8+
sql: "{CUBE}.project_id = {projects}.id"
9+
relationship: many_to_one
10+
11+
dimensions:
12+
- name: id
13+
sql: id
14+
type: string
15+
primary_key: true
16+
17+
- name: project_id
18+
sql: project_id
19+
type: string
20+
21+
- name: timestamp
22+
sql: timestamp
23+
type: time
24+
25+
measures:
26+
- name: count
27+
type: count
28+
29+
pre_aggregations:
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
cubes:
2+
- name: mints
3+
sql_table: public.mints
4+
data_source: default
5+
6+
joins:
7+
- name: collections
8+
sql: "{CUBE}.collection_id = {collections}.id"
9+
relationship: many_to_one
10+
11+
- name: projects
12+
sql: "{CUBE}.project_id = {projects}.id"
13+
relationship: many_to_one
14+
15+
dimensions:
16+
- name: id
17+
sql: id
18+
type: string
19+
primary_key: true
20+
21+
- name: collection_id
22+
sql: collection_id
23+
type: string
24+
25+
- name: project_id
26+
sql: project_id
27+
type: string
28+
29+
- name: timestamp
30+
sql: timestamp
31+
type: time
32+
33+
measures:
34+
- name: count
35+
type: count
36+
37+
pre_aggregations:
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
cubes:
2+
- name: organizations
3+
sql_table: public.organizations
4+
data_source: default
5+
6+
joins: []
7+
8+
dimensions:
9+
- name: id
10+
sql: id
11+
type: string
12+
primary_key: true
13+
14+
- name: name
15+
sql: name
16+
type: string
17+
18+
measures:
19+
- name: count
20+
type: count
21+
22+
pre_aggregations:
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
cubes:
2+
- name: projects
3+
sql_table: public.projects
4+
data_source: default
5+
6+
joins:
7+
- name: organizations
8+
sql: "{CUBE}.organization_id = {organizations}.id"
9+
relationship: many_to_one
10+
11+
dimensions:
12+
- name: id
13+
sql: id
14+
type: string
15+
primary_key: true
16+
17+
- name: organization_id
18+
sql: organization_id
19+
type: string
20+
21+
- name: name
22+
sql: name
23+
type: string
24+
25+
- name: timestamp
26+
sql: timestamp
27+
type: time
28+
29+
measures:
30+
- name: count
31+
type: count
32+
33+
pre_aggregations:
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
cubes:
2+
- name: transfers
3+
sql_table: public.transfers
4+
data_source: default
5+
6+
joins:
7+
- name: collections
8+
sql: "{CUBE}.collection_id = {collections}.id"
9+
relationship: many_to_one
10+
11+
- name: projects
12+
sql: "{CUBE}.project_id = {projects}.id"
13+
relationship: many_to_one
14+
15+
dimensions:
16+
- name: id
17+
sql: id
18+
type: string
19+
primary_key: true
20+
21+
- name: collection_id
22+
sql: collection_id
23+
type: string
24+
25+
- name: project_id
26+
sql: project_id
27+
type: string
28+
29+
- name: timestamp
30+
sql: timestamp
31+
type: time
32+
33+
measures:
34+
- name: count
35+
type: count
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
cubes:
2+
- name: wallets
3+
sql_table: public.wallets
4+
data_source: default
5+
6+
joins:
7+
- name: projects
8+
sql: "{CUBE}.project_id = {projects}.id"
9+
relationship: many_to_one
10+
11+
- name: customers
12+
sql: "{CUBE}.customer_id = {customers}.id"
13+
relationship: many_to_one
14+
15+
dimensions:
16+
- name: id
17+
sql: id
18+
type: string
19+
primary_key: true
20+
21+
- name: project_id
22+
sql: project_id
23+
type: string
24+
25+
- name: customer_id
26+
sql: customer_id
27+
type: string
28+
29+
- name: blockchain
30+
sql: blockchain
31+
type: string
32+
33+
- name: timestamp
34+
sql: timestamp
35+
type: time
36+
37+
measures:
38+
- name: count
39+
type: count
40+
41+
pre_aggregations:
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
cubes:
2+
- name: webhooks
3+
sql_table: public.webhooks
4+
data_source: default
5+
6+
joins:
7+
- name: organizations
8+
sql: "{CUBE}.organization_id = {organizations}.id"
9+
relationship: many_to_one
10+
11+
- name: projects
12+
sql: "{CUBE}.project_id = {projects}.id"
13+
relationship: many_to_one
14+
15+
dimensions:
16+
- name: id
17+
sql: id
18+
type: string
19+
primary_key: true
20+
21+
- name: organization_id
22+
sql: organization_id
23+
type: string
24+
25+
- name: project_id
26+
sql: project_id
27+
type: string
28+
29+
- name: timestamp
30+
sql: timestamp
31+
type: time
32+
33+
measures:
34+
- name: count
35+
type: count
36+
37+
pre_aggregations:

0 commit comments

Comments
 (0)