SRE

SRE

237 bookmarks
Custom sorting
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 (@hschne@ruby.social)
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 (@hschne@ruby.social)
Anthony Accioly (@anthony@accioly.social)
Anthony Accioly (@anthony@accioly.social)
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 (@anthony@accioly.social)
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
Improve visibility into Amazon Bedrock usage and performance with Amazon CloudWatch | Amazon Web Services
Improve visibility into Amazon Bedrock usage and performance with Amazon CloudWatch | Amazon Web Services
In this blog post, we will share some of capabilities to help you get quick and easy visibility into Amazon Bedrock workloads in context of your broader application. We will use the contextual conversational assistant example in the Amazon Bedrock GitHub repository to provide examples of how you can customize these views to further enhance visibility, tailored to your use case. Specifically, we will describe how you can use the new automatic dashboard in Amazon CloudWatch to get a single pane of glass visibility into the usage and performance of Amazon Bedrock models and gain end-to-end visibility by customizing dashboards with widgets that provide visibility and insights into components and operations such as Retrieval Augmented Generation in your application.
·aws.amazon.com·
Improve visibility into Amazon Bedrock usage and performance with Amazon CloudWatch | Amazon Web Services
James O'Gorman (@jamesog@mastodon.social)
James O'Gorman (@jamesog@mastodon.social)
Huh, TIL jq ships as /usr/bin/jq in macOS Sequoia % /usr/bin/jq --version jq-1.6-159-apple-gcff5336-dirty (Couldn't they have cleaned it? 😄)
·mastodon.social·
James O'Gorman (@jamesog@mastodon.social)
Chris Heilmann (@codepo8@toot.cafe)
Chris Heilmann (@codepo8@toot.cafe)
Attached: 1 image Just discovered https://httpstat.us which returns a HTTP response you request. You can request by number, like: httpstat.us/404 Randomly from a range and/or list: httpstat.us/random/400-410,202,200 And you can set a timeout in ms: httpstat.us/200?sleep=3000
·toot.cafe·
Chris Heilmann (@codepo8@toot.cafe)