Skip to content

Commit

Permalink
Add docs about Services and metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelldi committed Dec 30, 2023
1 parent 1214395 commit 375e415
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/aspire.tree
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@

<toc-element topic="starter-topic.md"/>
<toc-element topic="run-configuration.md"/>
<toc-element topic="dashboard.md"/>
<toc-element topic="metrics.md"/>
<toc-element topic="troubleshooting.md"/>
</instance-profile>
Binary file added docs/images/metrics.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/metrics_dark.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/services.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/services_dark.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/topics/dashboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Dashboard

The plugin can display a basic dashboard for your dotnet projects.
To enable it, go to **Settings | Tools | Aspire** and enable **Show projects in the Services tool window** option.

![Aspire Services tool window](services.jpg){ width="700" }
7 changes: 7 additions & 0 deletions docs/topics/metrics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Metrics

The plugin can display a metrics table and chart for your dotnet projects.
To enable it, go to **Settings | Tools | Aspire** and enable **Show projects in the Services tool window** and
**Collect OpenTelemetry data** options.

![Aspire metrics chart](metrics.jpg){ width="750" }
3 changes: 2 additions & 1 deletion docs/topics/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ host. To do this, go to
the [plugin directory](https://www.jetbrains.com/help/rider/Directories_Used_by_the_IDE_to_Store_Settings_Caches_Plugins_and_Logs.html#plugins-directory).
Then open the `aspire-plugin/aspire-session-host/appsettings.json` file. This is a default
aspnetcore [configuration file](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-8.0#configure-logging).
Then change the level of the **Default** and **AspireSessionHost** categories.
Then change the level of the **Default** and **AspireSessionHost** categories. The updated logs will be reported to the
IDE logs.

```json
{
Expand Down

0 comments on commit 375e415

Please sign in to comment.