-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: emit max memory usage on the gateway node
Previously, the max memory usage execution stat was only emitted by the last outbox to drain metadata in a flow. However, there are cases where no outbox is present in the flow (e.g. single-node queries). This commit adds a Gateway field to the FlowCtx which specifies whether this flow is running on the gateway node or not and changes outboxes to only emit this stat if they are not run on the gateway node. Gateway node max memory usage is now emitted in the trace during flow.Cleanup. This commit also adds a NodeID field to the ComponentID in ComponentStats used to uniquely describe a flow-level ComponentStat. The FlowID was used previously, which is not unique across nodes. Release note: None
- Loading branch information
Showing
13 changed files
with
172 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.