Add subscription_plan and caller_id to ApplicationContext
It adds new attributes subscription_plan and caller_id. The subscription_plan can be "free", "bronze", "silver" or "gold", these are exclusively fetched from the given namespace (or the project if it's not given). The caller_id can be the controller action name if it's a regular Rails request, or the Grape route, when it's an API request. These new attributes will also be logged at Sidekiq logs, along the project, user and namespace.
Showing
... | @@ -302,7 +302,7 @@ gem 'sentry-raven', '~> 2.9' | ... | @@ -302,7 +302,7 @@ gem 'sentry-raven', '~> 2.9' |
gem 'premailer-rails', '~> 1.10.3' | gem 'premailer-rails', '~> 1.10.3' | ||
# LabKit: Tracing and Correlation | # LabKit: Tracing and Correlation | ||
gem 'gitlab-labkit', '0.8.0' | gem 'gitlab-labkit', '0.9.1' | ||
# I18n | # I18n | ||
gem 'ruby_parser', '~> 3.8', require: false | gem 'ruby_parser', '~> 3.8', require: false | ||
... | ... |
Please register or sign in to comment