• nutomicOPA
    link
    fedilink
    arrow-up
    2
    ·
    4 年前

    No idea, maybe it has something to do with websockets.

    • pfuender
      link
      fedilink
      arrow-up
      5
      ·
      4 年前

      Nice, Grafana is just awesome!

      You might want to check the number of requests/s (instead of active-connections) in Nginx - seems to be more meaningful to me.

      • nutomicOPA
        link
        fedilink
        arrow-up
        4
        ·
        4 年前

        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 年前

          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 年前

          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 年前

            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