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

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

Summary

Functions

Build a connection struct for connecting to Grafana.

Types

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

Functions

Link to this function

build(finch_process, map)

View Source
@spec build(finch_process :: module(), grafana_config :: map()) :: t()

Build a connection struct for connecting to Grafana.