Generate a Proxy API Token in the Studio
In order for the Proxy to talk to the Fiberplane Studio successfully it needs to be successfully authorized. This step will generate a Proxy API Token that will be needed later.
- Go to your Fiberplane Settings page.
+ New Proxyto register a proxy with a name that identifies the cluster you will install it into (for example, "Production"). This will generate and display a Proxy API Token that the proxy will use to authenticate with the Fiberplane Studio.
- Copy the Proxy API Token generated in Step 2 for the next step.
Deploy using Docker
- Make sure you have Docker installed: https://docs.docker.com/get-docker/
- Create a
data_sources.yamlin the current directory in the following format:
# data_sources.yaml # # Replace the following line with the name of the data source - name: prometheus-prod description: Prometheus (Production) providerType: prometheus config: # Replace the following line with your Prometheus URL url: http://prometheus
3. Run the following command replacing
<PROXY_API_TOKEN>with the Proxy API Token created earlier:
docker run \ -v "$PWD/data_sources.yaml:/app/data_sources.yaml" \ fiberplane/proxy:v2 \ --token=<PROXY_API_TOKEN>
Once you complete your Proxy setup, your data sources linked in the Proxy configuration should be recognized by the Studio - you can verify this again by going to the Settings > Data Sources screen.👇