Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

[MCC-186539] .Net zipkin reporting calling service correctly #61

Merged
merged 9 commits into from
Sep 29, 2015

Conversation

bvillanueva-mdsol
Copy link
Contributor

@kenyamat @BPONTES @jcarres-mdsol
This PR will correct the service name logged when doing a client trace.
Client trace will accept a URI as parameter, and gets the hostname as service name when logging it to zipkin.
Added and adjusted some unit tests too.

Please review and merge if ok.

Thanks,
Brent

@@ -82,6 +83,7 @@
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SpanTracerTests.cs" />
<Compile Include="ZipkinConfigTests.cs" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good 🐐

@@ -32,12 +29,25 @@ public string SpanProcessorBatchSize

public string DontSampleListCsv
{
get { return ConfigurationManager.AppSettings["mAuthWhitelist"];}
get { return ConfigurationManager.AppSettings["uriBlacklist"];} // TODO: refactor this later if it is being used
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change OK?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kenyamat Modified key name and documentation here --> 18b2ddd
Please check if change is ok.
Thanks

@kenyamat
Copy link
Contributor

@bvillanueva-mdsol LGTM, could you bump version up for nuget and add your name into contributors?

@bvillanueva-mdsol
Copy link
Contributor Author

@kenyamat Thanks for reviewing. I bumbed version here --> de623f8
Thanks.

kenyamat added a commit that referenced this pull request Sep 29, 2015
[MCC-186539] .Net zipkin reporting calling service correctly
@kenyamat kenyamat merged commit 08237d0 into develop Sep 29, 2015
@lschreck-mdsol lschreck-mdsol deleted the feature/client-trace-correct-name branch January 18, 2016 07:58
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.

3 participants