Hi all, I am trying to connect a instance of Ory Kratos which produces telemetry in otel format to a self hosted sentry instance using a custom otel collector built using the otel collector builder v0.110.0.
The custom collector is using v0.110.0 of the sentryexporter.
Thank you for your time maintaining this code and any help you can provide!
Steps to Reproduce
Run a collector using v0.110.0 of the sentryexporter
Send a otel trace generated by Ory kratos to the collector. An example is given below
Observe that the collector does not associate the issue in sentry with the correct environment
Sentry transaction is associated with the correct environment:
Issues as part of the transaction are not associated with the correct environment:
Expected Result
The issues in sentry are associated with the environment specified in the otel collector configuration
Actual Result
The issues in sentry are not associated with any environment
Collector version
v0.110.0
Environment information
Environment
OS: Alpine Linux
Compiler(if manually compiled): go 1.23.2
This might be an issue with how Ory is using the otel protocol but unfortunately I'm not experienced enough with tracing to know whether this is the case.
From what I've understood from the sentryexporters source code perhaps this line should also include a mapping of the environment from the sentryexporter config?
Component(s)
exporter/sentry
What happened?
Description
Hi all, I am trying to connect a instance of Ory Kratos which produces telemetry in otel format to a self hosted sentry instance using a custom otel collector built using the otel collector builder v0.110.0.
The custom collector is using v0.110.0 of the sentryexporter.
Thank you for your time maintaining this code and any help you can provide!
Steps to Reproduce
Run a collector using v0.110.0 of the sentryexporter
Send a otel trace generated by Ory kratos to the collector. An example is given below
trace.json trace.json
Observe that the collector does not associate the issue in sentry with the correct environment Sentry transaction is associated with the correct environment:
Issues as part of the transaction are not associated with the correct environment:
Expected Result
The issues in sentry are associated with the environment specified in the otel collector configuration
Actual Result
The issues in sentry are not associated with any environment
Collector version
v0.110.0
Environment information
Environment
OS: Alpine Linux Compiler(if manually compiled): go 1.23.2
OpenTelemetry Collector configuration
Log output
Additional context
This might be an issue with how Ory is using the otel protocol but unfortunately I'm not experienced enough with tracing to know whether this is the case.
From what I've understood from the sentryexporters source code perhaps this line should also include a mapping of the environment from the sentryexporter config?