Skip to content

Commit

Permalink
feat(ingest): looker - improve defaults for usage extraction (#5893)
Browse files Browse the repository at this point in the history
Co-authored-by: Ravindra Lanka <[email protected]>
  • Loading branch information
shirshanka and rslanka authored Sep 9, 2022
1 parent 056add1 commit 5074035
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ class LookerDashboardSourceConfig(LookerAPIConfig, LookerCommonConfig):
)
extract_usage_history: bool = Field(
False,
description="Experimental (Subject to breaking change) -- Whether to ingest usage statistics for dashboards. Setting this to True will query looker system activity explores to fetch historical dashboard usage.",
description="Whether to ingest usage statistics for dashboards. Setting this to True will query looker system activity explores to fetch historical dashboard usage.",
)
# TODO - stateful ingestion to autodetect usage history interval
extract_usage_history_for_interval: str = Field(
"1 day ago",
description="Experimental (Subject to breaking change) -- Used only if extract_usage_history is set to True. Interval to extract looker dashboard usage history for . https://docs.looker.com/reference/filter-expressions#date_and_time",
"30 days",
description="Used only if extract_usage_history is set to True. Interval to extract looker dashboard usage history for. See https://docs.looker.com/reference/filter-expressions#date_and_time.",
)

@validator("external_base_url", pre=True, always=True)
Expand Down

0 comments on commit 5074035

Please sign in to comment.