Sha256: f44a62dd2a76776b6e89fb876a21b35ae458d0f79294c8678b61b67b496954e2
Contents?: true
Size: 529 Bytes
Versions: 11
Compression:
Stored size: 529 Bytes
Contents
require 'ddtrace/ext/net' require 'ddtrace/contrib/redis/ext' 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 Ext::TAG_DB, client.db span.set_tag Ext::TAG_RAW_COMMAND, span.resource end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems