Documentation ¶
Overview ¶
package useragent provides a consistent way to get a user agent for outbound http requests from Grafana Agent. The default User-Agent is `GrafanaAgent/$VERSION($MODE)` Where version is the build version of the agent and MODE is one of "static" or "flow".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeployMode ¶ added in v0.38.1
func GetDeployMode() string
GetDeployMode returns our best-effort guess at the way Grafana Agent was deployed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.