The End of Date Libraries? Exploring JavaScript's Built-in Temporal API

5 min read

1209 words

Working with date objects in Javascript can be quite a pain. That is why I usually use a library like date-fns for comparing, adding hours to my dates or working with dates and times in general.

The TC39, which is the group of people who develop the definition of JavaScript, is working on the Temporal API. You can check out the proposal and documentation here.

With this, we no longer need date libraries, because the API itself is a breeze to work with.

Continue reading →

Using Environment Variables in Datadog Agent Configuration

1 min read

209 words

Hey there, 👋

I needed to set up a Datadog agent to check remote Postgres instances as a regular container. All the documentation I found was about injecting secrets like passwords or hostnames via Kubernetes secrets. This seemed to be the only way to do it besides using Docker Swarm secrets. Since I had to set up a container definition for AWS ECS Fargate, neither of these options were available. So I wanted to see if I could use "regular" environment variables from which the agent could pull the secrets on startup.

Continue reading →