• nutomicOPA
    link
    fedilink
    arrow-up
    4
    ·
    4 years ago

    I’m completely new to Grafana, how do I get requests per second? But also, all the api calls go over websocket, requests per second will really just show when static files are loaded, which isn’t that important.

    • Aeolun
      link
      fedilink
      arrow-up
      3
      ·
      4 years ago

      Maybe nginx has a stat for data transferred over websockets? Otherwise I guess active connection count makes most sense.

    • pfuender
      link
      fedilink
      arrow-up
      3
      ·
      4 years ago

      Depends on your datasource. e.g. Netdata exports several metrics for prometheus:

      • netdata_netdata_pythond_runtime_ms_average
      • netdata_nginx_connections_connections_average
      • netdata_nginx_connection_status_connections_average
      • netdata_nginx_connect_rate_connections_persec_average
      • netdata_nginx_requests_requests_persec_average
      • netdata_services_mem_usage_MiB_average
      • nutomicOPA
        link
        fedilink
        arrow-up
        1
        ·
        4 years ago

        I’m using influxdb and telegraf, it has none of those. Guess I could give you access to Grafana if you’re interested in playing around with the configuration.

        @Aeolun@lemmy.ml