Frontend
JS SDK Configuration
Backend: Error Monitoring
Python
Backend: Logging
Hosting Providers
Backend: Tracing
Native OpenTelemetry
Fullstack Frameworks
Self Host & Local Dev
Menu
Highlight Docs
Company
Open Source
Product Features
Session Replay
Error Monitoring
Logging
Tracing
Integrations
Grafana Integration
Highlight.io Changelog
Getting Started
Frontend
JS SDK Configuration
Backend: Error Monitoring
Python
Backend: Logging
Hosting Providers
Backend: Tracing
Native OpenTelemetry
Fullstack Frameworks
Self Host & Local Dev
Versioning Sessions & Errors
When using highlight.io, it can be useful to know which version of your app a session or error is recorded on. highlight.io helps you by letting you tag which app version a session and error was recorded on.
To tag your sessions with a version, you can set the version
field in H.init()
.
import App from './App' import { H } from 'highlight.run' H.init('<YOUR_PROJECT_ID>', { version: process.env.REACT_APP_VERSION, }) ReactDOM.render(<App />, document.getElementById('root'))
Once setup, this version will then be rendered on both the error and session views.