Skip to content

Commit

Permalink
feat: BI-5859 add report_id & report_page to reporting (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantAnxiety authored Nov 27, 2024
1 parent aa8ebfd commit 09806b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dl_api_commons/dl_api_commons/reporting/profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ def flush_query_report(self, query_id: str) -> None:
dash_tab_id=x_dl_context.get(DLContextKey.DASH_TAB_ID),
chart_id=x_dl_context.get(DLContextKey.CHART_ID),
chart_kind=x_dl_context.get(DLContextKey.CHART_KIND),
report_id=x_dl_context.get(DLContextKey.REPORT_ID),
report_page=x_dl_context.get(DLContextKey.REPORT_PAGE),
response_status_code=response_status_code,
workbook_id=start_record.workbook_id,
**start_record.conn_reporting_data,
Expand Down
2 changes: 2 additions & 0 deletions lib/dl_constants/dl_constants/api_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class DLContextKey(str, enum.Enum):
CHART_ID = "chartId"
CHART_KIND = "chartKind"
DASH_TAB_ID = "dashTabId"
REPORT_ID = "reportId"
REPORT_PAGE = "reportPage"


class DLHeadersCommon(DLHeaders):
Expand Down

0 comments on commit 09806b0

Please sign in to comment.