Coder Social home page Coder Social logo

rosalieper / analytics-wmde-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wikimedia/analytics-wmde-scripts

1.0 1.0 0.0 337 KB

Github mirror of "analytics/wmde/scripts" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Shell 4.27% PHP 95.40% TSQL 0.33%

analytics-wmde-scripts's Introduction

analytics/wmde/scripts

This repo contains a bunch of scripts collecting data for the WMDE development teams.

This repo is cloned in the statistics::wmde role in the wmf puppet repo.

Deployment

The master branch is a development branch. The production branch is automatically deployed and run on WMF analytics servers.

Configuration

Some of the social scripts require configuration settings to work.

These should be stored in a file called 'config' in the directory above the directory of this repo. The config keys and values are delimited with spaces.

The file should look something like the below:

mm-wikidata-pass password1
mm-wikidatatech-pass password2
mm-user [email protected]
dump-dir /tmp/dumps
wdqs_host http://wdqs1005.eqiad.wmnet:8888

Scripts execution time limit

All scripts have a maximum execution time set to one hour, after which if they are not done they fail automatically. The time limit is globaly set in lib/scriptsTimeLimit.php and included in all the scripts through lib/load.php. For reasons to this, see: T243894

Graphite

Metrics are currently stored in the following paths in graphite:

wikidata.*
daily.wikidata.*

The paths to statsd.eqiad.wmnet and graphite.eqiad.wmnet are hardcoded everywhere.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.