chore: improve analytics (#11714)

* chore: improve analytics

* lint

* log more events, add note in UPDATING.md

* handling base class

* more events\!

* get ref through

* right before @expose

* fix context

* touchups
This commit is contained in:
Maxime Beauchemin
2020-11-25 08:45:02 -08:00
committed by GitHub
parent 9215a31fa2
commit 0504cf1a00
13 changed files with 229 additions and 50 deletions

View File

@@ -715,6 +715,9 @@ class Log(Model): # pylint: disable=too-few-public-methods
dttm = Column(DateTime, default=datetime.utcnow)
duration_ms = Column(Integer)
referrer = Column(String(1024))
path = Column(String(256))
path_no_int = Column(String(256))
ref = Column(String(256))
class FavStarClassName(str, Enum):