Sha256: eb191ef98b84937508ff93127b23f062310e2757934acb5f6c4cc555265e9b41
Contents?: true
Size: 441 Bytes
Versions: 16
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
16 entries across 16 versions & 1 rubygems