You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stefan Kneidl (@sharpSteff) can you elaborate a little more on the scenario here? Are you focussed on the local dev loop, or a hosted dashboard? What about data that's missed while the dashboard is offline/restarting?
Drew Noakes (@drewnoakes) I would like to elaborate on this feature request, as it would be very beneficial for my use case.
Using the Standalone Aspire Dashboard, and having multiple microservices use OTEL to send data to this dashboard is vital for log aggregation and metrics.
However, server maintenance often requires patching and rebooting, which results in the loss of all data stored in memory by the Standalone Aspire Dashboard as mentioned here. This can be problematic for production scenarios.
This feature would help prevent the loss of log files during such reboots. While I don't expect the Standalone Aspire Dashboard to retain logs indefinitely, a grace period of 30-90 days would suffice for most production scenarios.
This feature would also prevent data loss when updating the Docker image, since that requires the container to be restarted.
I think this is the most reasonable reason to support for optionally persist telemetry, reboots. That said, we do not want to build a data storage model optimized for querying logs, metrics and traces. My thought is that we would support a best effort flushing telemetry to disk on graceful shutdown (or on some interval) to handle the survival of reboots/upgrades. This isn't a scalable persistent store optimized for queries (this is where real APM systems excel).
To be clear on the intent here:
This dashboard should be considered a "live view" of telemetry with a fixed buffer size (configurable).
There's no plan to build a scalable backend storage or pluggable storage engine for the dashboard.
If you have a large-scale system sending lots of telemetry to the dashboard likely won't work very well (large cluster with thousands of services sending telemetry). This is why most large scale APM systems separate collection and analytics.
This would not be pluggable storage, we write to disk. I'd like to avoid anything complex an extensible. You can mount a volume or copy that data blob if you need it to go elsewhere.
Reacted by Benjamin Mikkelsen, Jesús R. Méndez, stanwell, elfico, Fabio and Hamed Hasani
Benjamin Mikkelsen (@Drsela) sums it up quite nicely.
Aspire Dashboard is sufficient for my otlp usecase. I like to see the last couple of months of data and don't want to cry when my host has to restart.
I do not need separated otlp-collector and db to ensure every bit of data. I use it more like to show trends.
My thought is that we would support a best effort flushing telemetry to disk on graceful shutdown (or on some interval) to handle the survival of reboots/upgrades
This would be sufficient for our use case :-)
Right now we're using a self-developed dashboard that are reading NLog (rolling windows + 7 days) files and visualises them.
We also use Application Insights for 'true' APM .
Replacing our own dashboard with standalone Aspire would be awesome. And flusning the telemetry to disk on graceful shutdown would be a great way for us to migrate to standalone Aspire.
In your opinion, where's the line between this and a full blown APM? There's a level of scale we will never optimize for which I think is understood, but there's definitely an interesting small scale draw for having a simple to deploy all in one tool.
I can understand how any step in the direction of APM poses challenges technical, commercial (AppInsights), and to the project scope and focus. So what if the goal was simply to support deployment of the collector and dashboard as a sidecar or standalone container. Like a modern version of ELMAH. It would help with troubleshooting the new publishing providers and discrepancies between the system in dev and in production. It's a natural extension of Aspire's new deployment features without committing to anything beyond the current project scope.
I for one would love to integrate a little admin-only drawer on my site that proxied the dashboard so I can watch user activity in realtime and see how the resources are handling transition to their deployed homes.
📎 It's possible this is already possible, I just had little luck deploying the "standalone" dashboard on AWS (which,
commercially, would be a nice place to establish a little beachhead and only fair as they cheekily took the Application Insights name for their own overwrought apm system)
📎 Apologies in advance if ELMAH is already a modern version of ELMAH, just a good example of how a small scale troubleshooting extension provided value in the past.
The dashboard itself being the collector (something we don't plan to change in the short term) means it's the bottleneck for ingesting telemetry. There will be inherent limits to this model and why you pay $$$ for APM systems (they are really databases in disguise 😄). This will work fine for smaller deployments that or low traffic deployment that don't need a massively scalable telemetry system but want to onboard to open telemetry.
We also have plans to support recording state for test runs so we can replay them in the dashboard. Not exactly what this issue is asking for, but another reason to support saving/importing dashboard data.
Activity
drewnoakes commentedon May 23, 2024
Stefan Kneidl (@sharpSteff) can you elaborate a little more on the scenario here? Are you focussed on the local dev loop, or a hosted dashboard? What about data that's missed while the dashboard is offline/restarting?
Drsela commentedon May 23, 2024
Drew Noakes (@drewnoakes) I would like to elaborate on this feature request, as it would be very beneficial for my use case.
Using the Standalone Aspire Dashboard, and having multiple microservices use OTEL to send data to this dashboard is vital for log aggregation and metrics.
However, server maintenance often requires patching and rebooting, which results in the loss of all data stored in memory by the Standalone Aspire Dashboard as mentioned here. This can be problematic for production scenarios.
This feature would help prevent the loss of log files during such reboots. While I don't expect the Standalone Aspire Dashboard to retain logs indefinitely, a grace period of 30-90 days would suffice for most production scenarios.
This feature would also prevent data loss when updating the Docker image, since that requires the container to be restarted.
I wrote to David Fowler (@davidfowl) on LinkedIn and he mentioned that there are currently no short-term plans for long-term storage ;-)
davidfowl commentedon May 24, 2024
I think this is the most reasonable reason to support for optionally persist telemetry, reboots. That said, we do not want to build a data storage model optimized for querying logs, metrics and traces. My thought is that we would support a best effort flushing telemetry to disk on graceful shutdown (or on some interval) to handle the survival of reboots/upgrades. This isn't a scalable persistent store optimized for queries (this is where real APM systems excel).
To be clear on the intent here:
sharpSteff commentedon May 24, 2024
Benjamin Mikkelsen (@Drsela) sums it up quite nicely.
Aspire Dashboard is sufficient for my otlp usecase. I like to see the last couple of months of data and don't want to cry when my host has to restart.
I do not need separated otlp-collector and db to ensure every bit of data. I use it more like to show trends.
davidfowl commentedon May 24, 2024
How are you going to get trends with the dashboard? We're not adding those features.
sharpSteff commentedon May 24, 2024
I added myself a custom sub-page presenting the data
mitchdenny commentedon May 24, 2024
Are you running a fork of the dashboard?
Drsela commentedon May 26, 2024
This would be sufficient for our use case :-)
Right now we're using a self-developed dashboard that are reading NLog (rolling windows + 7 days) files and visualises them.
We also use Application Insights for 'true' APM .
Replacing our own dashboard with standalone Aspire would be awesome. And flusning the telemetry to disk on graceful shutdown would be a great way for us to migrate to standalone Aspire.
15 remaining items
[-]Aspire Dashboard - Persist telemetry data[/-]jakenuts commentedon May 20, 2025
I can understand how any step in the direction of APM poses challenges technical, commercial (AppInsights), and to the project scope and focus. So what if the goal was simply to support deployment of the collector and dashboard as a sidecar or standalone container. Like a modern version of ELMAH. It would help with troubleshooting the new publishing providers and discrepancies between the system in dev and in production. It's a natural extension of Aspire's new deployment features without committing to anything beyond the current project scope.
I for one would love to integrate a little admin-only drawer on my site that proxied the dashboard so I can watch user activity in realtime and see how the resources are handling transition to their deployed homes.
📎 It's possible this is already possible, I just had little luck deploying the "standalone" dashboard on AWS (which,
commercially, would be a nice place to establish a little beachhead and only fair as they cheekily took the Application Insights name for their own overwrought apm system)
📎 Apologies in advance if ELMAH is already a modern version of ELMAH, just a good example of how a small scale troubleshooting extension provided value in the past.
davidfowl commentedon May 20, 2025
We will ship some minimal persistence model that will not scale to large deployments within the next few releases.
wertzui commentedon May 20, 2025
I'm very glad to hear that 😄
Would you mind sharing where you are (roughly) drawing the line between large-scale and non-large-scale deployments?
davidfowl commentedon May 20, 2025
The dashboard itself being the collector (something we don't plan to change in the short term) means it's the bottleneck for ingesting telemetry. There will be inherent limits to this model and why you pay $$$ for APM systems (they are really databases in disguise 😄). This will work fine for smaller deployments that or low traffic deployment that don't need a massively scalable telemetry system but want to onboard to open telemetry.
We also have plans to support recording state for test runs so we can replay them in the dashboard. Not exactly what this issue is asking for, but another reason to support saving/importing dashboard data.
jgador commentedon Apr 12, 2026
I wrote an article on how I modified the aspire dashboard and use elasticsearch to persist the logs: https://www.linkedin.com/pulse/send-logs-aspire-dashboard-elasticsearch-jesse-gador-jmybc/