mirror of
https://github.com/clearml/clearml-serving
synced 2025-02-24 13:12:21 +00:00
Merge pull request #26 from thepycoder/bugfix/variable_value_mixup
Changed variable type to value
This commit is contained in:
commit
c51e2d402e
@ -67,7 +67,7 @@ def func_metric_add(args):
|
||||
name = v.strip()
|
||||
if name in metric.metrics:
|
||||
print("Warning: {} defined twice".format(name))
|
||||
metric.metrics[name] = dict(type="variable", buckets=None)
|
||||
metric.metrics[name] = dict(type="value", buckets=None)
|
||||
|
||||
if not request_processor.add_metric_logging(metric=metric):
|
||||
raise ValueError("Could not add metric logging endpoint {}".format(args.endpoint))
|
||||
|
Loading…
Reference in New Issue
Block a user