Recommended Resource Attributes
We strongly recommend that you set the service.version
and deployment.environment
resource attributes, when configuring your SDKs. These correspond directly to the “Release” and “Release stage” properties in error monitoring and using the exact same values (including matching casing) will result in a better experience in your dashboard. Release stage will default to production
in BugSnag if you do not set a deployment.environment
attribute.
These attributes can be set in code, or you can set them using the OTEL_RESOURCE_ATTRIBUTES
environment variable: