Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AgentCompatibilityMatrix = []string{
"v0.14.0",
"v0.15.0",
"v0.16.1",
"v0.17.0",
"v0.18.0",
"v0.18.1",
"v0.18.2",
"v0.18.3",
"v0.18.4",
"v0.19.0",
"v0.20.0",
"v0.20.1",
"v0.21.0",
"v0.21.1",
"v0.21.2",
"v0.22.0",
"v0.23.0",
"v0.24.0",
"v0.24.1",
"v0.24.2",
}
DefaultAgentVersion = AgentCompatibilityMatrix[len(AgentCompatibilityMatrix)-1]
DefaultAgentBaseImage = "grafana/agent"
DefaultAgentImage = DefaultAgentBaseImage + ":" + DefaultAgentVersion
)
Supported versions of the Grafana Agent.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
LogLevel logging.Level
LogFormat logging.Format
Labels promop.Labels
Controller controller.Options
AgentSelector string
KubelsetServiceName string
// RestConfig used to connect to cluster. One will be generated based on the
// environment if not set.
RestConfig *rest.Config
}
Config controls the configuration of the Operator.
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
apis
|
|
Package assets contains helper types used for loading in static assets when configuring the Grafana Agent.
|
Package assets contains helper types used for loading in static assets when configuring the Grafana Agent. |
Package config generates Grafana Agent configuration based on Kubernetes resources.
|
Package config generates Grafana Agent configuration based on Kubernetes resources. |
Package hierarchy provides tools to discover a resource hierarchy.
|
Package hierarchy provides tools to discover a resource hierarchy. |
Package logutil implements an adaptor for the go-kit logger, which is used in the Grafana Agent project, and go-logr, which is used in controller-runtime.
|
Package logutil implements an adaptor for the go-kit logger, which is used in the Grafana Agent project, and go-logr, which is used in controller-runtime. |
Click to show internal directories.
Click to hide internal directories.