3 ms·
One of my biggest problems was the local development story. I wanted logs, traces and metrics support locally but didn’t want to spin up a multitude of Docker i
by junto 2y ago
One of my biggest problems was the local development story. I wanted logs, traces and metrics support locally but didn’t want to spin up a multitude of Docker images just to get that to work. I wanted logs to be able to check what my metrics, traces, baggage and activity spans look like before I deploy.
Recently, the .NET team launched .NET Aspire and it’s awesome. Super easy to visualize everything in one place in my local development stack and it acts as an orchestrator as code.
Then when we deploy to k8s we just point the OTEL endpoint at the DataDog Agent and everything just works.
We just avoid the DataDog custom trace libraries and SDK and stick with OTEL.
Now it’s a really nice development experience.
https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/dashboard/overview?tabs=bash https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals...
https://docs.datadoghq.com/opentelemetry/#overview https://docs.datadoghq.com/opentelemetry/#overview
- Thaxll 2y agoThere are official all-in-one docker image that have everything.
- masterj 2y agoThere's also https://github.com/CtrlSpice/otel-desktop-viewer https://github.com/CtrlSpice/otel-desktop-viewer
- rochacon 2y ago> I wanted logs, traces and metrics support locally but didn’t want to spin up a multitude of Docker images just to get that to work. This project is really nice for that https://github.com/grafana/docker-otel-lgtm https://github.com/grafana/docker-otel-lgtm
- pdimitar 2y agoJust use https://github.com/openobserve/openobserve https://github.com/openobserve/openobserve. Takes 5 minutes to set it up locally on your dev machine the first time, from then on you can just have a separate terminal tab where you simply run `/path/to/openobserve` and that's it. They also offer a Docker image for local and remote running as well, if you don't want to have the grand complexity of a single statically-linked binary. :P It's an all-in-one fully compliant OpenTelemetry backend with pretty graphs. I love it for my projects, hasn't failed me in any detectable way yet.
- WuxiFingerHold 2y agoI'm not convinced by .NET Aspire. It solves a small problem (service discovery and orchestration for local development of multi service projects). But it solves this by making service discovery and orchestration an application level concern. With Aspire you needlessly add complexity at the app level and get locked into a narrow ecosystem. There are many proven alternatives like docker compose for local development. Aspire is not even that much if at all easier than using docker compose and env vars.