Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

Added command line support for samples project for convenient testing#54

Merged
SergeyKanzhelev merged 10 commits intocensus-instrumentation:developfrom
simonz130:develop
Oct 23, 2018
Merged

Added command line support for samples project for convenient testing#54
SergeyKanzhelev merged 10 commits intocensus-instrumentation:developfrom
simonz130:develop

Conversation

@simonz130
Copy link
Copy Markdown
Contributor

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.

Simon Zeltser added 10 commits September 21, 2018 17:55
- Current implementation can only store string values
- Added the exporter and trace handler only
- The exporter relies on newest Trace API from Stackdriver.
now construction of Span resource is taken care of by SpanName class that
is part of Stackdriver Trace V2 API.
…ing)

- Fixed csproj, so it produces both .NET Core and .NET versions. It also means signing the assembly using the same mechanism as other assemblies in the solution
- Minor fixes to proto<->opencensus translation methods
This will make it easier to script testing multiple exporters as
well as prevent commenting and uncommenting 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.
@SergeyKanzhelev SergeyKanzhelev merged commit 44a038c into census-instrumentation:develop Oct 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants