Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/datadog-instrumentations/src/helpers/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ module.exports = {
'pino-pretty': () => require('../pino'),
playwright: () => require('../playwright'),
'playwright-core': () => require('../playwright'),
postgres: { esmFirst: true, fn: () => require('../postgres') },
'promise-js': () => require('../promise-js'),
promise: () => require('../promise'),
protobufjs: () => require('../protobufjs'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const registry = [
{ instrumentations: require('./instrumentations/modelcontextprotocol-sdk') },
{ instrumentations: require('./instrumentations/openai-agents') },
{ instrumentations: require('./instrumentations/playwright') },
{ instrumentations: require('./instrumentations/postgres') },
{ activate: true, instrumentations: require('./instrumentations/postgres') },
{ instrumentations: require('./instrumentations/webdriverio') },
{ instrumentations: require('./instrumentations/aws-durable-execution-sdk-js') },
{ activate: true, instrumentations: require('./instrumentations/supabase') },
Expand Down
7 changes: 0 additions & 7 deletions packages/datadog-instrumentations/src/postgres.js

This file was deleted.

4 changes: 3 additions & 1 deletion packages/dd-trace/test/plugins/plugin-structure.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ const missingInstrumentationHooks = [
'fetch', // fetch is provided by Node.js, and is automatically instrumented if it exists
'langchain',
'langgraph',
'postgres',
'supabase',
]

const hooklessOrchestrionPlugins = new Set(['azure-cosmos', 'bullmq', 'langchain', 'langgraph', 'supabase'])
const hooklessOrchestrionPlugins = new Set(['azure-cosmos', 'bullmq', 'langchain', 'langgraph', 'postgres', 'supabase'])

function extractPluginIds (source, re, index) {
const ids = new Set()
Expand Down Expand Up @@ -200,6 +201,7 @@ describe('Plugin Structure Validation', () => {
'@supabase/storage-js',
'bullmq',
'mercurius',
'postgres',
]

for (const name of names) {
Expand Down
Loading