mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
refactor(dbQueryTimeHistogram): get rid of labelNames and buckets
This commit is contained in:
parent
ac9bdfde62
commit
a81bc57961
1 changed files with 0 additions and 2 deletions
|
|
@ -71,6 +71,4 @@ export const dbAvailableConnectionsGauge = new Gauge({
|
||||||
export const dbQueryTimeHistogram = new Histogram({
|
export const dbQueryTimeHistogram = new Histogram({
|
||||||
name: 'db_query_duration_seconds',
|
name: 'db_query_duration_seconds',
|
||||||
help: 'Duration of database queries',
|
help: 'Duration of database queries',
|
||||||
labelNames: ['method'],
|
|
||||||
buckets: [3, 6, 9],
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue