Sha256: c21d3d619cfda202c0d43b38ea223d3d7f65b2ecc8b6ddd1af60fff6d78a1299
Contents?: true
Size: 545 Bytes
Versions: 30
Compression:
Stored size: 545 Bytes
Contents
require 'ddtrace/ext/net' require 'ddtrace/ext/redis' module Datadog module Contrib module Redis # Tags handles generic common tags assignment. module Tags module_function def set_common_tags(client, span) span.set_tag Datadog::Ext::NET::TARGET_HOST, client.host span.set_tag Datadog::Ext::NET::TARGET_PORT, client.port span.set_tag Datadog::Ext::Redis::DB, client.db span.set_tag Datadog::Ext::Redis::RAW_COMMAND, span.resource end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems