Skip to content

[Feature]: Time Zone set up in Telemetry$start_session #197

@cwilligv

Description

@cwilligv

Guidelines

  • I agree to follow this project's Contributing Guidelines.

Description

Add timezone optional parameter in telemetry$start_session so it applies to all the insertions done around the application.

Problem

I'm using telemetry on one of my apps but the runs in a different time zone from where I develop and from what I can see in the documentation, only using datastorage$insert() one can set up the timezone when recording an event. However, at the moment I'm using telemetry$start_session for the implementation which doens't have this parameter available.

Proposed Solution

telemetry$start_session(
    data_storage = [DataStorageLogFile](https://appsilon.github.io/shiny.telemetry/reference/DataStorageLogFile.html)$new(log_file_path = log_file_path),
    **tzone = "Chile/Continental"**
)

Alternatives Considered

Is it possible to only use the datastorage$insert() function instead of the start_session? this will require to write that line in every place one wants to log the event.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions