Verified Commit 556b2254 authored by Sean McGivern's avatar Sean McGivern 🔴
Browse files

Add feature category to context

This field is present in our metrics but not our logs, which is the
wrong way around: our logs should be a superset of our metric labels.
parent a0e8d58b
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ module Labkit
    CORRELATION_ID_KEY = "correlation_id"
    RAW_KEYS = [CORRELATION_ID_KEY].freeze
    KNOWN_KEYS = %w[user project root_namespace subscription_plan caller_id
                    related_class].freeze
                    related_class feature_category].freeze

    class << self
      def with_context(attributes = {})