Skip to content

Commit 6812c0f

Browse files
authored
Merge pull request #1115 from rughh/chore/add_whitelabel_id_to_appsignal_context
chore: add whitelabel id to appsignal context
2 parents defb558 + d2dd79d commit 6812c0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/lib/whitelabel_detection_middleware.rb

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ def call(env)
99
Whitelabel.reset!
1010
request = ActionDispatch::Request.new(env)
1111
Whitelabel.label = detect_label(request)
12+
Appsignal.add_tags(label: Whitelabel.label.label_id)
1213
@app.call(env)
1314
end
1415

0 commit comments

Comments
 (0)