Skip to content

New tracing: Support environment variable for logging hostname#6429

Merged
mgmeier merged 2 commits intomasterfrom
mkarg/bench-master
Feb 5, 2026
Merged

New tracing: Support environment variable for logging hostname#6429
mgmeier merged 2 commits intomasterfrom
mkarg/bench-master

Conversation

@mgmeier
Copy link
Contributor

@mgmeier mgmeier commented Feb 5, 2026

This mini-PR adds support to new tracing (trace-dispatcher) for an environment variable that can provide a custom hostname to appear in trace / log messages:

Setting the TRACE_DISPATCHER_LOGGING_HOSTNAME environment variable will override the system hostname in trace messages. This is equivalent to the legacy tracing system's envvar CARDANO_NODE_LOGGING_HOSTNAME.

As trace-dispatcher is and should be agnostic to its host application, the envvar's name had to change slightly.

Furthermore, in the performance workbench, the PR sets those envvar to contain the node name, so that multiple nodes running on the same host can be distinguished from within a single trace message (convenience & consistency improvment).

@mgmeier mgmeier requested review from a team as code owners February 5, 2026 14:31
@mgmeier mgmeier added this pull request to the merge queue Feb 5, 2026
Merged via the queue into master with commit a03e707 Feb 5, 2026
25 checks passed
@mgmeier mgmeier deleted the mkarg/bench-master branch February 5, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants