- Legend makes use of grafonnet-lib.
- With grafonnet-lib, legend builds relevant dashboard files declaratively in jsonnet format on the basis of the provided input YAML manifest.
- And, it finally makes use of Grafana API to push those corresponding dashboards to the respective grafana endpoint (provided by the user in legend's initial configuration).