Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Nov 25, 2023
1 parent 84d135c commit 34cc29e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/v1alpha2/metricsoperator/metrics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 2023 Lawrence Livermore National Security, LLC
# (c.f. AUTHORS, NOTICE.LLNS, COPYING)

import metricsoperator.metrics.addon as addons
import metricsoperator.metrics.app as apps
import metricsoperator.metrics.base as base
import metricsoperator.metrics.network as network
import metricsoperator.metrics.perf as perf
import metricsoperator.metrics.storage as storage
import metricsoperator.metrics.addon as addons

metrics = {
"io-sysstat": storage.io_sysstat,
Expand All @@ -27,6 +27,6 @@ def get_metric(name=None):
metric = metrics.get(name)
# If we don't have a matching metric, return base (for raw logs)
if not metric:
print(f'Warning: {name} is not a known metric, returning raw parser')
print(f"Warning: {name} is not a known metric, returning raw parser")
return base.MetricBase
return metric
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# (c.f. AUTHORS, NOTICE.LLNS, COPYING)

import re

from metricsoperator.metrics.base import MetricBase


Expand Down

0 comments on commit 34cc29e

Please sign in to comment.