Add tag support to the bash-hook send event command
Hey!
I'm using sentry-cli to track issues in my deployment scripts ran on the AWS Amplify Console. I have a .yml file where I setup Sentry CLI and run the eval "$(sentry-cli bash-hook --cli 'sentry-cli ...')" command to setup sentry in the runner.
It works fine, but I want to add extra data to the errors and I tought I could use Sentry Tags using the -t parameter, but I found that there's no way I can send parameters to the bash-hook command, located in the src/bashsupport.sh script.
I tried to add this feature request by my own, I forked the repo but to be honest I don't have any experience in Rust for building packages. So I will appreciate if somebody could add this simple but important feature.
Can you describe your usecase more broadly? It's indeed not possible right now, however, because it's a generic bash hook, you'd get the same tag for every captured error within your script.
I'm asking, because we already do support environment and release values, and I wonder if maybe that's what you are looking for?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Hey, we're also looking for this feature! please merge #1398!
Our use case is in a CI environment, where runners of different types execute our build/test scripts and may fail on runner problems. We want to use Tags to help find patterns (runner type/platform/location). Extra may be used to add specific information (ip address, runner id). I.e, we need more slots to fit more pieces of information. environment and release are not enough...