Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

See https://pricefx.atlassian.net/wiki/spaces/KB/pages/3862691926/Job+Trigger+Calculations#Parameters-size-limitation for limitation on script/parameters size.

Monitoring

Monitoring of triggered job is possible in Grafana, filtering by pricefx_heartbeat_task_id see: Job trigger calculation in /wiki/spaces/EN/pages/4120346722.

To add additional logs on model-by-model basis, attach to the model file

View file
namemonitoring.json
containing:

Code Block
{
    "rest_calls": true
}

REST requests and responses will be logged to the console, this means they can be found in Grafana.
To add the file, go to the model > click on ... in top right corner > Attachments > Upload.


pyfx Python API

From inside the Python script, the pyfx module is available to interact with the partition.

...