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 .NET Aspire Dashboard as alternative observability stack #21

Merged

Conversation

ThorstenHans
Copy link
Contributor

This PR adds .NET Aspire Dashboard (Standalone Mode) as alternative observability stack.

Users can specify the --aspire flag as part of spin otel setup:

spin otel setup --aspire

Additionally, a new sub-command is added to spin otel open to open the Aspire Dashboard UI from the terminal:

spin otel open aspire

Fixes #19

Signed-off-by: Thorsten Hans <thorsten.hans@fermyon.com>
cmd/setup.go Outdated
if err := checkDocker(); err != nil {
return err
}

composeFile := path.Join(otelConfigPath, "compose.yaml")
fn := s.GetComposeFileName()
Copy link
Collaborator

Choose a reason for hiding this comment

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

The name fn here makes me think you're holding a function in this variable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed in 4dea516

cmd/stack.go Outdated
@@ -0,0 +1,30 @@
package cmd
Copy link
Collaborator

Choose a reason for hiding this comment

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

I feel like this might belong in a stack package under /internal/stack/stack.go or something like that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved Stack to internal/stack in 70cee1a

cmd/up.go Show resolved Hide resolved
Signed-off-by: Thorsten Hans <thorsten.hans@fermyon.com>
Signed-off-by: Thorsten Hans <thorsten.hans@fermyon.com>
@calebschoepp calebschoepp merged commit 2560f27 into fermyon:main Oct 10, 2024
7 checks passed
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.

Add support for using .NET Aspire Dashboard (Standalone) as alternative observability stack
2 participants