In 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.
+ Newto register a proxy with a name that identifies the cluster you will install it into (for example, "Production"). This will generate and display a
fpdAPI Token that the proxy will use to authenticate with the Fiberplane Studio.
- Copy the
fpdAPI Token generated in Step 2 for the next step.
- 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
- Run the following command replacing
fpdAPI Token created earlier:
docker run \ -v "$PWD/data_sources.yaml:/app/data_sources.yaml" \ fiberplane/fpd:v2 \ --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 7 months ago