Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
 public ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     _tags[tag.Key] = value;
     return(this);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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));
        }
Ejemplo n.º 7
0
 public ISpan SetTag(IntOrStringTag tag, string value)
 {
     SetObjectTag(tag.Key, value);
     return(this);
 }
Ejemplo n.º 8
0
 public ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     return(WithTag(tag.Key, value));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 11
0
 ISpanBuilder ISpanBuilder.WithTag(IntOrStringTag tag, string value)
 {
     return(WithTag(tag, value));
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 14
0
 public ISpan SetTag(IntOrStringTag tag, string value)
 {
     return(SetTag(tag.Key, value));
 }
Ejemplo n.º 15
0
 public ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 16
0
 public ISpan SetTag(IntOrStringTag tag, string value)
 {
     return(this);
 }
Ejemplo n.º 17
0
 public virtual ISpanBuilder WithTag(IntOrStringTag tag, string value)
 {
     _tagsApplies.Add(s => s.SetTag(tag, value)); return(this);
 }
Ejemplo n.º 18
0
 public ISpan SetTag(IntOrStringTag tag, string value)
 {
     Tags.Add(tag.Key, value);
     return(this);
 }
Ejemplo n.º 19
0
 public global::OpenTracing.ISpan SetTag(IntOrStringTag tag, string value)
 {
     return(SetTag(tag.Key, value));
 }