in TeamCity.ServiceMessages/Write/Special/Impl/Writer/TeamCityBuildStatusWriter.cs [41:47]
public void WriteBuildStatistics(string statisticsKey, string statisticsValue)
{
if (statisticsKey == null) throw new ArgumentNullException(nameof(statisticsKey));
if (statisticsValue == null) throw new ArgumentNullException(nameof(statisticsValue));
//##teamcity[buildStatisticValue key='<valueTypeKey>' value='<value>']
PostMessage(new ServiceMessage("buildStatisticValue") {{"key", statisticsKey}, {"value", statisticsValue}});
}