Example #1
0
 ///
 /// <summary>Adds a tag to the current context (relative to this client). This call is not thread-safe.</summary>
 /// <param name='tag'>New tag to add to the Riemann events sent using this client.</param>
 ///
 public IDisposable Tag(string tag)
 {
     lock (_tagLock) {
         _tag = new RiemannTags(this, _tag, tag);
         return(_tag);
     }
 }
Example #2
0
 public RiemannTags(Client owner, RiemannTags underlying, string tag)
 {
     _owner = owner;
     _underlying = underlying;
     _tag = tag;
 }
Example #3
0
 ///
 /// <summary>Adds a tag to the current context (relative to this client). This call is not thread-safe.</summary>
 /// <param name='tag'>New tag to add to the Riemann events sent using this client.</param>
 ///
 public IDisposable Tag(string tag)
 {
     lock (_tagLock) {
         _tag = new RiemannTags(this, _tag, tag);
         return _tag;
     }
 }
Example #4
0
 public RiemannTags(Client owner, RiemannTags underlying, string tag)
 {
     _owner      = owner;
     _underlying = underlying;
     _tag        = tag;
 }