Skip to content

Commit

Permalink
feat: add collector version to meta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Jul 25, 2024
1 parent 3f4dccf commit 02313ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Writers/JsonDataWriter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
Expand Down Expand Up @@ -95,7 +96,8 @@ internal override async Task FlushWriter()
Count = Count,
CollectionMethods = (long)_context.ResolvedCollectionMethods,
DataType = DataType,
Version = DataVersion
Version = DataVersion,
CollectorVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString()
};

await _jsonWriter.FlushAsync();
Expand Down

0 comments on commit 02313ad

Please sign in to comment.