def sanitized_tags
      @tags.select do |key, value|
        ALLOWED_TAG_KEY_TYPES.any? { |type| key.is_a? type } &&
          ALLOWED_TAG_VALUE_TYPES.any? { |type| value.is_a? type }
      end
    end
def sanitized_tags
      @tags.select do |key, value|
        ALLOWED_TAG_KEY_TYPES.any? { |type| key.is_a? type } &&
          ALLOWED_TAG_VALUE_TYPES.any? { |type| value.is_a? type }
      end
    end
Only keep tags if they meet the following criteria:
 * Key is a symbol or string with less then 100 chars
 * Value is a symbol or string with less then 100 chars
 * Value is an integer

 @see https://docs.appsignal.com/ruby/instrumentation/tagging.html