Skip to content

Commit

Permalink
fix(server): service_name label of runner metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
bojiang committed Sep 16, 2022
1 parent bf1e8b5 commit 57fbb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bentoml_cli/worker/runner.py
Expand Up @@ -110,7 +110,7 @@ def main(

# setup context
if service.tag is None:
component_context.bento_name = f"{service.__class__}"
component_context.bento_name = f"{service.__class__.__name__}"
component_context.bento_version = "not available"
else:
component_context.bento_name = service.tag.name
Expand Down

0 comments on commit 57fbb5d

Please sign in to comment.