Skip to content

Commit f4a14be

Browse files
committed
Enhance support data collection tool
1 parent 9244f79 commit f4a14be

File tree

3 files changed

+492
-17
lines changed

3 files changed

+492
-17
lines changed

tasks/bundle.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,20 @@ def collect(
2626
include_queries: bool = False,
2727
project: str | None = None,
2828
log_lines: int | None = None,
29+
benchmark: bool = True,
30+
metrics_interval: int = 30,
2931
) -> None:
3032
"""Collect all logs and create a support archive."""
3133
if project:
3234
os.environ["INFRAHUB_BUILD_NAME"] = project
3335

3436
print("Discovering InfraHub projects...")
3537
collect_support_data(
36-
context=context, database=database, namespace=NAMESPACE, include_queries=include_queries, log_lines=log_lines
38+
context=context,
39+
database=database,
40+
namespace=NAMESPACE,
41+
include_queries=include_queries,
42+
log_lines=log_lines,
43+
benchmark=benchmark,
44+
metrics_interval=metrics_interval,
3745
)

0 commit comments

Comments
 (0)