예제 #1
0
        /// <inheritdoc />
        public ISpan SetTag(IntOrStringTag tag, string value)
        {
            if (string.IsNullOrWhiteSpace(tag.Key))
            {
                throw new ArgumentNullException(nameof(tag.Key));
            }

            return(SetObjectTag(tag.Key, value));
        }
예제 #2
0
 public ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     _tags[tag.Key] = value;
     return(this);
 }
예제 #3
0
 public ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     return(this);
 }
 public ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     _tags.Add(tag.Key, value);
     return(this);
 }
예제 #5
0
 public ISpan SetTag(IntOrStringTag tag, string value) => SetTagAsObject(tag.Key, value);
        public override EventHookSpanBuilder WithTag(IntOrStringTag tag, string value)
        {
            var newTags = this.tagsOnStart.Add(new SetTagEventArgs(tag.Key, value));

            return(new EventHookSpanBuilder(this.tracer, this.operationName, this.spanLog, this.spanSetTag, newTags, this.parentSpanContext, this.ignoreActiveSpan));
        }
예제 #7
0
 public ISpan SetTag(IntOrStringTag tag, string value)
 {
     SetObjectTag(tag.Key, value);
     return(this);
 }
예제 #8
0
 public ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     return(WithTag(tag.Key, value));
 }
예제 #9
0
 public override CvTextWriterSpan SetTag(IntOrStringTag tag, string value)
 {
     this.OutputData(OutputDataCategory.Tag, $"{tag.Key}: \"{value}\"");
     return(this);
 }
 /// <inheritdoc />
 public ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     return(tag == null ? this : SetTagObject(tag.Key, value));
 }
예제 #11
0
 ISpanBuilder ISpanBuilder.WithTag(IntOrStringTag tag, string value)
 {
     return(WithTag(tag, value));
 }
예제 #12
0
 public ISpan SetTag(IntOrStringTag tag, string value) => SetTagInternal(tag.Key, value);
 public override EventHookSpan SetTag(IntOrStringTag tag, string value)
 {
     this.spanSetTag(this, new SetTagEventArgs(tag.Key, value));
     return(this);
 }
예제 #14
0
 public ISpan SetTag(IntOrStringTag tag, string value)
 {
     return(SetTag(tag.Key, value));
 }
예제 #15
0
 public ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     throw new NotImplementedException();
 }
예제 #16
0
 public ISpan SetTag(IntOrStringTag tag, string value)
 {
     return(this);
 }
예제 #17
0
 public virtual ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     _tagsApplies.Add(s => s.SetTag(tag, value)); return(this);
 }
예제 #18
0
 public ISpan SetTag(IntOrStringTag tag, string value)
 {
     Tags.Add(tag.Key, value);
     return(this);
 }
예제 #19
0
 public global::OpenTracing.ISpan SetTag(IntOrStringTag tag, string value)
 {
     return(SetTag(tag.Key, value));
 }