SRE

SRE

277 bookmarks
Custom sorting
Julia Evans: Flowchart of how Bash decides which file to load bashrc or bash_profile
Julia Evans: Flowchart of how Bash decides which file to load bashrc or bash_profile
Attached: 1 image i enjoy this flowchart explaining how bash decides whether to use .bashrc or .bash_profile https://blog.flowblok.id.au/2013-02/shell-startup-scripts.html, mostly because it makes me understand better why I could never understand how the 2 config files worked when I used bash
·social.jvns.ca·
Julia Evans: Flowchart of how Bash decides which file to load bashrc or bash_profile
Stop Logging the Request Body!
Stop Logging the Request Body!
With more and more people adopting OpenTelemetry and specifically using the tracing signal, I’ve seen an uptick in people wanting to add the entire request and response body as an attribute. This isn’t ideal, as it wasn’t when people were logging the body as text logs. In this blog post, I’ll explain why this is a bad idea, what are the pitfalls, and more importantly, what you should do instead.
·honeycomb.io·
Stop Logging the Request Body!
Hans Schnedlitz (@hschne@ruby.social)
Hans Schnedlitz (@[email protected])
Attached: 2 images Last week, I learned about default gems in Ruby with asdf. These are gems that you want to install whenever you install a new #ruby version. It turns out that default packages work with languages other than Ruby, too! Here's how to do it in #golang and #python.
·ruby.social·
Hans Schnedlitz (@[email protected])
Anthony Accioly (@anthony@accioly.social)
Anthony Accioly (@[email protected])
Good evening, folks. TIL that Go 1.24.0 has updated its runtime/debug package to automatically stamp apps with a version or pseudo-version at build time based on VCS information. No need for complex build pipeline steps to inject version constants anymore. Just tag a release appropriately in Git and use 𝚍𝚎𝚋𝚞𝚐.𝙱𝚞𝚒𝚕𝚍𝙸𝚗𝚏𝚘.𝙼𝚊𝚒𝚗.𝚅𝚎𝚛𝚜𝚒𝚘𝚗 in your code. https://github.com/golang/go/issues/50603#issuecomment-2181188811 This is a great feature that many people may have missed in the release notes: https://tip.golang.org/doc/go1.24#:~:text=information.-,The,changes. #go #golang
·accioly.social·
Anthony Accioly (@[email protected])
Alibaba, Datadog, and Quesma Join Forces on Go Compile-Time Instrumentation
Alibaba, Datadog, and Quesma Join Forces on Go Compile-Time Instrumentation
Standards are only useful if they’re widely adopted, and adoption is only effective if the available tooling facilitates it. I imagine SI units would not have been too popular when they were introduced if you had to build your own scales to weigh things in Kilograms! If you use OpenTelemetry in Go, you’ll be familiar with the challenges of configuring instrumentation libraries to automatically generate telemetry from well-known open source components. Due to the compiled nature of the language, you currently have two options1:
·opentelemetry.io·
Alibaba, Datadog, and Quesma Join Forces on Go Compile-Time Instrumentation
Overhauling PagerDuty’s data model: a better way to route alerts | Blog
Overhauling PagerDuty’s data model: a better way to route alerts | Blog
PagerDuty has long been the go-to solution for reliable on-call management, but its aging data model and lack of innovation have become a challenge. In this post we explore how incident.io On-call offers a better, more flexible approach to alert routing and provide practical advice on how to migrate smoothly from PagerDuty.
·incident.io·
Overhauling PagerDuty’s data model: a better way to route alerts | Blog