# `PromEx.DashboardUploader`
[🔗](https://github.com/akoutmos/prom_ex/blob/master/lib/prom_ex/dashboard_uploader.ex#L1)

This GenServer is responsible for uploading the configured PromEx module
dashboards to Grafana. This is a transient process and will terminate after
the dashboards have been successfully uploaded. It requires the name of the
PromEx module as an option so that it can look into the application
config for the appropriate Grafana settings. For example, if the name of the
PromEx module is `WebApp.PromEx`, then your config should provide the following
settings:

```elixir
config :web_app, WebApp.PromEx,
  grafana_host: "<YOUR HOST ADDRESS>",
  grafana_auth_token: "<YOUR GRAFANA AUTH TOKEN>"
```

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_link`

```elixir
@spec start_link(opts :: keyword()) :: GenServer.on_start()
```

Used to start the DashboardUploader process

---

*Consult [api-reference.md](api-reference.md) for complete listing*
