EpicFail4Ever commented on issue #65136:
URL: https://github.com/apache/airflow/issues/65136#issuecomment-4238008640

   > setting the variables with this env var names worked for us:
   > 
   > this are correct:
   > 
   > ```
   > AIRFLOW__SENTRY__SENTRY_ON
   > AIRFLOW__SENTRY__SENTRY_DSN
   > ```
   > 
   > For the environment setting it like so w/o airflow worked for us (not sure 
if its a bug):
   > 
   > ```
   > SENTRY_ENVIRONMENT
   > ```
   > 
   > for `AIRFLOW__SENTRY__DEBUG` not too sure
   
   For envs : 
   - The `SENTRY_ENVIRONMENT` is used for us to distinguish 
local/staging/demo/prod environments. 
   - `AIRFLOW__SENTRY__SENTRY_DSN` and `AIRFLOW__SENTRY__DSN` are used the same 
way in config parsing
   - `AIRFLOW__SENTRY__DEBUG` let you see some info on the process with error 
logs (cf. image bellow)
   
   <img width="653" height="329" alt="Image" 
src="https://github.com/user-attachments/assets/dc421790-9303-4b22-b1c6-416b88e22ff1";
 />
   
   As seen in the image, the sentry session is setup, an error is generated and 
the session is flushed with no event catch.
   
   I just linked a PR my thoughts on the feature behavior.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to