Added command line support for the Samples project.
This will make it easier to script testing multiple exporters as
well as prevent commenting and un-commenting different test procedures
for different exporters. Finally, it will making test code cleaner for
showing samples embedded in documentation website.
In order to test the exporter, you can either execute it from the command line:
samples.dll prometheus
or to debug using Visual Studio:
Debug => Sample Properties => Debug.
Now create a profile for your testing execution and fill application arguments
if needed.
Now choose your profile in running configuration of Visual Studio.
Running settings are local to the machine and are ignored in PRs.
Added command line support for the Samples project. This will make it easier to script testing multiple exporters as well as prevent commenting and un-commenting different test procedures for different exporters. Finally, it will making test code cleaner for showing samples embedded in documentation website.
In order to test the exporter, you can either execute it from the command line:
or to debug using Visual Studio: Debug => Sample Properties => Debug. Now create a profile for your testing execution and fill application arguments if needed. Now choose your profile in running configuration of Visual Studio. Running settings are local to the machine and are ignored in PRs.