Commit 1b151f35 authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'tweak-sql-buckets' into 'master'

Add a 10 ms bucket for SQL timings

See merge request gitlab-org/gitlab-ce!20527
parents 00cf8773 81d8ddf8
---
title: Add a 10 ms bucket for SQL timings
merge_request:
author:
type: changed
...@@ -20,7 +20,7 @@ module Gitlab ...@@ -20,7 +20,7 @@ module Gitlab
define_histogram :gitlab_sql_duration_seconds do define_histogram :gitlab_sql_duration_seconds do
docstring 'SQL time' docstring 'SQL time'
base_labels Transaction::BASE_LABELS base_labels Transaction::BASE_LABELS
buckets [0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0] buckets [0.01, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0]
end end
def current_transaction def current_transaction
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment