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

Remove AddBuiltInMeters() #518

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Remove AddBuiltInMeters() #518

merged 1 commit into from
Apr 2, 2024

Conversation

martincostello
Copy link
Member

@martincostello martincostello commented Mar 14, 2024

Summary

Update the documentation to use built-in OpenTelemetry instrumentation.

See dotnet/aspire#2900.


Internal previews

📄 File 🔗 Preview link
docs/fundamentals/service-defaults.md .NET Aspire service defaults

Update the documentation to use built-in OpenTelemetry instrumentation.
@dotnet-bot dotnet-bot added the fundamentals Content related to fundamentals. label Mar 14, 2024
@IEvangelist
Copy link
Member

This looks great, are there any other places where we need to update this? I haven't checked, but does this now match the preview-4 Extensions.cs file that the template for the Service Defaults project generates? If not, we'd probably have to wait for this, if it's part of preview-5.

@martincostello
Copy link
Member Author

I think it does, as I made the original changes (see PR linked to linked PR) back in January.

@IEvangelist
Copy link
Member

Here's what I see for the preview-4 tag, which differs from this PR:

/~https://github.com/dotnet/aspire/blob/v8.0.0-preview.4.24156.9/src/Aspire.ProjectTemplates/templates/aspire-servicedefaults/Extensions.cs

Would you be willing to update it to match this?

@martincostello
Copy link
Member Author

Which bit are you referring to, is it the Process bit? From working on the linked PR I saw that that was removed yesterday.

@IEvangelist
Copy link
Member

IEvangelist commented Mar 15, 2024

Yes, in part the Process bits, but also some other code as well. Sorry for not being clearer, here's the diff (Left side preview-4 source and right is yours):

https://www.diffchecker.com/hdLIT9r1/

I'm saying that we should update yours to match what is currently in preview-4. Does that make sense?

@martincostello
Copy link
Member Author

Maybe we just leave it until p5 once my other PR is merged? Otherwise it'll just need changing again.

@IEvangelist IEvangelist added the preview-5 Used to track doc updates for preview 5 of .NET Aspire label Apr 2, 2024
@IEvangelist IEvangelist changed the base branch from main to preview-5 April 2, 2024 13:09
@IEvangelist IEvangelist merged commit 5374dbd into dotnet:preview-5 Apr 2, 2024
9 checks passed
@martincostello martincostello deleted the Remove-AddBuiltInMeters branch April 2, 2024 14:58
IEvangelist pushed a commit that referenced this pull request Apr 3, 2024
Update the documentation to use built-in OpenTelemetry instrumentation.
IEvangelist added a commit that referenced this pull request Apr 9, 2024
* Add diagnostics overview page (#543)

* Fix #521

* Try fixing xref

* Add placeholder for preview-5 what's new (#558)

* Add details about hosting components. (#559)

* Add details about hosting components. Fixes #538

* Clean up description

* Feedback

* Fix warnings

* Fix text, packages over components for hosting

* Add new article to fix #551 (#562)

* Add new article to fix #551

* fix tabs and correct text

* Change from plaintext to output

* Change alert

* Update preview-5.md

* Update preview-5.md

* Add healthz details (#563)

* Add healthz details

* Touch date

* Upgrade node-version

* Sync with main

* Fix MD lint issues

* Added a section about custom service defaults (#560)

* Update SD content, fixes #549

* Highlight dependency and add link/alert

* Remove AddBuiltInMeters() (#518)

Update the documentation to use built-in OpenTelemetry instrumentation.

* Try sync with source (#570)

* Update preview-5.md

* Added a few bits about templates (#572)

* Added a few bits about templates

* Fix more MD lint issues

* Initial bits for hosting changes. (#561)

* Initial bits for hosting changes. Fixes #535

* Clean up list and text

* Updated, let's go

* Deployment scenarios with k8s (#583)

* Try sync with source (#570)

* Initial bits for hosting changes. (#561)

* Initial bits for hosting changes. Fixes #535

* Clean up list and text

* Updated, let's go

* Add k8s content

* Apply suggestions from code review

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>

* Apply suggestions from code review

---------

Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>

* Add seq component (#584)

* Add seq component

* fixes

* link fix

* Apply suggestions from code review

Co-authored-by: David Pine <david.pine@microsoft.com>

---------

Co-authored-by: David Pine <david.pine@microsoft.com>

* Nats component (#586)

* Add NATS component

* lint fixes

* fixes

* fix links

* fix toc

* Add Azure Event Hubs component + (#587)

* Many fixes

* touch dates.

* Add to TOC

* Remove from TOC

* Update component section of preview5.

* Correct package as Azure AI hosting

* Add missing PostgreSQL hosting package

* Clean up custom impl of service defaults

* Initial content for preview 5. (#588)

* Initial effort for local provisioning (#589)

* Initial effort for local provisioning

* TOC

* Images and lightbow

* Fix rendering issue

* Tweak lightbox

* Reposition article in TOC

* Update docs/deployment/azure/local-provisioning.md

Co-authored-by: David Fowler <davidfowl@gmail.com>

* Remove zones

* A bit of clean up for preview-5

* Move NATs

* A few fixes

* Fix image

---------

Co-authored-by: David Fowler <davidfowl@gmail.com>

* added tooling features

* A few bits of cleanup

* Added note about upgrade assistant tooling

* More P5 updates across Azure, AppModel and manifest. (#596)

* More P5 updates across Azure, AppModel and manifest.

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: David Pine <david.pine.7@gmail.com>

* Another major edit pass, with several more to go

* Add link

* A few more bits of cleanup

* Add link to templates

* Fix xUnit template description

* Another edit pass

* Add link to upgrade with assitant

* Remove .NET Core naming

* For more info

* Update docs/fundamentals/setup-tooling.md

Co-authored-by: Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com>

* Fixed headings affecting TOC

* Remove IDE protocol ending

* Making dashboard auth be explicit on the config auth name

* Dashboard section update

* Dash

* Update

* Update

* Update

* Apply suggestions from code review

* Update preview-5.md

* Fix docker command

* Add with external endpoint API

* Fix non-nuget link warnings, and other CI issues

* Fix last absolute link warning

* Add ASPIRE_ALLOW_UNSECURED_TRANSPORT details

* Minor tweaks

* Typo

* Apply suggestions from code review

Co-authored-by: David Fowler <davidfowl@gmail.com>

* Touch

* Add AWS bits

* Correct link

---------

Co-authored-by: David Fowler <davidfowl@gmail.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
Co-authored-by: kvenkatrajan <102772054+kvenkatrajan@users.noreply.github.com>
Co-authored-by: Tom Dykstra <tdykstra@microsoft.com>
Co-authored-by: alexwolfmsft <93200798+alexwolfmsft@users.noreply.github.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
Co-authored-by: Mitch Denny <midenn@microsoft.com>
Co-authored-by: bradygaster <bradyg@microsoft.com>
Co-authored-by: Tim Heuer <tim@timheuer.com>
Co-authored-by: Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com>
Co-authored-by: James Newton-King <james@newtonking.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fundamentals Content related to fundamentals. preview-5 Used to track doc updates for preview 5 of .NET Aspire
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants