Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
4fb83e70
Commit
4fb83e70
authored
7 years ago
by
Simon Belak
Browse files
Options
Downloads
Patches
Plain Diff
Pull in FKed dimensions. Add number distribution
parent
1ce1b0f8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/automagic_dashboards/table/GenericTable.yaml
+40
-37
40 additions, 37 deletions
resources/automagic_dashboards/table/GenericTable.yaml
with
40 additions
and
37 deletions
resources/automagic_dashboards/table/GenericTable.yaml
+
40
−
37
View file @
4fb83e70
title
:
"
[[GenericTable]]
x-ray"
description
:
Potentially interesting metrics about [[GenericTable]] by things like time, place, and category.
metrics
:
-
Count
:
metric
:
[
"
count"
]
score
:
100
-
CountDistinctFKs
:
metric
:
[
distinct
,
[
dimension
,
FK
]]
-
Count
:
[
"
count"
]
-
CountDistinctFKs
:
[
distinct
,
[
dimension
,
FK
]]
-
Sum
:
[
sum
,
[
dimension
,
GenericNumber
]]
-
Avg
:
[
avg
,
[
dimension
,
GenericNumber
]]
dimensions
:
-
Country
:
field_type
:
Country
field_type
:
GenericTable.
Country
score
:
100
-
State
:
field_type
:
State
field_type
:
GenericTable.
State
score
:
100
-
GenericNumber
:
field_type
:
Number
score
:
5
0
field_type
:
GenericTable.
Number
score
:
8
0
-
Source
:
field_type
:
Source
field_type
:
GenericTable.
Source
score
:
100
-
GenericCategorySmall
:
field_type
:
Category
score
:
8
5
field_type
:
GenericTable.
Category
score
:
8
0
max_cardinality
:
5
-
GenericCategoryMedium
:
field_type
:
Category
field_type
:
GenericTable.
Category
score
:
75
max_cardinality
:
10
-
GenericCategoryLarge
:
field_type
:
Category
score
:
45
field_type
:
GenericTable.
Category
score
:
70
-
Singleton
:
field_type
:
Category
field_type
:
GenericTable.
Category
max_cardinality
:
1
score
:
40
-
Timestamp
:
DateTime
-
JoinDate
:
JoinTimestamp
-
CreateDate
:
CreationTimestamp
score
:
100
-
Timestamp
:
field_type
:
DateTime
score
:
60
-
JoinDate
:
field_type
:
GenericTable.JoinTimestamp
score
:
50
-
CreateDate
:
field_type
:
CreationTimestamp
score
:
80
-
FK
:
FK
-
Long
:
Longitude
-
Lat
:
Latitude
-
Long
:
GenericTable.
Longitude
-
Lat
:
GenericTable.
Latitude
filters
:
-
Last30Days
:
filter
:
[
"
time-interval"
,
[
dimension
,
CreateDate
],
-30
,
day
]
...
...
@@ -89,7 +92,7 @@ cards:
title
:
Distribution by country
metrics
:
Count
dimensions
:
Country
score
:
10
0
score
:
9
0
visualization
:
map
:
map.type
:
region
...
...
@@ -99,7 +102,7 @@ cards:
title
:
Distribution by state
metrics
:
Count
dimensions
:
State
score
:
10
0
score
:
9
0
visualization
:
map
:
map.type
:
region
...
...
@@ -125,10 +128,19 @@ cards:
dimensions
:
GenericCategorySmall
metrics
:
Count
visualization
:
row
score
:
10
0
score
:
9
0
group
:
General
order_by
:
-
Count
:
descending
-
NumberDistribution
:
title
:
Distribution of [[GenericNumber]]
dimensions
:
-
GenericNumber
:
aggregation
:
default
metrics
:
Count
visualization
:
bar
score
:
90
group
:
General
-
CountByCategoryMedium
:
title
:
Distribution by [[GenericCategoryMedium]]
dimensions
:
GenericCategoryMedium
...
...
@@ -145,33 +157,24 @@ cards:
metrics
:
Count
visualization
:
table
height
:
8
score
:
10
0
score
:
7
0
group
:
General
order_by
:
-
Count
:
descending
-
NumberDistribution
:
title
:
Distribution of [[GenericNumber]]
dimensions
:
-
GenericNumber
:
aggregation
:
default
metrics
:
Count
visualization
:
bar
score
:
100
group
:
General
# By Time
-
CountByJoinDate
:
title
:
Newly jonied over time
visualization
:
line
dimensions
:
JoinDate
metrics
:
Count
score
:
10
0
score
:
9
0
group
:
ByTime
-
CountByCreateDate
:
title
:
Newly created over time
visualization
:
line
dimensions
:
CreateDate
metrics
:
Count
score
:
10
0
score
:
9
0
group
:
ByTime
-
CountByTimestamp
:
title
:
Nuber of events over time
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment