Company
Open Source
Mission & Values
Getting Started
Overview
Fullstack Mapping
Backend / Server
Frontend / Client
Fullstack Frameworks
Session Replay
Console Messages
HTML iframe Recording
Identifying Users
Live Mode
Network DevTools
Privacy
Rage Clicks
Recording Network Requests and Responses
Session Sharing
Session Shortcut
Tracking Events
Versioning Sessions
Error Monitoring
Error Sharing
Grouping Errors
Sourcemaps
Versioning Errors
Product Features
Alerts
Analytics
Canvas
Comments
Cross Origin Iframe Recording
Digests
Environments
Frontend Observability
Keyboard Shortcuts
Performance Data
Segments
Session Search
Team Management
User Feedback
Web Vitals
WebGL
Integrations
Amplitude Integration
Clearbit Integration
ClickUp Integration
Discord Integration
Electron Support
Front Plugin
Height Integration
Intercom Integration
Linear Integration
Mixpanel Integration
React.js Integration
Segment Integration
Sentry Integration
Slack Integration
Vercel Integration
highlight.run Changelog
5.0.0
5.0.1
5.1.0
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.1.6
5.1.7
5.1.8
5.2.0
5.2.1
5.2.2
5.2.3
Tips
Content-Security-Policy
Local Development
Monkey Patches
Performance Impact
Proxying Highlight
Session Search Deep Linking
Troubleshooting
Upgrading Highlight
Menu
Apollo Server
Highlight ships @highlight-run/node
with a plugin ApolloServerHighlightPlugin
specifically for the apollo server.
The plugin will trace graphql resolver errors and report them to Highlight.
Usage
The usage of the Apollo plugin requires the Node.js integration to be configured.
Ensure that @highlight-run/node
updated to version 2.2.0 or greater. Then, add ApolloServerHighlightPlugin
to
your ApolloServer
plugins definition.
import {ApolloServerHighlightPlugin} from '@highlight-run/node'; // ... const server = new ApolloServer({ typeDefs, resolvers, plugins: [ApolloServerHighlightPlugin({projectID: 'YOUR_PROJECT_ID'})] });
Verify
To validate your Highlight backend setup, you can have a graphql resolver throw an error and check that the error is visible on app.highlight.io.