Allow adding tags in wp-config #112
jonatcorus
started this conversation in
Ideas
Replies: 1 comment
-
I think this would be a nice addition, I'm thinking that maybe there is more I want to expose through a Thanks for requesting this! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be useful to be able to add tags in the wp-config. This could be used by automated deploy systems for adding metadata to a specific deployment. I'm not sure of the best way this would be done. It could be through a define such as
define('WP_SENTRY_TAGS', '{"tag1": "val1", "tag2": "val2"}');
or a define with a PHP arraydefine('WP_SENTRY_TAGS', ["tag1" => "val1", "tag2" => "val2"]);
It would then get picked up along with the default tags herewp-sentry/src/class-wp-sentry-php-tracker.php
Lines 181 to 185 in 697d72d
Beta Was this translation helpful? Give feedback.
All reactions