Run Locally
📍Note
This option is suggested for testing purposes. If you intend to run the Proxy in production, it is strongly recommended to install it in your production cluster (see instructions above).
Download the Proxy and Providers
Choose your architecture and download the files. Keep them in a single folder (simply unzip the downloaded file).
Generate a fpd
API Token in the Studio
fpd
API Token in the StudioIn order for the fpd
to talk to the Fiberplane Studio successfully it needs to be successfully authorized. This step will generate a fpd
API Token that will be needed later.
- Go to your Fiberplane Settings page.
- Click
+ New
to register anfpd
with a name that identifies the cluster you will install it into (for example, "Production"). This will generate and display anfpd
API Token that the proxy will use to authenticate with the Fiberplane Studio. - Copy the
fpd
API Token generated in Step 2 for the next step.
Create a data_sources.yaml
file
data_sources.yaml
fileCreate a data_sources.yaml configuration file in the same folder as the Proxy binary. Using the format below add the data sources you want to connect Fiberplane with:
# 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
Run the fpd
fpd
Run the fpd
executable passing in the previously created token as an argument.
./fpd --token <FPD_API_TOKEN>
Once you complete your fpd
setup, your data sources linked in the fpd
configuration should be recognized by the Studio - you can verify this again by going to the Settings > Data Sources screen.👇
Updated 5 months ago