yugabyte/yugabyte-db

[DocDB] Track memory for traces when enable_tracing is turned on

Open

#19,511 opened on Oct 12, 2023

View on GitHub
 (0 comments) (0 reactions) (1 assignee)C (1,003 forks)batch import
area/docdbgood first issuekind/enhancementpriority/medium

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (Avg merge 17d 21h) (92 merged PRs in 30d)

Description

Jira Link: DB-8306

Description

When tracing is enabled by turning on the gflag - enable_tracing, significant amount of memory is used up by traces (Proportional to the number of active connections/RPCs). This memory is untracked and can appear as a leak. Its better to track the memory corresponding to the traces.

Issue Type

kind/enhancement

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Contributor guide