Documentation ¶
Index ¶
- func ExporterFactory(name, endpoint string, insecure bool, urlpath string, ...) (metric.Exporter, error)
- func NewGCP(headers map[string]string) (metric.Exporter, error)
- func NewOTLP(endpoint string, insecure bool, urlpath string, headers map[string]string, ...) (metric.Exporter, error)
- func NewOTLPGrpc(endpoint string, insecure bool, headers map[string]string) (metric.Exporter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExporterFactory ¶
func ExporterFactory(name, endpoint string, insecure bool, urlpath string, headers map[string]string, protocol string) (metric.Exporter, error)
ExporterFactory - Create meter exporter according to given params
func NewGCP ¶ added in v1.1.8
NewGCP creates a new Google Cloud metric exporter with optional headers for credentials and project ID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.