-
Notifications
You must be signed in to change notification settings - Fork 189
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
Improve/insights samples #2827
Improve/insights samples #2827
Conversation
…es it as the classic version of appinsights will be discontinued in Feb 2024
…es it as the classic version of appinsights will be discontinued in Feb 2024
a269f06
to
315e21a
Compare
We also have tests for each sample (to ensure that the samples are correct). The tests are done using HTTP recordings and the results are checked in. These samples have two tests associated with them: In order to re-record those tests, you need to follow the instructions here. Mainly you need to set up the You don't need to run every integration test, if you just run the one sample test:
This should produce 2 new files (named the same as before but with different content) containing the HTTP recordings of successfully deploying that component + workspace. It's a bit annoying but it ensures that our samples always work (because they're all tested). If setting that up is super odious let us know and we can come up with something to help you possibly. |
1314d54
to
3a44fea
Compare
@matthchr, tests associated with samples have been added. PTAL. |
/ok-to-test: shar=3a44fea |
Codecov Report
@@ Coverage Diff @@
## main #2827 +/- ##
========================================
Coverage 52.59% 52.59%
========================================
Files 1222 1228 +6
Lines 561814 562022 +208
========================================
+ Hits 295461 295577 +116
- Misses 217981 218077 +96
+ Partials 48372 48368 -4 see 26 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
/ok-to-test sha=3a44fea |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Thanks for this contribution @mehighlow! |
/ok-to-test sha=3a44fea |
1 similar comment
/ok-to-test sha=3a44fea |
/ok-to-test sha=507869a |
* adds workspace object insights component refers to * adds workspaceResourceReference as workspace-based appinsights requires it as the classic version of appinsights will be discontinued in Feb 2024 * adds workspaceResourceReference as workspace-based appinsights requires it as the classic version of appinsights will be discontinued in Feb 2024 * adds insights tests --------- Co-authored-by: Mykhailo Zahlada <myzahlad@microsoft.com>
Refers #2821 and #2822
What this PR does / why we need it:
This PR improves insights sample
Special notes for your reviewer:
None