mirror of https://github.com/mastodon/mastodon
Reduce number of metric labels (#34223)
This commit is contained in:
parent
936d3a7de9
commit
d232fa5b14
|
@ -14,10 +14,8 @@ module Mastodon
|
|||
obj = {
|
||||
type: 'web',
|
||||
queue_time: queue_time,
|
||||
default_labels: default_labels(env, result),
|
||||
default_labels: {},
|
||||
}
|
||||
labels = custom_labels(env)
|
||||
obj = obj.merge(custom_labels: labels) if labels
|
||||
|
||||
@client.send_json(obj)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue