---
title: "Discussion on \"I Put pg_stat_activity in My SQL Client — And Added a Kill Button\" | Hashnode"
description: "Discussion on \"I Put pg_stat_activity in My SQL Client — And Added a Kill Button\". It was 11:47 PM when the Datadog alert came in. API latency on /checkout had tripled. I SSH'd into the bastion, opened psql, and started typing the query I have typed a thousand times:\nSELECT pid, sta"
url: "https://hashnode.com/posts/i-put-pg-stat-activity-in-my-sql-client-and-added-a-kill-button/69d9e981c8e5007ddb5d981b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I Put pg\_stat\_activity in My SQL Client — And Added a Kill Button](https://rohithgilla.hashnode.dev/i-put-pg-stat-activity-in-my-sql-client-and-added-a-kill-button?utm_source=hashnode&utm_medium=feed)

It was 11:47 PM when the Datadog alert came in. API latency on /checkout had tripled. I SSH'd into the bastion, opened psql, and started typing the query I have typed a thousand times: SELECT pid, sta

Apr 11 · 7 min read · rohithgilla.hashnode.dev  
Read the article

## Written by

[Rohith Gilla](https://hashnode.com/@rohithgilla)

@rohithgilla

  
[View profile](https://hashnode.com/@rohithgilla)

One commit at a time :magic\_wand:

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
