Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add snippet setup for SPO extension solution and update README #1358

Merged
merged 8 commits into from
Sep 4, 2020

Conversation

xiao-lix
Copy link
Contributor

@xiao-lix xiao-lix commented Aug 31, 2020

This PR includes following changes:

  1. Move AppInsightsExtensionSoluntionSample to AppInsightsExtensionSoluntionSample-NPM folder, since this sample is used NPM set up to add AppInsights on SPFx extension solution.
  2. Add a second sample AppInsightsExtensionSoluntionSample-Snippet that adds AppInsights on SPFx extension through snippet set up. NOTE: this snippet is specific for SPO usage.
  3. Update README to add snippet set up for SPO.

@xiao-lix xiao-lix requested a review from a team as a code owner August 31, 2020 23:06
SPO/README.md Show resolved Hide resolved
SPO/README.md Show resolved Hide resolved
SPO/README.md Outdated Show resolved Hide resolved
SPO/README.md Outdated Show resolved Hide resolved
Co-authored-by: Matt McCleary <43887470+DawgFan@users.noreply.github.com>
@mattmccleary
Copy link
Member

The other thought I have -- it would be awesome if we had telemetry on who was using this SPFx approach. It would help a lot with a business justification of this work.

> 1. Add an extra `\` for all `\*` cases to excape the second `\`.
> 2. Use `"https://az416426.vo.msecnd.net/scripts/b/ai.2.gbl.min.js"` as the SDK URL source.
> You can also refer to [Snippet configuration options](https://github.com/Microsoft/ApplicationInsights-JS#snippet-configuration-options) page to add optional configurations for the snippet below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hi @MSNev I updated to add above Note, does it clear enough to cover your suggestions? thanks~

@xiao-lix xiao-lix merged commit 9440ebb into master Sep 4, 2020
@xiao-lix xiao-lix deleted the lxiao/update-spo branch September 4, 2020 19:34
@MSNev MSNev added this to the 2.5.9 milestone Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants