connect.metrics.usage
connect.metrics.usage
Usage resources.
Classes
Name | Description |
---|---|
Usage | Usage resource. |
UsageEvent |
Usage
connect.metrics.usage.Usage(self, params)
Usage resource.
Methods
Name | Description |
---|---|
find | Find view events. |
find_one | Find a view event. |
find
connect.metrics.usage.Usage.find(**kwargs)
Find view events.
Returns
Name | Type | Description |
---|---|---|
List[UsageEvent] |
find_one
connect.metrics.usage.Usage.find_one(**kwargs)
Find a view event.
Returns
Name | Type | Description |
---|---|---|
UsageEvent | None |
UsageEvent
connect.metrics.usage.UsageEvent(self, /, params, **kwargs)
Attributes
Name | Description |
---|---|
bundle_id | The bundle id associated with the visit. |
content_guid | The associated unique content identifier. |
data_version | The data version. |
ended | The visit timestamp. |
path | The path requested by the user. |
rendering_id | The render id associated with the visit. |
started | The visit timestamp. |
user_guid | The associated unique user identifier. |
variant_key | The variant key associated with the visit. |
Methods
Name | Description |
---|---|
from_event | |
from_shiny_usage_event | |
from_visit_event |
from_event
connect.metrics.usage.UsageEvent.from_event(event)
from_shiny_usage_event
connect.metrics.usage.UsageEvent.from_shiny_usage_event(event)
from_visit_event
connect.metrics.usage.UsageEvent.from_visit_event(event)