Skip to content

Commit

Permalink
Rm consume_through_ignored_count
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Oct 31, 2023
1 parent 94e3057 commit bc7de9f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
16 changes: 0 additions & 16 deletions solarwinds_apm/apm_meter_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,22 +110,6 @@ def consume_sample_count(
callbacks=[consume_sample_count],
)

def consume_through_ignored_count(
options: CallbackOptions,
) -> Iterable[Observation]:
(
status,
trace_count,
) = self.oboe_settings_api.consumeThroughIgnoredCount()
yield Observation(trace_count, {"status": status})

self.consume_through_ignored_count = (
self.meter_request_counters.create_observable_gauge(
name="trace.service.consume_through_ignored_count",
callbacks=[consume_through_ignored_count],
)
)

def consume_through_trace_count(
options: CallbackOptions,
) -> Iterable[Observation]:
Expand Down
3 changes: 0 additions & 3 deletions solarwinds_apm/apm_noop.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,6 @@ def consumeTraceCount(self):
def consumeSampleCount(self):
return 0, 0

def consumeThroughIgnoredCount(self):
return 0, 0

def consumeThroughTraceCount(self):
return 0, 0

Expand Down

0 comments on commit bc7de9f

Please sign in to comment.