Skip to content

Setup Fiddler Configuration

View In Github

Install Fiddler Client

Here we will install the Fiddler Python package , as well as save the credentials in a file we'll call fiddler.ini. These credentials will be used in future sections to establish an API connection with our Fiddler instance.

This Python client is a powerful way to: - Upload the dataset and model to Fiddler - Ingest production events to Fiddler

This can be done from a Jupyter Notebook or any Python editor that you use to load data and build models.

!pip3 install fiddler-client

Create fiddler.ini File

Create the fiddler.ini file with fiddler url, org_id of your account and auth_token. These parameters are passed during FiddlerApi object instantiation. These are needed to communicate with Fiddler account which might be on Fiddler Managed Cloud or Onebox or On-premise Fiddler.

%%writefile fiddler.ini

url = http://host.docker.internal:4100
org_id = onebox
auth_token = YOUR_TOKEN_HERE

Initializing Connection With Fiddler Client

With the Fiddler client installed and credentials file created, we can now establish a connection to our Fiddler instance. We can establish this connection either by specifying our credentials directly, or by utilizing our fiddler.ini file.

import fiddler as fdl

# client = fdl.FiddlerApi(url=url, org_id=org_id, auth_token=auth_token)
client = fdl.FiddlerApi()
Back to top