OpenShot Video Editor  2.0.0
Namespaces | Functions | Variables
metrics.py File Reference

This file sends anonymous application metrics and errors over HTTP. More...

Go to the source code of this file.

Namespaces

 metrics
 

Functions

def metrics.send_exception
 Send exception stacktrace over HTTP for tracking. More...
 
def metrics.send_metric
 Send anonymous metric over HTTP for tracking. More...
 
def metrics.track_exception_stacktrace
 Track an exception/stacktrace has occurred. More...
 
def metrics.track_metric_error
 Track an error has occurred. More...
 
def metrics.track_metric_event
 Track a GUI screen being shown. More...
 
def metrics.track_metric_screen
 Track a GUI screen being shown. More...
 
def metrics.track_metric_session
 Track a GUI screen being shown. More...
 

Variables

tuple metrics.libopenshot_version = openshot.GetVersion()
 
string metrics.linux_distro = "None"
 
string metrics.os_version = "X11; Linux %s"
 
dictionary metrics.params
 
tuple metrics.s = settings.get_settings()
 
string metrics.user_agent = "Mozilla/5.0 (%s) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
 
tuple metrics.v = platform.mac_ver()
 

Detailed Description

This file sends anonymous application metrics and errors over HTTP.

Author
Jonathan Thomas jonat.nosp@m.han@.nosp@m.opens.nosp@m.hot..nosp@m.org

LICENSE

Copyright (c) 2008-2018 OpenShot Studios, LLC (http://www.openshotstudios.com). This file is part of OpenShot Video Editor (http://www.openshot.org), an open-source project dedicated to delivering high quality video editing and animation solutions to the world.

OpenShot Video Editor is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

OpenShot Video Editor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenShot Library. If not, see http://www.gnu.org/licenses/.

Definition in file metrics.py.