🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@haathie/postgraphile-otel

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@haathie/postgraphile-otel

OpenTelemetry plugin for PostGraphile

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
104
13.04%
Maintainers
1
Weekly downloads
 
Created
Source

Postgraphile OTEL Plugin

OpenTelemetry plugin for PostGraphile, providing tracing capabilities for GraphQL requests. This plugin traces:

  • Errors in GraphQL requests
  • Operation Planning
  • Step Execution

Installation & Usage

Install:

npm i @haathie/postgraphile-otel

Add to your PostGraphile config:

import { OTELPlugin } from '@haathie/postgraphile-otel';

const preset: GraphileConfig.Preset = {
	...otherOptions,
	plugins: [
		OTELPlugin,
		...otherPlugins,
	],
}

Of course, this assumes you have OpenTelemetry set up in your application. If you don't, you can refer to the OpenTelemetry documentation for guidance on how to set it up. For reference, you can refer to our example application's tracing

An example trace looks like this in Jaeger: Example Trace

FAQs

Package last updated on 14 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts