Skip to content

Commit

Permalink
fixup! typo in class name
Browse files Browse the repository at this point in the history
  • Loading branch information
timmc-edx committed Jul 10, 2024
1 parent 8e4828c commit 58b1e27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions edx_arch_experiments/datadog_diagnostics/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
log = logging.getLogger(__name__)


class MissingSpanProccessor:
class MissingSpanProcessor:
"""Datadog span processor that logs unfinished spans at shutdown."""
spans_started = 0
spans_finished = 0
Expand Down Expand Up @@ -41,10 +41,10 @@ class DatadogDiagnostics(AppConfig):
def ready(self):
try:
from ddtrace import tracer # pylint: disable=import-outside-toplevel
tracer._span_processors.append(MissingSpanProccessor()) # pylint: disable=protected-access
log.info("Attached MissingSpanProccessor for Datadog diagnostics")
tracer._span_processors.append(MissingSpanProcessor()) # pylint: disable=protected-access
log.info("Attached MissingSpanProcessor for Datadog diagnostics")
except ImportError:
log.warning(
"Unable to attach MissingSpanProccessor for Datadog diagnostics"
"Unable to attach MissingSpanProcessor for Datadog diagnostics"
" -- ddtrace module not found."
)

0 comments on commit 58b1e27

Please sign in to comment.