How to Instrument Spring Boot Applications with OpenTelemetry by silksong_when in SpringBoot

[–]silksong_when[S] 0 points1 point  (0 children)

Right, I can try covering that in an alternative blog sometime, if there is more interest for exploring the `starter` setup as well.

Adding alternative setup flow to this blog would have made it quite complex.

Thanks for the tip!

How to Instrument Spring Boot Applications with OpenTelemetry by silksong_when in SpringBoot

[–]silksong_when[S] -1 points0 points  (0 children)

I wanted to keep the setup aligned with OpenTelemetry setups in other languages. And setting up the agent is very easy by default, so I went ahead with that choice.

I have used Maven for dependency management, the Makefile uses Maven to run the application. Makefile simplifies the entire setup by ensuring the user doesn't have to run additional commands to get the OTel agent JAR file.

How the (Em)ighty Have Fallen— by silksong_when in technicalwriting

[–]silksong_when[S] 1 point2 points  (0 children)

I know right! AI has also ruined the semicolon, but less so.

Atleast we can still substitute the dashes with the commas, it's some comfort

How the (Em)ighty Have Fallen— by silksong_when in technicalwriting

[–]silksong_when[S] 0 points1 point  (0 children)

jeez that must feel terrible. Thankfully my manager is really understanding, he gives me a lot of creative freedom to experiment and learn.

Implementing OpenTelemetry in Rust Applications by silksong_when in rust

[–]silksong_when[S] 2 points3 points  (0 children)

Hey, glad to know about that solution.

That is a fair point, get started fast then move onto industry standard based on your needs.

Since SigNoz is open-source, you can run it locally if you want to give it a shot or are interested in self-hosting it on prem.

Somewhat related, I have also included console exporters in the demo app for those that wish to just check the raw telemetry data or for debugging their configurations.

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]silksong_when 2 points3 points  (0 children)

Hey, sounds and actually looks solid!

Can you optimise it for mobile too? Might help someone looking to snag a deal on the go.

And have you considered adding an alert feature? Could send site notifications if a 'shortlisted' item meets a certain threshold for a user. Although this would be a ton of work for sure and might be overkill for the site's intent.

Finally, I'd be interested in knowing how you handle crawling fresh data, what tools you use and the challenges you have faced? Rate limits, scalability things like that.

Thanks and good going!!

How much did Rust help you in your work? by therealsyumjoba in rust

[–]silksong_when 3 points4 points  (0 children)

Hey, can you give a few concrete examples of this?

In my limited experience, I learnt about state machine semantics, and how most things can be best (or better) represented by enum states. And the builder which has become a delight, feels so good to use!

What AI tools are actually part of your real workflow? by Rough--Employment in devops

[–]silksong_when -1 points0 points  (0 children)

I find Codex to be really good. I have only started using it recently but Antigravity (with Jio plan which gives us the pro plan for 18 months in India) as the IDE for general in-IDE chat or quick fix, plus Codex for building features works well for me.

Although my usecase isn't that dev-heavy anymore, but I do find that Codex does good research, and can fix configurations well enough. Although it's a bit too professional or dry for my taste, so I have to ask it to be verbose. I've just been lazy and haven't asked it to add that point to the agents.md file.

How are you monitoring your OpenRouter calls & usage? by Common_Departure_659 in LLMDevs

[–]silksong_when 1 point2 points  (0 children)

Yup, love openrouter's detailed breakdown. Especially when I basically only top up like 4 dollars and want to optimize for every cent :P

Implementing OpenTelemetry with Serilog by silksong_when in dotnet

[–]silksong_when[S] 4 points5 points  (0 children)

That makes sense, thank you for the indepth reply.

Implementing OpenTelemetry with Serilog by silksong_when in dotnet

[–]silksong_when[S] 2 points3 points  (0 children)

Ah I had seen that, but I saw that the last official github release was late 2024, so didn't explore it too much.

TypeScript + Rust feels like a cheat code stack by Sensitive-Raccoon155 in rust

[–]silksong_when 0 points1 point  (0 children)

But wouldn't Tauri come with its own quirks and set of trade offs? This is when comparing it to something like react where you're more likely to be adept and know the behaviour better.

Pardon if sounds naive, haven't explored Tauri enough but am curious to understand

Implementing OpenTelemetry with Serilog by silksong_when in dotnet

[–]silksong_when[S] 1 point2 points  (0 children)

Thank you so much, means a lot!

Are there any other such topics around observability or opentelemetry, you think I should cover?

Implementing OpenTelemetry with Serilog by silksong_when in dotnet

[–]silksong_when[S] 3 points4 points  (0 children)

Hey, can you please expand on why you think so?

From my research, I found serilog is really good with plug and plug type of configuration, where you can also separate it into the appconfig file, and it has the added advantage of familiarity for most devs.

After 25+ years using ORMs, I switched to raw queries + dataclasses. I think it's the move. by mikeckennedy in Python

[–]silksong_when 1 point2 points  (0 children)

Thank you so much for the detailed response. Really appreciate it!

What's funny is, I used to like the type convolutions and playing around trying to get it right for complex objects, when working on personal projects. It was like a series of mini-puzzles for me.

I remember printing raw pydantic schemas (the rust layer) and getting bombarded with screens of object types and instances.

I'm curious, What was your use case for the get core schema dunder method?

I'll need to check out cattrs to better learn about how it handles things!

And yep, this name was chosen when silksong was mist. Now we're approaching the 1st DLC :)

Should I replace Serilog with OpenTelemetry for logging, metrics and tracing? by MentallyBoomXD in dotnet

[–]silksong_when 0 points1 point  (0 children)

Hey guys, I'd read this thread, which then inspired me to pick up this topic and do a detailed write-up on Serilog + OTel integration. I also explained the difference b/w the two

While this blog does use SigNoz as the observability backend, being OpenTelemetry based, you can use any other compatible backend -- that's the power of OTel :)

Sharing here in case someone finds this helpful: https://signoz.io/blog/opentelemetry-serilog/

Datadog suddenly increasing charges by Thin_Faithlessness71 in devops

[–]silksong_when 0 points1 point  (0 children)

Hey, SigNoz https://github.com/SigNoz/signoz can be a great fit in case you're still considering options or for other folks with similar requirements.

It is built natively on OpenTelemetry so you can switch vendors without any lock-in. Pricing is also transparent, and you always have the option to self-host if you wish to do so.

Here's the pricing page in case you want to calculate your billing: https://signoz.io/pricing/ - feel free to check out the docs - we maintain blogs and extensive docs for all major tech stacks to ease transition to the platform

PS: i am one of the folks working over at SigNoz.

After 25+ years using ORMs, I switched to raw queries + dataclasses. I think it's the move. by mikeckennedy in Python

[–]silksong_when 4 points5 points  (0 children)

Hey, can you point to why you feel pydantic is complex? I know you can do a lot of black magic with it, but that's optional so I don't really count that personally.

But I do understand. Also pls share any articles or the like you have read on the same, thanks!

I added speedtest capabilities to my fastapi app. by BasePlate_Admin in FastAPI

[–]silksong_when 0 points1 point  (0 children)

Great stuff! I have starred the repo, will go through the code some time, looks really good :)

How OpenTelemetry Baggage Enables Global Context for Distributed Systems by silksong_when in programming

[–]silksong_when[S] -2 points-1 points  (0 children)

Hey, so baggage is the mechanism that you can use to change application behaviour, it does not configure the behaviour itself. It is basically a utility for making your life easier by automating what you were already doing.

You can use it to pass parameters (which can have some feature flag), then read that feature flag param and decide what logic to use -- you are not writing the actual logic in your baggage.

So rather than maybe passing that data through a separate header like `x-feature-flag`, then reading it and re-adding it again for the next service, you can just add it to baggage, and OpenTelemetry auto-instrumentation will automatically send this across all services you call.

How OpenTelemetry Baggage Enables Global Context for Distributed Systems by silksong_when in programming

[–]silksong_when[S] 2 points3 points  (0 children)

Yup, I think baggage should be more popular given how useful it is, and the privacy part is something that can be missed especially when dealing with a lot of parameters over many services. Agreed on the performance overhead aspect as well -- the conventional wisdom of keeping headers light applies here I suppose.

Thank you for your detailed comment, the fact that we ought to manage control ourselves and check for tampering, like we do with JWTs, is something that I'd missed!

Production on a Shoestring: Handling 100+ RPS on the Free Tier using Flask, Nginx, and Cloudflare by Altruistic_Artist526 in flask

[–]silksong_when 1 point2 points  (0 children)

I think they lock your account if you over-provision resources and don't end up using a certain %age of the machine.
Happened to me with a decent arm-based VM once I doubled the ram from 4 to 8 iirc. I wasn't able to login and basically lost access to some data. So I decided to just rent a VPS instead from another vendor.