For each deployment version, you can access and review the deployment logs from your deployment endpoints. This helps you keep track of activities and troubleshoot any issues.
Additionally, you have the option to collect additional metrics from your deployments by simply printing JSON data from your deployment endpoint. Valohai will automatically gather these metrics and enable you to visualize them in both time series and histogram formats.
To ensure that Valohai recognizes the metrics you want to chart, wrap those data structures in a JSON format like this:
import json
print(json.dumps({"vh_metadata": {"accuracy": 0.9247000813484192, "best_guess": "dog"}}))
By following this format, you can easily identify and chart the specific outputs you wish to monitor in your deployment.