Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophRose authored Apr 21, 2020
1 parent fc6b93b commit f9c73cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/python/python_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class ModelWithMetrics(object):

Note: prior to Seldon Core 1.1 custom metrics have always been returned to client. From SC 1.1 you can control this behaviour setting `INCLUDE_METRICS_IN_CLIENT_RESPONSE` environmental variable to either `true` or `false`. Despite value of this environmental variable custom metrics will always be exposed to Prometheus.

Prior to Seldon Core 1.1 not implementing custom metrics logs a message at the info level at each predict call. Starting with Seldon Core this is logged at the debug level. To supress this warning implement a metrics function returning an empty list:
Prior to Seldon Core 1.1.0 not implementing custom metrics logs a message at the info level at each predict call. Starting with Seldon Core 1.1.0 this is logged at the debug level. To supress this warning implement a metrics function returning an empty list:

```python
def metrics(self):
Expand All @@ -154,7 +154,7 @@ class ModelWithTags(object):
return {"system":"production"}
```

Prior to Seldon Core 1.1 not implementing custom tags logs a message at the info level at each predict call. Starting with Seldon Core this is logged at the debug level. To supress this warning implement a tags function returning an empty dictionary:
Prior to Seldon Core 1.1.0 not implementing custom tags logs a message at the info level at each predict call. Starting with Seldon Core 1.1.0 this is logged at the debug level. To supress this warning implement a tags function returning an empty dictionary:

```python
def metrics(self):
Expand Down

0 comments on commit f9c73cd

Please sign in to comment.