Company
Product Features
Session Replay
Error Monitoring
General Features
Logging
Tracing
Metrics
Integrations
Grafana Integration
Highlight.io Changelog
Menu
Environments
Environments can be assigned to sessions and errors by setting the environment option in H.init(). With the assignment, you can know search and filter sessions and errors based on the environment they come from.
Environments are also used to determine whether Alerts are created.
Example
H.init('<YOUR_PROJECT_ID>', { environment: process.env.ENVIRONMENT, })