Sha256: c87fe8a1ded258c96b67176b2968b8c1f162606a067201463e6cd3b45acb5dc5
Contents?: true
Size: 441 Bytes
Versions: 28
Compression:
Stored size: 441 Bytes
Contents
require "json" module Skylight module Normalizers module CouchPotato class Query < Normalizer register "couch_potato.load" register "couch_potato.view" CAT = "db.couch_db.query".freeze def normalize(_trace, name, payload) description = payload[:name] if payload name = name.sub("couch_potato.", "") [CAT, name, description] end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems