cancel
Showing results for 
Search instead for 
Did you mean: 

PPS Environment Variables

shh
Image Sensor

PPS Environment Variables

Hi. I'm trying to do external deployment using PPS Image and I was looking at the documentation here https://docs.datarobot.com/en/docs/mlops/deployment/deploy-pred/portable-pps.html#external-configura... to configure the environment variables for my container. Any idea how to set this variable PREDICTION_API_MONITORING_SETTINGS ?

Labels (1)
1 Solution

Accepted Solutions
ccozzi
DataRobot Alumni

Hi, these refer to parameters which are used to configure the monitoring agent.  If the agent is running internal to the PPS (MONITORING_AGENT="True"), it could be set like:

 

PREDICTION_API_MONITORING_SETTINGS="spooler_type=filesystem;directory=/tmp;max_files=50;file_max_size=102400000;model_id=<MODEL_ID>;deployment_id;=<DEPLOYMENT_ID>"

 

If the agent is running externally, it would be more specific to the desired channel.  The environment variables for these other channels are located  here: https://docs.datarobot.com/en/docs/mlops/deployment/mlops-agent/spooler.html.

View solution in original post

2 Replies
ccozzi
DataRobot Alumni

Hi, these refer to parameters which are used to configure the monitoring agent.  If the agent is running internal to the PPS (MONITORING_AGENT="True"), it could be set like:

 

PREDICTION_API_MONITORING_SETTINGS="spooler_type=filesystem;directory=/tmp;max_files=50;file_max_size=102400000;model_id=<MODEL_ID>;deployment_id;=<DEPLOYMENT_ID>"

 

If the agent is running externally, it would be more specific to the desired channel.  The environment variables for these other channels are located  here: https://docs.datarobot.com/en/docs/mlops/deployment/mlops-agent/spooler.html.

Excellent! Thank you for the response 😊