Affected by GO-2022-0305
and 1 other vulnerabilities
GO-2022-0305 : Instance config inline secret exposure in Grafana in github.com/grafana/agent
GO-2024-3170 : Grafana Agent (Flow mode) on Windows has Unquoted Search Path or Element vulnerability in github.com/grafana/agent
Discover Packages
github.com/grafana/agent
pkg
client
grafanacloud
package
Version:
v0.20.1
Opens a new window with list of versions in this module.
Published: Dec 8, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package grafanacloud provides an interface to the Grafana Cloud API.
Client is a grafanacloud API client.
NewClient creates a new Grafana Cloud client. All requests made will be
performed using the provided http.Client c. If c is nil, the default
http client will be used instead.
apiKey will be used to authenticate against the apiURL.
AgentConfig generates a Grafana Agent config from the given stack.
The config is returned as a string in YAML form.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.