Skip to content

Commit

Permalink
tokio console
Browse files Browse the repository at this point in the history
  • Loading branch information
ibalajiarun committed Oct 31, 2023
1 parent 9f5b024 commit bdb076e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/src/config/logger_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl Default for LoggerConfig {
// This is the default port used by tokio-console.
// Setting this to None will disable tokio-console
// even if the "tokio-console" feature is enabled.
tokio_console_port: Some(8090),
tokio_console_port: None,
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions docker/builder/build-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ set -e
PROFILE=${PROFILE:-release}
FEATURES=${FEATURES:-""}

FEATURES="tokio-console $FEATURES"

echo "Building aptos-node"
echo "PROFILE: $PROFILE"
echo "FEATURES: $FEATURES"
Expand Down
2 changes: 1 addition & 1 deletion terraform/helm/aptos-node/templates/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ spec:
name: api
- containerPort: 9101
name: metrics
- containerPort: 8090
- containerPort: 6669
name: tokio-console
securityContext:
{{- if $.Values.enablePrivilegedMode }}
Expand Down

0 comments on commit bdb076e

Please sign in to comment.