Pass additional CSV metadata to AutomatedPerfTest

When running an AutomatedPerfTest through `RunUAT.bat RunUnreal`, I could not find a way to pass custom csv metadata. I can pass a `-csvMetadata=…` string to the `-Args` parameter, but that gets effectively ignored:

  • AutomatedPerfTest adds its own `-csvMetadata` string to ClientRole.CommandLineParams (AutomatedPerfTestNode.ConfigureCSVProfiler)
  • Gauntlet adds the contents of `-Args` to SessionRole.CommandLine.(Gauntlet.UnrealTestNode.PrepareUnrealApp). SessionRole.CommandLine has a setter which calls CommandLineParams.AddRawCommandLine which in turn calls AddUnique. This method has some logic to merge parameters specified multiple times, but only for `-ExecCmds`. `csvMetadata` is already present in the map so the one passed on the cmd line is discarded.

Is there another way to pass additional CSV metadata (and if not, would it be possible to fix this path or add one)?

Thanks for let us know about this oversight.

Indeed CSV metadata does not seem be overridable by a user currently.

We are looking to a solution to override this configuration. The simplest way would be to have the AutomatedPerTest config node to support a -csvMetadata input at the command line.