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

More clean up#38

Merged
SergeyKanzhelev merged 6 commits intodevelopfrom
sergkanz/fewMoreWarnings
Aug 30, 2018
Merged

More clean up#38
SergeyKanzhelev merged 6 commits intodevelopfrom
sergkanz/fewMoreWarnings

Conversation

@SergeyKanzhelev
Copy link
Copy Markdown
Member

  1. Improved projects metadata
  2. Added samples project
  3. Readme clean up

and more warnings fix... still ongoing

Comment thread README.md Outdated

1. Create [Application Insights][ai-get-started] resource.
1. Set instrumentation key via configuration or global settings
(`TelemetryConfiguration.Active`).
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please don't recommend using TelemetryConfiguration.Active. OC apps are likely .net core apps with dependency injection and using Active causes so much pain

Comment thread README.md Outdated
var exporter = new ApplicationInsightsExporter(
Tracing.ExportComponent,
Stats.ViewManager,
TelemetryConfiguration.Active); // either global or local config can be used
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

same concern

Comment thread README.md Outdated
[ai-get-started]: https://docs.microsoft.com/azure/application-insights
[semver]: http://semver.org/
[ai-sample]: https://github.com/census-instrumentation/opencensus-csharp/blob/sergkanz/samples/src/Samples/TestApplicationInsights.cs
[zipkin-sample]: https://github.com/census-instrumentation/opencensus-csharp/blob/sergkanz/samples/src/Samples/TestZipkin.cs No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

link to the branch: 'sergkanz/samples/src/Samples/TestZipkin.cs'

this.exportComponent = exportComponent;
this.viewManager = viewManager;
this.telemetryConfiguration = telemetryConfiguration;
this.telemetryConfiguration = telemetryConfiguration ?? TelemetryConfiguration.Active;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

please don't use Active

@SergeyKanzhelev SergeyKanzhelev merged commit c93b396 into develop Aug 30, 2018
@SergeyKanzhelev SergeyKanzhelev deleted the sergkanz/fewMoreWarnings branch August 30, 2018 18:54
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