Skip to content

Commit

Permalink
Add FIXMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Nov 10, 2021
1 parent 9849e14 commit a11e273
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opentelemetry-sdk/src/opentelemetry/sdk/metrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,17 @@ def force_flush(self) -> bool:
return metric_reader_result and metric_exporter_result

def register_metric_reader(self, metric_reader: "MetricReader") -> None:
# FIXME protect this method against race conditions
self._metric_readers.append(metric_reader)

def register_metric_exporter(
self, metric_exporter: "MetricExporter"
) -> None:
# FIXME protect this method against race conditions
self._metric_exporters.append(metric_exporter)

def register_view(self, view: "View") -> None:
# FIXME protect this method against race conditions
self._views.append(view)


Expand Down

0 comments on commit a11e273

Please sign in to comment.