elastic / ecs-dotnet

https://www.elastic.co/guide/en/ecs-logging/dotnet/current/setup.html
Apache License 2.0
114 stars 58 forks source link

[FEATURE] Allow writing BenchmarkDotNet results to a json file #338

Open bjornbouetsmith opened 11 months ago

bjornbouetsmith commented 11 months ago

ECS integration/library project(s): Elastic.CommonSchema.BenchmarkDotNetExporter

Is your feature request related to a problem? Please describe. Many places its not possible to write directly to elastic for security reasons, so it would be nice if it would be possible to get the exporter to simply write a json file instead of trying to push documents directory to the elastic service.

Describe the solution you'd like

Describe alternatives you've considered

None of the approaches are good - the reflection approach is the least hacky.

I am willing to make a PR for either solution, if you will allow me