View Spec
Definition
Views can exist in a variety of locations within the Dash0. The type defines where the view can be used, and consequently where it would appear as a selectable option.
"resources""services""spans""logs""metrics""failed_checks""web_events""sql""profiles""gcp_cloud_run_services""gcp_cloud_run_jobs""gcp_pubsub""gcp_cloud_storage""gcp_cloud_sql_instances""aws_lambda""slos"A set of attribute keys to group the view by. This property may be missing to indicate that no configuration was historically made for this view, i.e., the view was saved before the grouping capability was added. In that case, you can assume a default grouping should be used.
The filter for the whole view.
An implicit filter the user cannot change that will always be applied to the view. It will not be shown in the UI.
A visualization configuration for the view. We only support a single visualization for now per view.
The SQL query associated with this view. Only applicable when type is "sql". When the view is loaded, this query is used to populate the editor and auto-executed.
The selected service name for this view. Only applicable when type is "profiles". When the view is loaded, this service is pre-selected in the filter bar.
Used by 1
These schemas and endpoints reference this type directly.