Sha256: 91473be78d0a0ce672c9ebb9cd73297c09f8e2ff4ea2c60830c61caa927e03bf
Contents?: true
Size: 517 Bytes
Versions: 4
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true module OpenTracing module Instrumentation module Common # Build operation name by template and tags class OperationNameBuilder def initialize(operation_name_template:) @operation_name_template = operation_name_template end # build operation name with tags def build(tags) format(operation_name_template, **tags) end private attr_reader :operation_name_template end end end end
Version data entries
4 entries across 4 versions & 1 rubygems