Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

  1. Download and install InfluxDB from https://influxdata.com/downloads/#influxdb for your platform


  2. Create a user and a database for TC in InfluxDB using the Influx CLI and executing the commands below

    Bloque de código
    languagesql
    themeConfluence
    CREATE DATABASE worldserver
    CREATE USER grafana WITH PASSWORD 'grafana'
    GRANT READ ON worldserver TO grafana


...

Bloque de código
languagecpp
themeConfluence
titleExamples
linenumberstrue
// Registering player logins: in WorldSession::HandlePlayerLogin(LoginQueryHolder* holder)
TC_METRIC_EVENT("player_events", "Login", pCurrChar->GetName());
 
// Logging the update diff time: in World::Update(uint32 diff)
TC_METRIC_VALUE("update_time_diff", diff);

...


Additional visualizations and metrics collection

...