View Source PromEx.GrafanaClient.Connection (PromEx v1.9.0)

This struct encapsulates all of the data necessary to connect to a Grafana instance.

Link to this section Summary

Functions

Build a connection struct for connecting to Grafana.

Link to this section Types

Specs

t() :: %PromEx.GrafanaClient.Connection{
  authorization: String.t(),
  base_url: String.t(),
  finch_process: module()
}

Link to this section Functions

Link to this function

build(finch_process, map)

View Source

Specs

build(finch_process :: module(), grafana_config :: map()) :: t()

Build a connection struct for connecting to Grafana.