Datadog APM monitor trace count discrepancy

You may run into a case when your Datadog APM monitor, configured for trace counting, shows weird, usually low number of traces, compared to Trace Overview section. Look at this monitor: It shows 4 spans: However, Trace Overview shows 28 spans/traces for the same time range: The main question here: why? There is a tool […]

READ MORE

Datadog + Spring Boot QuickStart

First things first, we can generate the starter project using https://start.spring.io/. Select these dependencies: Then, using documentation here we should set API Key, Application Key and Datadog URI in application.properties file: You can get your API Key and Datadog URI from startup Datadog screen: By the way, Datadog has a trial period. Application Key can […]

READ MORE

AWS EventBridge Rule AND operator

In this article you’ll find an answers to these questions: Suppose you want to use two checks for a specific field. Consider the following test event: After some struggling, you may end up with a rule that looks something like this: At a glance, this rule should match events only when event field custom looks […]

READ MORE

AWS EventBridge Rule Emulator

Suppose you have to develop an AWS EventBridge Rule. Most likely, you want to test it with a bunch of edge-cases. It might be the case when actual event emission is not very easy or you really want to know your event work correctly before deploy. All you need to do is make use of […]

READ MORE

gRPC transport and channel providers

Let’s discuss some details around that how gRPC manages transport providers. Remember, that we have two closely related concepts in gRPC: If you didn’t familiar with NameResolvers, I strongly encourage you to peruse previous part of our narrative here: https://mchesnavsky.tech/name-resolution-providers. This article will be about the latter. Alright, we should elaborate, that a gRPC channel […]

READ MORE

gRPC name resolution providers

We have something special today. It all started with that I updated grpc-java version from 1.43.2 to 1.60.0. Alright, I just updated dependency and anticipated it working. However, I run into exception on ManagedChannel build at the client side: Exception I got looks like this: Another modifications: If you’re looking for the simplest & quickest […]

READ MORE

JDK invalid target release

Suppose we just run into this error: And you use IntelliJ IDEA. The thing is that you need to double check at least four places that you have chosen the proper JDK version. Step #1 First things first, make sure that you have JDK 21 selected under File -> Project Settings -> Project -> SDK: […]

READ MORE

Golang pgconn.errTimeout context canceled

Suppose you just received the following error: during database operation attempts in your Go app. Obviously, the first thing you need to check is your query, its performance, and timeout values. You might miss some index creations, etc. If everything is ok with your query and it’s working well and constantly faster than that timeout […]

READ MORE

How to manually give app permissions MacOS

In this article you’ll find the answers to these questions: Some MacOS versions have pretty annoying bug, which is that applications just don’t requesting necessary permissions. Option #1. Install last system updates First things first, you need to double check that you have the most recent MacOS version. If you already have, or if you […]

READ MORE