Skip to content

Missing prometheus metrics

Created by: slimsag

This is a list of metrics that do not exist and would be helpful in debugging customer issues:

  • # of repositories that are indexed, unindexed, indexing
  • repo cloning
    • # of repositories that are cloning -> src_gitserver_clone_queue
    • # of repositories that have cloned since gitserver started -> src_gitserver_clone_queue
    • # of repositories that are not cloned on the instance overall
    • # of repositories that are cloned on the instance overall
  • Total memory & CPU available to container/host-machine in sourcegraph/server deployments
  • Network / disk IO in sourcegraph/server deployments
  • # of HTTP requests made to Sourcegraph by status code (src_http_request_duration_seconds is a histogram and has src_http_request_duration_seconds_count)
  • # of GraphQL requests made by (type, field) -- current histogram doesn't cover this
  • # of searches hitting zoekt vs. searcher
  • # of symbol searches hitting zoekt vs. symbols
  • # of diff/commit searches
  • # of searches hitting indexed vs. unindexed branches