© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago
Shiv

Need help to configure grafana dashboard

Hi team,
I am following the steps given in https://github.com/dotnet/aspire-samples/blob/main/samples/Metrics/README.md to setup grafana dashboard. but in the startup.cs of the MetricsApp.AppHost project, the following line is giving error :

builder.AddProject<Projects.MetricsApp>("app")
.WithEnvironment("GRAFANA_URL", grafana.GetEndpoint("grafana-http"));

the type or namespace MetricsApp doesnot exist.

but it has the project reference in it.

Any sugestions.
GitHub
aspire-samples/samples/Metrics/README.md at main · dotnet/aspire-sa...
Contribute to dotnet/aspire-samples development by creating an account on GitHub.
aspire-samples/samples/Metrics/README.md at main · dotnet/aspire-sa...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Need help
C#CC# / help
17mo ago
NEED HELP
C#CC# / help
17mo ago
need help
C#CC# / help
3y ago
✅ Need Help
C#CC# / help
3y ago