Show / Hide Table of Contents

Class TracerExtensions

Extension methods for working with ActorTracing

Inheritance
object
TracerExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phobos.Tracing
Assembly: Phobos.Tracing.dll
Syntax
public static class TracerExtensions

Fields

NoOpActivitySource

Declaration
public static readonly ActivitySource NoOpActivitySource
Field Value
Type Description
ActivitySource

NoOpTracer

Used in instances where no traces are produced.

Declaration
public static readonly Tracer NoOpTracer
Field Value
Type Description
Tracer

Methods

IsNullOrEmpty(in SpanContext)

Determines if this OpenTelemetry.Trace.SpanContext is a no-op.

Declaration
public static bool IsNullOrEmpty(this in SpanContext span)
Parameters
Type Name Description
SpanContext span

The context to evaluate.

Returns
Type Description
bool

true if this context is usable, false otherwise.

IsNullOrEmpty(TelemetrySpan)

Determines if the given span is null or default.

Declaration
public static bool IsNullOrEmpty(this TelemetrySpan span)
Parameters
Type Name Description
TelemetrySpan span

The span.

Returns
Type Description
bool

true if the span is null or empty.

In this article

Phobos®

APM for Akka.NET Applications

© 2025 Petabridge®

All rights reserved

Product
  • Purchase Phobos
  • Contact Sales
  • Phobos Quick Start Guide
  • Phobos Features
  • API Documentation
  • Release Notes
Resources
  • Akka.NET Documentation
  • Petabridge Blog
  • Akka.NET Support Plans
  • Akka.NET Consulting Services
  • Akka.NET Training
Connect
  • Petabridge Website
  • GitHub
  • Twitter
  • LinkedIn
  • YouTube
  • Contact Us
Privacy Policy
Built with ♥ by Petabridge