Hex Semantic Project Discovered Resources
Overview
The Hex Semantic Project integration discovers a Hex semantic project from uploaded dbt MetricFlow YAML files, together with the dbt semantic layer resources each Hex resource corresponds to. It discovers the following resources:
Hex workspace (
hex_workspace)Hex semantic project (
hex_semantic_project)Hex semantic model (
hex_semantic_model)Hex dimension (
hex_dimension)Hex measure (
hex_measure)dbt semantic model (
dbt_semantic_model)dbt dimension (
dbt_dimension)dbt metric (
dbt_metric)
Hex resources use the URI prefix hex. The dbt resources use the same URIs as the dbt integration, built from the project name in dbt_project.yml, so they match the resources discovered by a dbt source for the same project.
Resource hierarchy
Hex Workspace
└── Hex Semantic Project
└── Hex Semantic Model
├── Hex Dimension
└── Hex MeasureHex workspace (hex_workspace)
A single Hex workspace, observed for the workspace configured in the integration settings.
name
string
The workspace identifier from configuration.
type
string
Always hex_workspace.
subtype
string
Always hex_workspace.
URI pattern
Example: hex.workspace.5b1f9a2c-7d3e-4c1a-9e8b-2f6d0c4a7e11
Hex semantic project (hex_semantic_project)
A single Hex semantic project, observed for the semantic project configured in the integration settings.
name
string
The semantic project name from configuration.
type
string
Always hex_semantic_project.
subtype
string
Always hex_semantic_project.
semantic_project_type
string
Type of semantic project. Currently always dbt_metricflow.
dbt_project
string
The dbt project name, read from the name field in dbt_project.yml.
URI pattern
Example: hex.5b1f9a2c-7d3e-4c1a-9e8b-2f6d0c4a7e11.semantic_project.8d2e4f60-1a3b-4c5d-9e7f-0a1b2c3d4e5f
Hex semantic model (hex_semantic_model)
A Hex semantic model, discovered from the semantic_models section of the dbt MetricFlow YAML files. Only semantic models that have a name, a model, and config.meta.hex configuration are processed.
name
string
The semantic model name.
type
string
Always hex_semantic_model.
subtype
string
Always hex_semantic_model.
description
string
Model description from YAML.
external_links
list
An Open in Hex link to the semantic model in the Hex semantic layer.
URI pattern
Example: hex.5b1f9a2c-7d3e-4c1a-9e8b-2f6d0c4a7e11.semantic_project.8d2e4f60-1a3b-4c5d-9e7f-0a1b2c3d4e5f.semantic_model.orders
Hex dimension (hex_dimension)
A dimension of a Hex semantic model. Dimensions are discovered from both semantic model dimensions and entities:
Regular dimensions are discovered from the
dimensionssection of semantic models. These have corresponding dbt dimensions and field-level lineage.Entity-based dimensions are discovered from the
entitiessection of semantic models. Only entities with typesprimary,unique,natural, orforeignare processed. These do NOT have corresponding dbt dimensions or field-level lineage.
name
string
The dimension (or entity) name.
type
string
Always hex_dimension.
subtype
string
Always hex_dimension.
description
string
Dimension description.
URI pattern
Example: hex.5b1f9a2c-7d3e-4c1a-9e8b-2f6d0c4a7e11.semantic_project.8d2e4f60-1a3b-4c5d-9e7f-0a1b2c3d4e5f.semantic_model.orders.dimension.order_status
Hex measure (hex_measure)
A measure of a Hex semantic model. One Hex measure is observed for each dbt metric that Euno can associate with a single semantic model:
Measures with
create_metric: truein a semantic model.Standalone
simpleandcumulativemetrics that reference a measure defined in a semantic model.Standalone
ratioandderivedmetrics whose referenced metrics all resolve to the same semantic model.
name
string
The metric (or measure) name.
type
string
Always hex_measure.
subtype
string
Always hex_measure.
description
string
Measure description.
URI pattern
Example: hex.5b1f9a2c-7d3e-4c1a-9e8b-2f6d0c4a7e11.semantic_project.8d2e4f60-1a3b-4c5d-9e7f-0a1b2c3d4e5f.semantic_model.orders.measure.total_revenue
dbt semantic model (dbt_semantic_model)
The dbt semantic model that corresponds to each valid Hex semantic model, observed to maintain lineage. The Hex Semantic Project integration sets only the properties below; other properties come from the dbt integration when the same dbt project is integrated.
name
string
The semantic model name.
type
string
Always dbt_semantic_model.
subtype
string
Always dbt_semantic_model.
URI pattern
Example: dbt.jaffle_shop.semantic_model.jaffle_shop.orders
dbt dimension (dbt_dimension)
The dbt dimension that corresponds to each regular dimension (from the dimensions section) in a valid semantic model. Entity-based dimensions do NOT have corresponding dbt dimension resources. The Hex Semantic Project integration sets only the properties below.
name
string
The dimension name.
type
string
Always dbt_dimension.
subtype
string
Always dbt_dimension.
URI pattern
Example: dbt.jaffle_shop.semantic_model.jaffle_shop.orders.dimension.order_status
dbt metric (dbt_metric)
The dbt metric that corresponds to each Hex measure: measures with create_metric: true and the standalone metrics listed under Hex measure. The Hex Semantic Project integration sets only the properties below.
name
string
The metric name.
type
string
Always dbt_metric.
subtype
string
Always dbt_metric.
URI pattern
Example: metric.jaffle_shop.total_revenue
Relationships
Each row is one relationship edge, written in the canonical direction for its family. Use the predicate in each heading to search for these relationships in EQL.
Containment (has parent / has child)
hex_semantic_project
has parent
hex_workspace
hex_semantic_model
has parent
hex_semantic_project
hex_dimension
has parent
hex_semantic_model
hex_measure
has parent
hex_semantic_model
Lineage (has upstream / has downstream)
hex_semantic_model
has upstream
dbt_semantic_model
The dbt semantic model with the same name.
Field-level lineage (has upstream_fields / has downstream_fields)
hex_dimension
has upstream_fields
dbt_dimension
Regular dimensions only.
hex_measure
has upstream_fields
dbt_metric
The dbt metric with the same name.
hex_measure
has upstream_fields
hex_measure
For ratio and derived metrics: the Hex measures of the metrics they reference.
Usage in EQL
Known limitations
Metrics of other types (for example
conversionmetrics), metrics whose measure is not defined in any processed semantic model, and metrics that reference metrics from more than one semantic model are not observed.Semantic models without
config.meta.hexconfiguration are skipped.
Last updated